WaCandleTimerMT5
- Indicators
- Version: 2.0
- Updated: 11 November 2025
Wa Candle Timer MT5 displays a live countdown showing how much time is left until the current candle closes on the main chart. As the bar approaches its end, the timer changes color (by default when ~95% of the candle’s duration has elapsed, i.e., ~5% time remaining).
The indicator is lightweight, clear, and ideal for traders who synchronize entries/exits with candle closes.
Key Features
-
Real-time countdown to bar close for any symbol and timeframe.
-
Color change when the candle is near completion (default threshold ≈ 95% elapsed).
-
Clean, unobtrusive on-chart text with customizable font and size.
-
Safe object management: v2 cleans up only its own objects (prefix "Wa_CT" ), preserving all your other chart items.
-
Efficient and light on resources.
Inputs
-
clrBeforeDecisionPointTimer – Text color before the threshold.
-
clrAfterDecisionPointTimer – Text color after the threshold (near candle close).
-
fontSizeTimer – Text size.
-
fontTimer – Font family (e.g., "Arial" ).
Note: The internal threshold is DecisionPointForCandleTimer = 95 (≈ 5% remaining). If you need a different threshold, let me know and I’ll provide a build with it as an input.
How It Works (Tech Notes)
-
The indicator computes the current bar’s start time and length ( PeriodSeconds ) to derive the remaining time ( Xd Xh Xm Xs ).
-
It draws a single text object on the main chart and updates it as the candle progresses.
-
On removal/terminal close, OnDeinit() calls ObjectsDeleteAll(0, Objs_name, -1) to delete only objects whose names start with the indicator’s prefix.
Compatibility
-
Platform: MetaTrader 5, all timeframes.
-
Chart: Main chart window (not subwindows).
-
Works alongside other indicators and manual drawings without interference.
Good to Know
-
The indicator is display-only: it does not place, modify, or manage trades.
-
No alerts/push/email in this version—focused on a clean visual timer.

Managed to figure out how to apply to charts