I am trying to add a multi-time-frame indicator to my strategy to be displayed on the chart, but currently get display issues when adding the indicator.
I have the following code under State == State.DataLoaded
testRsi = RSI(BarsArray[1], 14, 3); AddChartIndicator(testRsi);
However the AddChartIndicator doesnt seem to reflect the new dataseries/BarsArray on the chart. Only half the RSI is shown historically and is clearly still calculating the RSI on the primary dataseries.
Am i missing a step here?
Thanks
Comment