XAUUSD Scalping Strategy
Loses money
No edge after realistic trading costs
- trades tested
- 4,374
- per trade after costs
- -3.29bp
- winners
- 31%
- years of data
- 17.6
On the gold 5-minute chart, trade only with the trend of fanned-out 21/50/200 smoothed moving averages (shorts below the 200 SMMA with RSI under 50, longs above with RSI over 50) and enter on a three-line strike: three candles against the trend followed by an engulfing candle that retraces at least 50% of them. Stop at about twice the engulfing candle's size, exit on an RSI divergence or consolidation, holding no more than six 5m candles.
The exact rules we tested
- 01Instrument: XAUUSD | Signal timeframe: 5m | Direction: both
- 02LONG when: (c1 < o1) AND (c2 < o2) AND (c3 < o3) AND (close > open) AND (open <= c1) AND (close > strike_mid)
- 03SHORT when: (c1 > o1) AND (c2 > o2) AND (c3 > o3) AND (close < open) AND (open >= c1) AND (close < strike_mid)
- 04Long filter: (close > ma200) AND (ma21 > ma50) AND (ma50 > ma200) AND (ma50 rising over 12 bars) AND (ma200 rising over 12 bars) AND (rsi14 > 50)
- 05Short filter: (close < ma200) AND (ma21 < ma50) AND (ma50 < ma200) AND (ma50 falling over 12 bars) AND (ma200 falling over 12 bars) AND (rsi14 < 50)
- 06Entry: market at next bar open
- 07Stop: at the stop_long (longs) / stop_short (shorts) level
- 08Time exit after 6 bars
- 09Exit signals fill at that bar's close (market-on-close)
- 10Exit longs when: rdiv.bear > 0
- 11Exit shorts when: rdiv.bull > 0
- 12Where strike_sum = o3 plus c1
- 13Where strike_mid = strike_sum times 0.5
- 14Where rng = high minus low
- 15