daysForbiddenEntry – ASX

Forums ProRealTime English forum ProOrder support daysForbiddenEntry – ASX

Viewing 2 posts - 1 through 2 (of 2 total)
  • #48095

    Hello.

    I don’t want a strategy to run on Thursdays and Fridays on Australia ASX.
    When I insert the code “not daysForbiddenEntry” in to the strategy it still runs on Thursdays and Fridays. Yet when I use the same code on DAX then it does not open trades on Thursdays and Fridays.

    I assume it has to do with the difference in time zones.
    PRT platform and computer is set to UTC +2.

    How do I fix this please?
    Not just for ASX but for any other time zone.

    Sure most of you here knows this but for those that don’t know –
    Not all strategies performs well on all the days. One have to analyse the results in a spreadsheet to exclude some days.

     

    Thank you.

     

    #48407

    ProBacktest will always use the instrument time zones, whatever custom trading hours you have set on your chart. So to compare what is the current days of your chart and what ProBacktest is reading from the server, you could try to add this line in your code:

     

    1 user thanked author for this post.
Viewing 2 posts - 1 through 2 (of 2 total)
Similar topics:

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