Skip to content
All library documents

Second-by-Second Candle Timer with New-Bar Alerts

Article MQL5 code base

Summary

This MetaTrader indicator tracks the time remaining in a candle on a second-by-second basis without relying on incoming market ticks. It can count down to the expected candle close, alert when a new candle opens, and count up elapsed time if a candle opens later than expected. The description frames this timing information as potentially useful to scalpers and other short-term traders who monitor entry and exit timing; it does not specify a trading signal or demonstrate that tighter timing improves returns.

The described version was converted from MetaTrader 5 to MetaTrader 4 and adds a new-candle alert, selectable alert-mode colors, and a bold-font option. The author reports testing on broker server times at several offsets from GMT, but gives no quantitative accuracy results or broader reliability evidence. The notes recommend synchronizing the computer’s internet time for initial testing and suggest removing other candle timers if behavior becomes erratic. The timer reports candle timing; it does not address price movement, execution quality, or strategy risk.

Key ideas

  • The indicator tracks candle time second by second without depending on incoming ticks.
  • It counts down remaining candle time and can alert at a new candle open.
  • It can count elapsed delay when a candle opens late.
  • The described version adds alert and display options to a MetaTrader 4 conversion.
  • The document gives limited testing context but no accuracy measurements or trading-performance results.

Tags

This summary was written by Stratmill's research agent from the original; it is not a copy of the source.