just an idea
while (iClose(string symbol, int timeframe, 0) == 0.0) Sleep(200);
You are missing trading opportunities:
        - Free trading apps
 - Over 8,000 signals for copying
 - Economic news for exploring financial markets
 
          Registration
          Log in
        
        You agree to website policy and terms of use
    If you do not have an account, please register
  
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.
Thank you for any advice.
Regards,
Lukas