Bo Software MetaTrader 5 tools
Home › Indicators › Gold Signal Ledger
Gold Signal Ledger logo
Indicator MetaTrader 5

Gold Signal Ledger

XAUUSD buy/sell signals that never repaint, with entry, ATR stop and three targets – plus an on-chart ledger of every signal it gave on your chart: hit rates, average R and results by session.

Key features

  • BUY/SELL signals for gold (XAUUSD) with entry, ATR stop loss and three targets; every signal is managed to its exit.
  • Signals are decided on closed bars only: once an arrow is drawn it never moves, changes or disappears.
  • On-chart ledger of every past signal on your chart (history stats): TP1/TP2/TP3 hit rates, average result in R, drawdown and results by session.
  • The ledger uses exactly the same rules as the arrows, and the rules are published, so any signal can be recounted by hand.
  • Higher-timeframe filter on closed H4 and D1 bars, plus a session window.
  • Signal, Ledger and History tabs; dark and light themes; minimisable panel.

Screenshots

Video

Demo and walk-through of Gold Signal Ledger.

Full description

The complete feature description, as published on the MQL5 Market.

Gold Signal Ledger – XAUUSD signals that never repaint, with a ledger of every result

Gold Signal Ledger is a signal indicator for gold (XAUUSD) on MetaTrader 5. It gives BUY/SELL signals with entry, ATR stop loss and three targets, manages every signal to its exit, and keeps an on-chart ledger of every signal it ever gave on your chart: hit rate, average result in R, TP1/TP2/TP3 hit rates and results by session. The ledger is computed by exactly the same rules as the arrows, and the rules are written below, so you can recount any signal by hand.

Signals that are fixed when the bar closes

  • A signal is decided only on a closed bar. Once an arrow is drawn it never moves, changes or disappears.
  • Each closed bar is processed once, in time order. The forming bar only moves the trend band line.
  • The higher-timeframe filter uses only H4 and D1 bars that were already closed when the signal bar closed.
  • Tested, not just promised: in the Strategy Tester we compared every signal and exit seen live at the bar close (1-minute OHLC and real ticks, M5 to H1) with a fresh recalculation of the whole history: 1 335 signals and exits, 0 differences.

The signal rules

  • Trend band: an ATR trailing band around the bar midpoint. A signal is given when the band flips (up = BUY, down = SELL).
  • Trend filter: the last closed H4 and D1 bars must both close on the signal's side of their 20-period EMA (D1/W1 on H2–H4 charts).
  • Signal window: 06:00–20:00 GMT (London and New York). Broker time is detected automatically.
  • Auto preset tuned on XAUUSD: ATR 14 × 3.0 on M30 and higher; on M1–M15 charts the signals come from M15 bars (ATR 56 × 5.0), built from your chart's own bars. A custom band is available.
  • One signal at a time: no new signal while one is open. A flip that closes a signal can open the opposite one.

Stop loss, targets and exits

  • Stop loss = 3 × ATR(14) from the entry (the close of the signal bar). TP1 / TP2 / TP3 = 1R / 2R / 3R. All adjustable.
  • Entry, SL and TP1–TP3 of the latest signals are drawn as lines with prices, with a risk/reward box for the newest one.
  • Exits are marked on the chart and every past signal gets a result tag (SL, TP1, TP2, TP3 and the result in R).
  • Managed exit used for all results: 1/3 is closed at each target, the stop moves to entry after TP1, and the rest is closed when the trend band flips back. If one bar touches both the stop and a target, the stop is counted first.

The ledger: honest statistics on your chart

  • TP1 hit rate, average R per signal, profit factor (in R), total R, largest drawdown in R and the longest losing streak.
  • TP1, TP2, TP3 and stop-before-TP1 rates with bars.
  • Results by session: Asia (22–07 GMT), London (07–12), New York (12–22).
  • Buy and sell results separately, and a History tab with the last 10 signals and their outcome.
  • The spread of the signal bar is deducted from every result. You can add commission or slippage as an extra cost per signal.
  • Choose the window (bars) the ledger covers, and export the ledger to a CSV file to check it in a spreadsheet.

History statistics on XAUUSD (backtest)

Default inputs, ECN broker demo data, 2016-02 to 2026-10, spread + 0.10 USD per ounce extra cost on every signal. The rules were tuned on 2017–2022 only and then checked on 2023–2026.

  • M30: 600 signals, TP1 hit 49 %, average +0.14 R, profit factor 1.34 (2017–22: +0.17 R, 2023–26: +0.09 R).
  • H1: 314 signals, TP1 hit 52 %, average +0.15 R, profit factor 1.37 (both periods +0.15 R).
  • M15 (and M5 charts): 511 signals, TP1 hit 51 %, average +0.08 R, profit factor 1.16.
  • There are losing years and losing streaks (for example M30 2018 −8.2 R), and the ledger shows them too. These are historical statistics, not a promise of future results.

Filters and alerts

  • News filter from the built-in MT5 economic calendar (no WebRequest, no DLL): no new signals a set number of minutes before and after high-impact (optionally medium) news of the currencies you choose, with the next release shown in the panel. Off by default; not available in the Strategy Tester (the calendar is not available there).
  • Direction filter: buy and sell, buy only or sell only.
  • Alerts: popup, sound, push notification and e-mail, for new signals and, optionally, for TP hits, stops and exits.

Panel

  • Three tabs: Signal (trend band, H4/D1 filter, window, news, open signal with live result), Ledger and History.
  • Light and dark themes (or automatic), scales with your screen DPI, movable and minimisable; position and tab are remembered.

For EA developers

  • Buffers: signal (+1/−1), entry, stop loss, TP1, TP2, TP3, trend band direction, exit (type × direction) and open signal. Values are written only for closed bars and never change.
  • A "calculation only" input turns off drawing and alerts when the indicator is used from an EA.

Recommended use

  • Symbol: XAUUSD (any broker name such as XAUUSD.a, GOLD). Timeframes: M15 to H1, M30 and H1 had the best history results. It works on any symbol and timeframe, but it is tuned for gold.
  • Load enough history (the ledger uses up to 50 000 bars by default) and let the terminal download H4 and D1 data.
  • The signals are not trade advice. Always use your own risk management.

Quick start

From purchase to a running indicator in a few minutes. Details in the install guide.

  1. Get the indicator on the MQL5 Market page: buy, rent, download the free demo, or install it from the Market tab in MetaTrader 5.
  2. It appears in the Navigator under Indicators › Market. Drag it onto any chart.
  3. Adjust the inputs (colours, symbols, timeframes, alerts). For phone alerts, enter your MetaQuotes ID under Tools › Options › Notifications.
  4. Save the chart as a template to keep your setup on other charts.

Signals and statistics describe past behaviour on historical data and are not a promise of future results. Trading involves risk. See the risk disclaimer.