I have created an indicator that uses 2 dataseries (BarsType and Volumetric). I want to call this indicator from a Strategy.
I am having trouble as I call for example Low[0] with an exception saying "Out of bounds", like there is no data in the Low series.
I tried to use for example BarsArray[0].GetClose(0) - same issue.
The indicator on its own works well, and I add the additional data series during State.Configure.
When creating the indicator from the strategy, I add the series during State.Configure in the strategy. But none of the dataseries seem to be loading when the indicator is running. The Count seems correct, just accessing the data returns an exception.
Help will be very appreciated,
Thank you,
laurent
Comment