All strategies Open in demo account Use on a portal demo
MACD 12/26/9 · XAUUSD · D1
Trades crosses of the MACD line and its 9-bar signal line.
ShortTypeTrendLast signal13 Nov 2026 05:00 UTCLast bar20 Nov 2026 05:00 UTC
COMEX gold futures (GC=F). Yahoo Finance has no XAUUSD spot series.
Window 12 months. Return basis: fully invested price return.
Win % is the share of closed trades in this historical backtest that finished above zero after spread. It is not a forecast. Net return includes an open trade marked to the last close. Win %, profit factor, and average R use closed trades only.
Equity curve
Monthly return
Nov 2025+1.3%
Dec 2025+2.6%
Jan 2026-2.4%
Feb 2026-13.3%
Mar 2026+6.2%
Apr 2026-2.2%
May 2026-4.0%
Jun 2026+9.7%
Jul 2026-4.8%
Aug 2026+9.1%
Sep 2026+7.3%
Oct 2026+0.0%
Nov 2026-0.1%
Rules
- MACD is the 12-EMA minus the 26-EMA of the close. The signal is the 9-EMA of that difference.
- Long when the MACD line crosses above the signal line. Short when it crosses below.
- The opposite cross reverses the position.
- Protective stop is 2 ATR(14) from the signal close.
How the test fills orders
- A signal is calculated only from bars that have already closed. The fill is the next bar's open.
- The stop and the target are checked after the fill. If both are touched in the same bar, the stop is used.
- The simulation starts flat at the beginning of the 12-month window. Earlier bars are warmup for the indicators only.
- One position at a time. While a trade is open the equity is fully in that direction; while flat, the equity does not change. No leverage is applied.
- There is no separate commission. Half of the stated round-turn spread is paid on entry and half on exit, against the trade.
- An open trade at the last bar is marked to that close, after spread, and included in the net return and the drawdown. Win %, profit factor, and average R use closed trades only.
- Round-turn spread on XAUUSD is 0.40 price units. Half is paid on entry and half on exit.
Trades
Showing 18 of 18. Times are the bar open, in UTC.
| Opened | Closed | Side | Entry | Exit | R | Result | Why |
|---|---|---|---|---|---|---|---|
| 28 Nov 2025 14:30 UTC | 31 Dec 2025 05:00 UTC | Long | 4,198.80 | 4,352.80 | 0.71 | +3.7% | Signal |
| 31 Dec 2025 05:00 UTC | 12 Jan 2026 05:00 UTC | Short | 4,352.80 | 4,567.20 | -1.00 | -4.9% | Stop |
| 13 Jan 2026 05:00 UTC | 2 Feb 2026 05:00 UTC | Long | 4,610.20 | 4,429.17 | -1.00 | -3.9% | Stop |
| 3 Feb 2026 05:00 UTC | 4 Feb 2026 05:00 UTC | Short | 4,690.80 | 5,084.06 | -1.00 | -8.4% | Stop |
| 26 Feb 2026 05:00 UTC | 4 Mar 2026 05:00 UTC | Long | 5,175.50 | 5,109.80 | -0.21 | -1.3% | Signal |
| 4 Mar 2026 05:00 UTC | 6 Apr 2026 04:00 UTC | Short | 5,109.80 | 4,675.20 | 1.12 | +8.5% | Signal |
| 6 Apr 2026 04:00 UTC | 29 Apr 2026 04:00 UTC | Long | 4,675.20 | 4,611.20 | -0.16 | -1.4% | Signal |
| 29 Apr 2026 04:00 UTC | 8 May 2026 04:00 UTC | Short | 4,611.20 | 4,682.70 | -0.27 | -1.6% | Signal |
| 8 May 2026 04:00 UTC | 19 May 2026 04:00 UTC | Long | 4,682.70 | 4,570.40 | -0.50 | -2.4% | Signal |
| 19 May 2026 04:00 UTC | 18 Jun 2026 04:00 UTC | Short | 4,570.40 | 4,275.30 | 1.32 | +6.5% | Signal |
| 18 Jun 2026 04:00 UTC | 23 Jun 2026 04:00 UTC | Long | 4,275.30 | 4,210.60 | -0.45 | -1.5% | Signal |
| 23 Jun 2026 04:00 UTC | 7 Jul 2026 04:00 UTC | Short | 4,210.60 | 4,176.60 | 0.14 | +0.8% | Signal |
| 7 Jul 2026 04:00 UTC | 1 Sep 2026 04:00 UTC | Long | 4,176.60 | 4,498.50 | 1.28 | +7.7% | Signal |
| 1 Sep 2026 04:00 UTC | 19 Oct 2026 04:00 UTC | Short | 4,498.50 | 4,185.20 | 1.61 | +7.0% | Signal |
| 19 Oct 2026 04:00 UTC | 23 Oct 2026 04:00 UTC | Long | 4,185.20 | 4,042.00 | -0.84 | -3.4% | Signal |
| 23 Oct 2026 04:00 UTC | 6 Nov 2026 05:00 UTC | Short | 4,042.00 | 4,098.70 | -0.32 | -1.4% | Signal |
| 6 Nov 2026 05:00 UTC | 12 Nov 2026 05:00 UTC | Long | 4,098.70 | 3,939.26 | -1.00 | -3.9% | Stop |
| 16 Nov 2026 05:00 UTC | Open | Short | 3,869.50 | 3,515.60 | 1.77 | +9.1% | Open |
Chart
The chart is a display widget. It is not the source of the backtest bars.