Timeout when 5 seconds are missing from the next candle

To add comments, please log in or register
gabrisal94
40
gabrisal94  
Hello everyone,
I noticed that there is no way to see when X seconds are missing to the next candle with mql4,
because the "start () {...}" method is updated only to the price change and not every second (rightly).

Does anyone know how to do?
Thanks.
whroeder1
17940
whroeder1  
  1. 5 seconds? During the Asian session there will be minutes between ticks. No tick, no new bar. "Free-of-Holes" Charts - MQL4 Articles
  2. What do you mean no way? Code it. OnTick remember the last local time, OnTimer checks if remembered time is too long ago. Once variable, two lines of code in two functions.
To add comments, please log in or register