Download MetaTrader 5

bug with copylow

To add comments, please log in or register
pragma64
24
pragma64  

hello,

when a write

int CopyLow   (string Low,ENUM_TIMEFRAMES PERIOD_M15,int 0,int Bars ,double low_array[]);

the compilation send me an error : '0' comma expected

i don t understand why

thanks for you help

honest_knave
Moderator
2382
honest_knave  
pragma64:

hello,

when a write

int CopyLow   (string Low,ENUM_TIMEFRAMES PERIOD_M15,int 0,int Bars ,double low_array[]);

the compilation send me an error : '0' comma expected

i don t understand why

thanks for you help

Here is an example of using CopyLow() from here

double low_array[];
int count = 5;   // number of elements to copy
ArraySetAsSeries(low_array,true);
CopyLow(_Symbol,_Period,0,count,low_array);


 

To add comments, please log in or register