Download MetaTrader 5

Downloading history data via EA

To add comments, please log in or register
Millions of traders download codes from MQL5 library. Share your app with them!
lukinho158
23
lukinho158 2014.08.10 13:28 

Hello,

 I would like to ask you whether it's possible to download history data to the metatrader through EA? I have some script which require history data and if they are not available it makes error. The only known way which I know how to download history data is shown in the image below.

Metatrader history data download 

 

Thank you for any advice.

 

Regards,

 

Lukas 



qjol
3243
qjol 2014.08.10 21:08  

just an idea

while (iClose(string symbol, int timeframe, 0) == 0.0)
   Sleep(200);
To add comments, please log in or register