
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
Put this file into the "terminal_folder\MQL5\include\" folder, please.
Nice work...
Had a compiler errors (probably do to a newer version of MT5)... see below:
'CHARTEVENT_TRADE' - undeclared identifier TimerClosingPeriod.mq5 125 12
payne
Nice work...
Had a compiler errors (probably do to a newer version of MT5)... see below:
'CHARTEVENT_TRADE' - undeclared identifier TimerClosingPeriod.mq5 125 12
Just delete this block with CHARTEVENT_TRADE.
Thanks Rosh...I did that an it compiles.
However, it's not clear to me that the indicators works as described or possibly I'm confused on what it is supposed to do.
For example, when I add it to a 5 minute chart, the timer tells me how many minutes are left in the hour and how many minutes are left before the next 5 minute candle. But when the 5 minute timer gets to zero, the bar is not updated...as I would have thought. In fact, the timer continues to count down for at least another 1:15 minutes before the next candle is painted.
Is it possible the indicator is not in sync with the candle's closing time? Or perhaps there is a server (demo ) delay in sending the new candle data to my terminal?
As it is, it's not very helpful if the painting of the new candle etc... is not in synch with the timer.
thanks,
payne
TimerClosingPeriod:
Author: Dmitry