Indicator not returning the same value when used in a strategy

Forums ProRealTime English forum ProOrder support Indicator not returning the same value when used in a strategy

Viewing 3 posts - 1 through 3 (of 3 total)
  • #168267

    Sorry if this is a frequently asked question, I tried to search but couldn’t find the answer.

    So if I for example do the following line in a indicator and in a strategy, and output the result,

    I don’t get the same value in my indicator as outputted in my strategy with the graph command.

    However, if I do an average,

    and output it as above, I do get the same value in the indicator as in my strategy. Why is this?

     

    Thanks!

    #168268

    I am returned the same values, both for ATR and SMA, using these snippets:

    there can be some negligible differences, at times, due most likely to different rounding procedures, but they should not affect strategies.

     

    1 user thanked author for this post.
    #168274

    Make sure you are not using custom trading hours on the current chart and with weekend data enabled.

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

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