This code (having added one second bars for BarsInProgress == 2)
if (Closes[2].Count < 11) {return;}
Print("Count = "+Closes[2].Count);
Print("Close = "+Closes[2][10]);
gives me
Count = 990833
**NT** Error on calling 'OnBarUpdate' method for strategy 'Scalp2/717e69258c55485d9e4939cf13150f19': You are accessing an index with a value that is invalid since its out of range.
Comment