Show your code and maybe somebody can help
hadipardis:
Hi,
Sometimes, when I use SeriesInfoInteger and CopyTime in MQL5 for a symbol, my code halts for ever, and does not respond. How can I set a timeout so that if the program halts, for example, for 10 second, the task or the calling function is terminated? The symbol is included in the market watch window, but when I try to access to its chart in MetaTrader 5, the "waiting for update" message is displayed for a long time without any update. Here is my code:
Which broker, which symbol, how to reproduce it ?
Which MT5 Build ?
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
Hi,
Sometimes, when I use SeriesInfoInteger and CopyTime in MQL5 for a symbol, my code halts for ever, and does not respond. How can I set a timeout so that if the program halts, for example, for 10 second, the task or the calling function is terminated? The symbol is included in the market watch window, but when I try to access to its chart in MetaTrader 5, the "waiting for update" message is displayed for a long time without any update. Here is my code:
Thanks for your help.