SeriesInfoInteger and CopyTime halt!
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 ?
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.