Download MetaTrader 5
To add comments, please log in or register
MQL5 Cloud Network speeds up calculations. Try it!
Carl Schreiber
5932
Carl Schreiber 2014.08.06 17:14 

Hi,

anybody here with experience with OnTimer()?

If I Set in Oninit(): EventSetTimer(30); the OnTimer() prints its Comment every 30 second on the chart while (e.g.) the Xetra-market is closed.

My question: Will OnTimer be executed even when the Extra wil open tomorrow at 9:00 cest although the chart will receive ticks constantly.

Or is OnTimer() only executed after (in my case) 30 sec. 'of silence'?

Thanks in advance

/
To add comments, please log in or register