I´m working with different dataseries in scripts for long time now. Today appears the attached message and I have no idea why.
I add the dataseries AddDataSeries("NQ 12-19", BarsPeriodType.Range, 4);
and I have in OnBarUpdate if (CurrentBars[0] < 5 || CurrentBars[1] < 5) return;
and as entry condtion
if(Position.MarketPosition != MarketPosition.Short
&& Closes[1][1]>Opens[1][1]
&& Closes[1][0]<Opens[1][0])
What might be the reason for this message please?
Thank you!
Tony
Comment