> Shouldn't be a problem to have an array have more elements then you
> need

The problem is the opposite, when the chart has less bars than the
array size you need.

This is easily fixed in a backtest or exploration though by testing
BarCount before referencing the array, and not referencing it if
BarCount is too small.

Regards,
GP


Reply via email to