AddDataSeries(Data.BarsPeriodType.Minute, 1); Is that BarsInProgress == 1;
Lets Say I have a total of 14 Add DataSeries
Would this work
if (IsFirstTickOfBar == true)
{
if (BarsInProgress == 0 && CurrentBars[0] >= 20 && CurrentBars[14] >= 20 && CurrentBars[15] >= 20)
{
MySeries[0] = Closes[14][0] - Closes[15][0];
}
}
I keep on getting Index was outside the bounds of the array.

Comment