4066 ERR_HISTORY_WILL_UPDATED Requested history data is in updating state
1, what the solution is ,how to prevent the error 4066 ,code
You can try to prevent it by downloading needed data before runnning your EA. But it's better to deal with this error in your code, by waiting data downloading.
2, Why MQL5 don't have error code 4066
thanks
You can try to prevent it by downloading needed data before runnning your EA. But it's better to deal with this error in your code, by waiting data downloading.
indicator , using what function for waiting data downloading ?
can you give a simple code?
indicator , using what function for waiting data downloading ?
can you give a simple code?
- www.mql5.com
Forum on trading, automated trading systems and testing trading strategies
Ovo, 2014.09.17 08:18
When referring the to MQL4, the implementation of this error is a dummy. First call to a particular function sets error 4066, while any subsequent resets it. This error is not related to the actual status of data update in the MT4 terminal.- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
4066 ERR_HISTORY_WILL_UPDATED Requested history data is in updating state
1, what the solution is ,how to prevent the error 4066 ,code
2, Why MQL5 don't have error code 4066
thanks