Another mistake is in this text: "If the start date first_server_date of the server is lower than the start date first_date of the symbol".
Insted of lower should be greater.
if(first_date>0 && first_date<first_server_date)
And a small mistake is here: "If the attempt fails, then value of the copied will be equal to null".
If the attempt fails, then value of the copied will be equal to -1, won't it?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
This page https://www.mql5.com/en/docs/series/timeseries_access says:
"The CheckLoadHistory() function is designed as a universal function that can be called from any program (Expert Advisor, script or indicator)".
Which can't be right, because CheckLoadHistory() function uses Sleep() function, which doesn't work in indicators.
Please correct this part of that page, or (better way), also include an example of an indicator with CheckLoadHistory() function.