i.e.
if
Close[0] < AverageOfSameTickerDaily[0] then Sell Short
In a recent update of ninjatrader using the longer timeframe with a value of [0] seems to throw the following error, even when using strategy builder:
"Strategy 'z02newWork': Error on calling 'OnBarUpdate' method on bar 90: You are accessing an index with a value that is invalid since it is out-of-range. I.E. accessing a series [barsAgo] with a value of 5 when there are only 4 bars on the chart."
Was there a recent (last few months) change that is impacting this?
Comment