Trading every 10. days of the month

Forums ProRealTime English forum ProOrder support Trading every 10. days of the month

Viewing 3 posts - 16 through 18 (of 18 total)
  • #177413

    Hello Roberto,
    thanks for the code, unfortunately I get errors again on exit.
    The trade is often closed 2 months later.
    TF 15 min.

    greetings
    Suffi

    #177448

    The code detects the selcted DAY when the chosen number is equal to a trading day OR when it wasn’t a trading day.

    But at 00:00 the system does NOT change the day (it is still the old day till 01:00am), so when the day changes, if it’s not exactly the chosen day, the day change is not recognized because DAY > YourDay, but DAY[1] is NOT < YourDay!

    This is the modified code:

    #177469

    Hello Roberto,
    great and thank you very much, now it works fine.

    Greetings
    Suffi

Viewing 3 posts - 16 through 18 (of 18 total)

Create your free account now and post your request to benefit from the help of the community
Register or Login