MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Array functions  ArrayRange

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
int ArrayRange( object array[], int range_index)
Returns the count of elements in the given dimension of the array. Since indexes are zero-based, the size of dimension is 1 greater than the largest index.
Parameters:
array[]   -   Array to check
range_index   -   Dimension index.
Sample:
int    dim_size;
double num_array[10,10,10];
dim_size=ArrayRange(num_array, 1);