New: the Top 10 Non-Repainting MT4 Indicator Pack is free to download

92 free indicators for MetaTrader 4 & 5

Candle Timer Indicator MT4

Free candle timer indicator for MT4. Counts down to the candle close every second and shows the live spread and server time. Settings, uses and install guide. Free download, link emailed in seconds.

MT4Non-repaintingInformational
Data Windowcandle-timer-indicator-mt4
PlatformMT4 Build 600+
File.mq4 / .ex4 in .zip
Version1.0
Size4.6 KB
RepaintsNo
TypeInformational
UpdatedNov 22, 2026
DownloadsNew listing
Download free (4.6 KB)
  • Enter your email, the download link arrives in seconds
  • Free bonus reports on the next page

Indicators are analysis tools, not trade signals. Forex trading on margin carries a high risk of loss. Test on a demo account first.

EURUSD · H4 · previewCandle Timer Indicator MT4 v1.0
Candle Timer Indicator MT4 on EURUSD H4Non-repainting
How it works →
Overview

The Candle Timer indicator for MT4 shows how much time is left before the current candle closes, along with the live spread and, if you want it, the broker’s server time. It refreshes every second on a timer, so the countdown keeps moving even when no new ticks arrive.

MetaTrader 4 has no built-in candle countdown. If you trade candle closes, wait for confirmation before entering, or simply want to know whether that H1 candle has 3 minutes or 40 minutes left, this free tool puts the answer right next to price.

What Is the Candle Timer Indicator?

A candle timer, also called a bar timer or candle countdown, is a small information display. It does not analyze price and gives no buy or sell signals. Its job is to answer three practical questions while you trade:

  • How long until this candle closes?
  • What is the spread right now?
  • What time is it on the broker’s server?

Those questions matter more than they seem. Many strategies only act on closed candles, including every arrow indicator on this site that is marked non-repainting. Knowing exactly when the candle closes lets you be at the screen for it. The spread matters for scalping and for news times, when it can widen sharply.

How the Indicator Works

Countdown

The close time of the current candle is its open time plus the length of the timeframe. On the monthly chart the code uses the first day of the next calendar month instead, since months are not all the same length. The time left is that close time minus the current server time.

MT4 only updates its server time when a new price tick arrives, which would make a normal countdown freeze in quiet markets. To avoid that, the indicator measures the difference between the server time and your computer’s clock every time a fresh tick comes in. Between ticks it adds that difference to your computer’s clock, which keeps counting each second. A one-second timer (EventSetTimer) redraws the readout even when price is not moving.

Two honest edge cases are shown on screen rather than hidden:

  • “Waiting for tick” appears right after you load the indicator until the first new tick arrives, because the clock offset cannot be measured without one. During the weekend this message stays up.
  • “00:00 (waiting for new bar)” appears if the countdown reaches zero but no tick has arrived yet. MT4 only opens a new candle on the first tick of the new period.

Spread

The spread is read from the terminal’s current market information for the symbol, in points. In pip mode it is converted using the usual rule: on 5-digit and 3-digit quotes one pip is 10 points, so a 12-point spread shows as 1.2 pips. On 4-digit and 2-digit quotes one pip equals one point.

Server time

When ShowServerTime is on, the same estimated server time used for the countdown is shown in hours, minutes and seconds. This is handy because chart times in MT4 are in server time, which is often different from your local time.

What the readout looks like

In near-price mode the indicator writes a single line that starts a few bars to the right of the last candle and follows the bid price up and down, for example “<- 04:27 | Spread 1.2 pips”. In corner mode it shows up to three separate lines: “Candle closes in 04:27”, then the spread, then the server time if enabled. When an hour or more remains the countdown adds hours, and when a day or more remains it adds days, such as “3d 06:12:45”. Lines you switch off are removed rather than left blank.

Key Features

  • Live countdown to the candle close on every timeframe from M1 to MN1, including a days counter for weekly and monthly candles.
  • Timer-based refresh every second, so it does not freeze between ticks.
  • Current spread in pips or points, with correct handling of 5- and 3-digit brokers.
  • Optional broker server time.
  • Two layouts: one line next to the current price, or stacked lines in any chart corner.
  • Color change during the last seconds of a candle (10 seconds by default).
  • Removes all of its chart objects and stops its timer when you remove it.

How to Trade With the Candle Timer Indicator

Trading candle closes

If your rules say “enter after the candle closes above the level”, the timer tells you when to check. On M15 and H1 this is the main reason traders install a countdown. Pair it with a closed-candle signal tool such as the 3 EMA Crossover indicator, whose arrows only print after the candle closes.

Scalping and spread control

Scalpers often set a maximum spread they are willing to pay. With the spread on screen, you can skip entries when it widens, for example around rollover or news releases. For a fuller spread history, see the Spread Watch indicator, and use the pip value calculator to see what a given spread costs per lot.

