Array out of range
int size_bars_new = ArrayResize(BARS,size_bars+1);
= 24 elements, 1st dimension is 1
BARS[size_bars_new-1][TimeHour(time1)]= bars ; //gives out of range error
You are trying to access element 23 of the 1st dimension. The 1st dimension only contains 1 element
Hi guys, what am I missing here? The docs say ArrayResize sizes the first dimension yet I get this error. Any pointers as to where I go wrong are appreciated. Thanks!