MQL4 Reference
Array functions
ArrayIsSeries
| 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);
}
|
|
|