Session timing

The server clock makes it easier to line up session opens and daily candle closes with your local time. The Trading Sessions indicator draws the session boxes themselves.

Best Settings

  • Near-price mode keeps your eyes on the chart and works well on uncluttered charts.
  • Corner mode with CORNER_RIGHT_LOWER or CORNER_LEFT_UPPER is cleaner when you run several indicators or use the one-click trading panel.
  • WarnSeconds 10 to 30 gives you a visual cue before the close on M1 to M15. Set it higher on H1 and above if you want more warning.
  • Set SpreadInPips to false if you think in points, for example on indices or metals where pip conventions vary.

Does It Repaint?

No. The Candle Timer draws no signals, arrows or historical values, so there is nothing that could change after the fact. It is an information display that refreshes once per second. Learn more about which indicators can repaint in what repainting is.

How to Install

Copy “candle-timer-indicator-mt4.mq4” to File > Open Data Folder > MQL4 > Indicators, restart MT4 or refresh the Navigator, then drag it onto a chart. Full instructions are in how to install indicators in MT4. Like all custom indicators it runs on the desktop terminal only, since the MT4 mobile apps cannot load custom indicators.

Related Indicators

Browse more informational indicators. A timer helps with discipline but does not improve a strategy by itself, and trading on margin carries a high level of risk.

Repaint verdict: does not repaint. We read the source: every value is calculated on closed bars and never rewritten, so what you see in history is what you would have seen live.

Free pack

Get the Top 10 Non-Repainting Indicator Pack

Ten MT4 indicators that draw on closed bars only, in one zip with install notes for each.

Settings

Inputs, defaults and what they change

  • Position (default POSITION_NEAR_PRICE) — POSITION_NEAR_PRICE writes one line to the right of the current price; POSITION_CORNER shows stacked lines in a chart corner.
  • Corner (default CORNER_RIGHT_LOWER) — Which chart corner to use in corner mode.
  • XOffset (default 10) — Horizontal distance from the corner in pixels (corner mode).
  • YOffset (default 20) — Vertical distance from the corner in pixels (corner mode).
  • BarsRightOfPrice (default 3) — How many bars to the right of the last candle the near-price text starts.
  • ShowSpread (default true) — Show the current spread.
  • SpreadInPips (default true) — Show the spread in pips (true) or in points (false).
  • ShowServerTime (default false) — Show the estimated broker server time.
  • FontName (default Arial) — Font for the readout.
  • FontSize (default 10) — Font size for the readout.
  • TextColor (default clrSilver) — Normal text color.
  • WarnSeconds (default 10) — The countdown switches to WarnColor when this many seconds or fewer remain. 0 turns it off.
  • WarnColor (default clrOrange) — Countdown color during the final seconds.
Install

How to install it in MetaTrader 4

  1. Step 1Download and unzip

    Enter your email, open the download link we send you and extract the .mq4 / .ex4 file from the zip.

  2. Step 2Open the data folder

    In MetaTrader, go to File → Open Data Folder.

  3. Step 3Copy into Indicators

    Place the file in MQL4 → Indicators, then restart MetaTrader or refresh the Navigator panel.

  4. Step 4Attach it to a chart

    Find it under Navigator → Indicators and drag it onto any chart.

First time installing an indicator? Watch the 75-second video or follow the screenshots in our MT4 install guide: every click in MetaTrader, plus fixes for an indicator that won't show up.

Free forex calculators
FAQ

Candle Timer Indicator MT4 questions

No. MetaTrader 4 does not show the time left on the current candle. You need a custom indicator such as this Candle Timer, which displays the countdown next to price or in a chart corner.

Many timer indicators only update when a new tick arrives, so they stop in quiet markets. This one uses a one-second timer and estimates server time from your computer clock between ticks, so it keeps counting.

Right after loading, the indicator needs one fresh price tick to measure the difference between your clock and the server clock. The message disappears with the first tick. On weekends, when the market is closed, it stays.

The terminal reports spread in points. On 5-digit and 3-digit quotes the indicator divides by 10, so 15 points shows as 1.5 pips. On 4-digit and 2-digit quotes, one point equals one pip.

Yes. Set Position to POSITION_CORNER and choose the Corner input. XOffset and YOffset fine-tune the distance from the edges in pixels.

No. The MT4 apps for iOS and Android cannot run custom indicators. The Candle Timer works on the MT4 desktop terminal.

Candle Timer Indicator MT4
Size
4.6 KB
Version
1.0
Repaints
No
Download free
Free packTop 10 Non-Repainting Indicators

Ten closed-bar MT4 indicators in one zip.

Get the pack

Candle Timer Indicator MT4Free · 4.6 KB

Download

Where should we email your download link?

Use an email you can check right now: the download link goes straight to this inbox.