Error on calling 'OnStateChange' method: 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.
...else if (State == State.DataLoaded){ int i = 0; while (i < BarsArray[0].Count){ Print(i + Times[1][i].ToString()); i++; } }...
Comment