MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Array functions  ArrayIsSeries

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
bool ArrayIsSeries( object array[])
Returns TRUE if the array under check is a series array (Time[],Open[],Close[],High[],Low[], or Volume[]), otherwise returns FALSE.
Parameters:
array[]   -   Array under check.
Sample:
   if(ArrayIsSeries(array1)==false)
     ArrayInitialize(array1,0);
   else
     {
      Print("Series array cannot be initialized!");
      return(-1);
     }