Date Indicator

Viewing 5 posts - 1 through 5 (of 5 total)
  • #30766

    Hi,

    When I try to put an indicator on a particular date, it shows up on wrong day (one day before in below example). Below is the code. Attached image shows, the indicator is showing on Mar 21 instead of Mar 22.

     

     

    #30771

    I have my TimeZone as UTC+00:00, which should be for Forex.

    #30847

    You should use OpenDate instead of Date in your code.

    #30863

    Hi Nicolas,

    Thanks, OpenDate works fine, but on Monday (Mar27 2017 it shows Sunday(Mar26 2017) date. I am suspecting as the forex market is really open few hrs on Sunday.

    How do we resolve this issue.

    #30884

    Hi!

    Unfortunately we can’t get around this issue in Proorder/Probacktest because Sundays are always included in the server side calculation of a backtest.

    Please feel free to suggest this as an improvement in the sticky thread.

    In the meantime we can only use visual indicators when data for weekends is turned off.

    1 user thanked author for this post.
Viewing 5 posts - 1 through 5 (of 5 total)

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