I added a specific data series on my strategy Initialize().
I also added a chart with the same data series and placed ADX indicator on it(High, 4,3).
From my strategy i printed the SRI value:
PrintWithTimeStamp(RSI(Highs[1], 4, 3)[0].ToString());
The values from the print and from the chart aren't the same (i use market replay, CalculateOnBarClose = false on the indicator and strategy).
Needed to be said that printing seris 0 works well (PrintWithTimeStamp(RSI(Highs[0], 4, 3)[0].ToString())
Why is that?
Thanks

Comment