Guarda come scaricare robot di trading gratuitamente
Ci trovi su Twitter!
Unisciti alla nostra fan page
Script interessante?
Pubblica il link!
lasciare che altri lo valutino
Ti è piaciuto lo script? Provalo nel Terminale MetaTrader 5
Visualizzazioni:
458
Valutazioni:
(1)
Pubblicato:
Aggiornato:
Freelance MQL5 Hai bisogno di un robot o indicatore basato su questo codice? Ordinalo su Freelance Vai a Freelance

Clock (Spread)

What this indicator does

Clock (Spread).mq5 is a MetaTrader 5 chart indicator that displays a small text label in the corner of the chart showing:

  • Countdown timer until the current candle closes (in HH:MM:SS or MM:SS format, depending on timeframe)
  • Current spread (Ask − Bid, in points), shown in parentheses next to the timer

It updates every second via a timer ( EventSetTimer(1) ), so the countdown keeps ticking smoothly even when the market is closed or there's no new price tick. It also refreshes on every new tick ( OnCalculate ).

Example display: < 04:32 (12) — meaning 4 minutes 32 seconds left until candle close, spread is 12 points.

The indicator draws nothing on the price chart itself ( indicator_plots 0 ); it just places a text label object ( OBJ_LABEL ) in the corner, and it's built to run safely on many charts at once (it builds a unique object name per chart/symbol/timeframe so instances don't collide).

Inputs

Visual settings:

Input Default Description
InpFontName "Trebuchet MS" Font used for the label text
InpFontSize 12 Font size
InpFontColor Aqua Text color, chosen from a dropdown (Aqua, Navy, Teal, Maroon, Lime, Salmon, White, Yellow)

Positioning settings:

Input Default Description
InpXDistance 20 Horizontal offset (pixels) from the top-left corner of the chart
InpYDistance 20 Vertical offset (pixels) from the top-left corner of the chart
InpObjPrefix "CLK_" Prefix used to build a unique internal object name, avoiding conflicts when the indicator runs on multiple charts simultaneously
Mediana Trendline Mediana Trendline

Draws parallel trend channels (Median, High, Low) on the current chart based on the last two closed candles of up to 7 higher timeframes (MN1, W1, D1, H4, H1, M30, M15), with individually configurable colors and line styles for each timeframe.

Advanced Risk Manager: Auto Suffix Detection  Multi Currency Lot Sizer Advanced Risk Manager: Auto Suffix Detection Multi Currency Lot Sizer

Advanced MQL5 risk management class providing deterministic lot sizing, auto-suffix detection, and cross-currency triangular conversion.

SniperGold SMC ProPlus  (Institutional Smart Money Concepts) SniperGold SMC ProPlus (Institutional Smart Money Concepts)

SMC chart indicator: market structure (BOS/CHoCH), volume weighted order blocks, multi timeframe FVG, equal highs/lows, liquidity sweeps, premium/discount zones, a 3 time frame bias panel and an optional trade setup readout. Closed bar logic only (no repaint). It draws and alerts, it does not place trades.

Trading Panel EA Trading Panel EA

Pro Manager is an all-in-one MT5 trading assistant built for prop firm and professional traders. Execute trades faster, manage positions smarter, control risk efficiently, and automate daily trading tasks with powerful tools such as Break-even, Average TP, Magic Number management, and Auto Grid.