All strategies Open in demo account Use on a portal demo
EMA 20/50 crossover · XAUUSD · D1
Follows a close-confirmed cross of the 20- and 50-bar exponential averages.
ShortTypeTrendLast signal28 Sep 2026 04: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 20250.0%
Dec 20250.0%
Jan 20260.0%
Feb 20260.0%
Mar 2026-3.1%
Apr 2026+0.4%
May 2026+0.8%
Jun 2026+12.5%
Jul 2026-1.4%
Aug 2026-5.9%
Sep 2026-6.2%
Oct 2026+7.0%
Nov 2026+8.7%
Rules
- Long when the 20-EMA crosses above the 50-EMA. Short when it crosses below.
- The cross is read on the closed bar and filled at the next bar's open.
- Protective stop is 2 ATR(14) from the signal close. Exit and reverse on the opposite cross.
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 3 of 3. Times are the bar open, in UTC.
| Opened | Closed | Side | Entry | Exit | R | Result | Why |
|---|---|---|---|---|---|---|---|
| 26 Mar 2026 04:00 UTC | 17 Aug 2026 04:00 UTC | Short | 4,508.70 | 4,440.20 | 0.16 | +1.5% | Signal |
| 17 Aug 2026 04:00 UTC | 28 Sep 2026 04:00 UTC | Long | 4,440.20 | 4,240.57 | -1.00 | -4.5% | Stop |
| 29 Sep 2026 04:00 UTC | Open | Short | 4,149.90 | 3,515.60 | 2.81 | +15.3% | Open |
Chart
The chart is a display widget. It is not the source of the backtest bars.