CopyClose/Open etc ... & Services (MT5 1986)

To add comments, please log in or register
Icham Aidibe
11502
Icham Aidibe  

Hi there just noticed that : 

   double rates[];
   printf("**** Rates : %g",CopyClose("EURUSD",PERIOD_M1,0,1440,rates));

... as a script returned : 

2019.02.15 13:22:07.867 Test (USDJPY,M1)        **** Rates : 1440

... as a service returned : 

2019.02.15 13:23:53.451 Data    **** Rates : -1

Same with open, high, low & copyrates.

Is it the normal & expected behaviour for services ? 

To add comments, please log in or register