A countdown to the close of the current candle on Gold (XAUUSD), EURUSD or any chart, shown next to the price or in a fixed corner. It counts with TimeTradeServer, the broker server clock, so it keeps running when the market is quiet and no ticks arrive.
The format follows the timeframe: minutes and seconds on intraday charts, hours, minutes and seconds from H1, and days plus hours on D1 and above. The current spread can sit beside the timer, and the text changes color in the last seconds of the candle.
An optional pop-up or sound alert fires once per candle, the number of seconds you choose before the close. It is one text object that is created once and rewritten every half second. No canvas, no buffers, nothing else on the chart.
Display
Alerts
Indicator settings
Put it on the chart you trade the open of the next candle on: M5 or M15 on XAUUSD, EURUSD, GBPUSD, US30, NAS100 or BTCUSD. Scalpers who wait for a candle close before entering can set the alert to 5 or 10 seconds and stop watching the clock. If you trade Smart Money Concepts or price action, the countdown tells you when a BOS or CHoCH will be confirmed on close. The update routine is short and has no dependencies, so the time-left calculation can go straight into your own EA or panel.
Open source. Use it as it is, adapt it, build your own version on top of it.
New versions and new tools are announced first on my MQL5 channel: https://www.mql5.com/en/channels/xander
Questions, suggestions and your own backtests are welcome in the Xander Lab group: https://www.mql5.com/en/messages/02eec85e4364dd01
More tools on my profile: https://www.mql5.com/en/users/09151993a
Provided as is, use at your own risk.
Session Boxes Asia London New York
Draws Asia, London and New York session boxes on the chart with each session's high and low.
Close All Positions and Pending Orders
Closes all open positions and optionally deletes pending orders with one click. Filter by symbol and magic number.
CanvasTabs: a lightweight tab bar for MQL5 based on CCanvas
A lightweight tab bar for chart panels, drawn with the standard CCanvas class. One include file, several independent instances per chart, click selection, resizing and safe cleanup. Includes a demo Expert Advisor.
Awesome Oscillator Pullback EA for EURUSD, +209 Percent in a 2021-2026 Backtest
EURUSD EA that trades both directions: when the Awesome Oscillator turns against a weighted moving average filter, it places a stop order at the daily low or high of three days ago, with an ATR stop. Self-contained, no custom indicators. Backtest on EURUSD H1, October 2021 to October 2026: +209% on a 1,000 USD deposit with a fixed 20 USD risk per trade, 15.55% maximum equity drawdown.