Invalidate a specific date in a indicator

Forums ProRealTime English forum ProOrder support Invalidate a specific date in a indicator

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

    Hi

    If I want too invalidate a system after a specific date in a indicator how do I get it right in the system? If I do it like this the backtest shows different result with and without the “Aktiv”. Whats wrong??

     

    #166318

    Your indicator should be:

    Otherwise DATUM will never retain value 1.

     

    1 user thanked author for this post.
    #166322

    Thanks, missed that. But why do I get different backtest results when I use “Aktiv” in “TaPosition”?

    #166323

    If you are using very low TF’s, such as a few seconds, it might be that the period has canged, while you were modifying your code, so a different period will yield different results.

    In any case only the real code may be investigated.

     

    #166324

    I use 1h timeframe so thats not the problem.

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