MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Array functions  ArrayGetAsSeries

 
bool ArrayGetAsSeries( object array[])
Returns TRUE if array is organized as a series array (array elements are indexed from the last to the first one), otherwise returns FALSE.
Parameters:
array[]   -   Array to be checked.
Sample:
  if(ArrayGetAsSeries(array1)==true)
    Print("array1 is indexed as a series array");
  else
    Print("array1 is indexed normally (from left to right)");