Strategy Lab verdict: WinnerBetter on a personal account

XAUUSD daily pullback to moving average strategy

After price has moved clearly away from the 10 EMA, it pulls back to touch it and closes back in the trend's direction, with the 200 EMA trend. XAUUSD daily candles, long and short, 1.5R target.

Found by searching 2138 variants of 48 setups on XAUUSD (Gold), then tested once on the last 12 months (16 November 2025 to 16 November 2026), which were locked away during the search. Long and short, about 10 trades a year.

Style
Pullback
Timeframe
Daily
Test period
Nov 2006 to Nov 2026
Tested
18 November 2026
Market
XAUUSD (spot gold)
Equity, after costs$10,000 → $14,338
$10k$12k$14k$16k
20072008200920102011201220132014201520162017201820192020202120222023202420252026

Return

+43.4%

Profit factor

1.36

Win rate

51.6%

Max drawdown

−4.90%

Prompt for TES

Tessera's AI strategy coach builds and backtests it

Pullback to moving average on XAUUSD daily candles, trading both longs and shorts: after price has moved clearly away from the 10 EMA, it pulls back to touch it and closes back in the trend's direction. Only take longs when the signal candle closes above the 200 EMA, and shorts when it closes below it. Enter at the close of the signal candle. Stop 1.5 ATR(14) from the entry. Take profit at 1.5R. Risk 1% of the account per trade with typical costs. Backtest it from 2006-11-17 to 2026-11-16.

  1. 1Copy the prompt
  2. 2Backtest it free
  3. 3Run it as a bot
Backtest this strategy free

Free account, no card. The button copies the prompt for you. Run it as a bot on your broker with Launchpad, from $39 a month.

Prop firms:Better on a personal account, tested on 8 challengesSign up free to see the pass rates

Is the pullback to moving average strategy profitable on XAUUSD?

In this backtest, yes. On XAUUSD daily candles from Nov 2006 to Nov 2026 it made +43.4% after costs, with a profit factor of 1.36, a 51.6% win rate and a maximum drawdown of 4.90%, over 190 trades.

It held up on an unseen period it was never tuned on (+19.8% over the last 2103 days), and the locked last 12 months stayed profitable (+1.84% on 10 trades). Plan for less live: with half the edge, a typical year is +0.8%.

A gold trading strategy for XAUUSD

XAUUSD is spot gold priced in US dollars. This strategy looks for a pullback to the 10 EMA on daily candles and trades both directions, with up to 20× leverage.

About 10 trades a year, so expect a few trades a month. It suits a personal account better than a prop firm challenge with a deadline.

Prop firm results

Tested against

FTMOThe5ersand 5 more firms

Verdict

Better on a personal account

We ran this strategy's own trades through 8 challenges (FTMO 1-Step Challenge, FTMO 2-Step Challenge, FundedNext Stellar 2-Step, The5ers High Stakes (2.5K-25K), FundingPips 2-Step Standard, E8 Markets E8 One, FXIFY Two Phase (Trailing), Alpha Capital Group Alpha Pro 8%), starting a new one every week of the backtest and trying several risk levels per trade.

  • Pass, fail and ran-out-of-time rates for every firm
  • The risk per trade with the best pass rate
  • Median days to pass and challenges per pass

Create a free account, then open this strategy in the Strategy Lab hub to see the pass rates, the risk per trade to use and how long challenges took to pass.

Read nextProp firms that allow algo tradingFTMO algo trading rulesProp firm consistency rule

Backtest results

Return

+43.4%

Nov 2006 to Nov 2026

Profit factor

1.36

Win rate

51.6%

Max drawdown

−4.90%

Trades

190

about 9 a year

Last 12 months

+1.84%

Nov 2025 to Nov 2026 · 10 trades

Equity, after costs$10,000 → $14,338
$10k$12k$14k$16k
20072008200920102011201220132014201520162017201820192020202120222023202420252026
Net profit+$4,338.41 ($10,000 → $14,338.41)
Average trade+0.20R / +$22.83
Total R+37.6R
Profit factor in R1.38
Average win / loss+$167.45 (+1.39R) / −$131.21 (−1.07R)
Largest win / loss+$209.90 / −$165.71
Targets / stops hit98 / 92
Longest win / loss streak4 / 4
Median hold6 candles (Daily)
Max drawdown−$617.68 (−4.86R)
Buy and hold, same dates+521.3%
Longs / shorts+23.3R (129) / +14.3R (61)
Signals279 (88 position open)

XAUUSD daily candles, 17 November 2006 to 16 November 2026, starting with $10,000. 1% risk per trade, up to 20× leverage. Costs are included in every figure. Spot metal bars.

Read nextWhat is a good profit factor?Profit factor calculatorHow many trades a backtest needs

How it was proven

1. A wide search, with the last 12 months locked away

Strategy Lab searched 2138 variants on XAUUSD daily candles, across setups, settings, targets, stops, trend and volatility filters, trading sessions and long or short sides. The last 12 months were kept locked away during the search, then the top 5 were tested on it once.

  1. 2,138Variants searched
  2. 538Passed the search bar: 40+ trades, profit factor 1.2+, return at least the drawdown, both halves profitable
  3. 43Had profitable neighbouring settings, so not a one-setting fluke
  4. 5Top 5 tested once on the locked last 12 months
  5. 3Stayed profitable on the locked last 12 months. This is the strongest
SetupTargetFilterSideSearch periodLast 12 months
Pullback to moving average 101.5R200 EMA trendLong and short+40.79%+1.84%This strategy
Donchian breakout 551RNoneLongs only+60.97%+5.78%Also held
Previous day high/low break2.5R200 EMA trendLong and short+99.15%−1.01%
Keltner channel breakout 402R200 EMA trendLong and short+66.85%+3.66%
Donchian breakout 201R200 EMA trendLongs only+57.08%+6.64%Also held

Search period

17 Nov 2006 to 16 Nov 2025

Return
+40.79%
Profit factor
1.36
Trades
180
Max drawdown
−4.90%

Last 12 months, locked

16 Nov 2025 to 16 Nov 2026, tested once

Weak: profitable but thin
Return
+1.84%
Profit factor
1.34
Trades
10
Max drawdown
−3.09%

The locked last 12 months made +1.84% with a profit factor of 1.34, on data the search never saw. That's the honest test of a searched strategy. Even so, paper trade it before a live account.

2. An unseen period: held up

Separately, Strategy Lab's walk-forward check kept the last 30% of the history (2103 days, from 5 Feb 2021) unseen. It did as well after the cut as before it.

Before the cut

70% of the history

Return
+23.56%
Profit factor
1.27
Trades
138
Win rate
50.0%

Unseen period

Last 2103 days

Held up
Return
+19.82%
Profit factor
1.61
Trades
52
Win rate
55.8%

3. Robustness: stable

The same strategy re-run on noisy copies of the data, with costs halved and doubled, and with the stop assumed to hit first inside every candle.

  • Price feed noise (10 runs)

    Return +35.0% to +56.3%, 85% of trades unchanged

  • Double costs

    +19.3%

  • Stop hit first inside a candle

    +43.4%

  • Unseen period

    +19.8% over 2103 days

  • Last 12 months (locked)

    +1.84%, profit factor 1.34 on 10 trades

Read nextOut-of-sample testingIs my backtest overfit?

Recent results

Period

Updated

Last 30 days

Return

+3.02%

27 Oct to 26 Nov

Total P&L

+$301.93

$0.00 open

Total R

+3.00R

Trades

2

2 won

Win rate

100.0%

Max drawdown

−0.00%

Open positions

No open positions. The strategy is watching the market for its next setup.

Equity, after costs$10,000 → $10,302
$10.0k$10.1k$10.2k$10.3k$10.4k
27 Oct4 Nov11 Nov19 Nov26 Nov

Closed trades

Closed trades, last 30 days, newest first
ClosedResultP&LMarketSideClosedEntryExitResultP&L
18 Nov, 00:00Target+$152.35 (+1.50R)XAUUSDShort18 Nov 2026, 00:00 UTC4,038.023,825.43Target+$152.35 (+1.50R)
30 Oct, 00:00Target+$149.58 (+1.50R)XAUUSDShort30 Oct 2026, 00:00 UTC4,021.873,877.12Target+$149.58 (+1.50R)

Results shown are hypothetical, calculated from the strategy's rules on market data. No real money is at risk. Past results don't guarantee future results. Not financial advice.

The rules

After price has moved clearly away from the 10 EMA, it waits for a pullback that touches the average and closes back in the trend's direction. It's a way to join a trend at a better price instead of chasing it.

It only takes longs while the signal candle closes above the 200 EMA and shorts while it closes below, so it trades with the bigger trend.

It enters at the close of the signal candle. The stop goes 1.5 ATR(14) from the entry, and the target is 1.5 times the distance from entry to stop. There's no trailing stop or time exit. Each trade risks 1% of the account with up to 20× leverage, and every result includes XAUUSD's typical trading costs (spread 0.0085% of price, swap 0.02254% / -0.00195% a night, commission $3.50 per lot a side ($7 round turn), slippage 0.002% of price).

SetupAfter price has moved clearly away from the 10 EMA, it pulls back to touch it and closes back in the trend's direction
FilterOnly when the close is on the trade's side of the 200 EMA (above for longs, below for shorts)
EntryAt the close of the signal candle
Stop1.5 ATR(14) from the entry
Target1.5R (1.5 times the distance from entry to stop)
ExitStop or target only: no trailing stop, break-even or time exit
DirectionLong and short (one trade at a time)
Risk1% of the account per trade, up to 20× leverage
CostsSpread 0.0085% of price, swap 0.02254% / -0.00195% a night, commission $3.50 per lot a side ($7 round turn), slippage 0.002% of price

Read nextAlgorithmic trading strategies explainedBest AI trading strategy buildersBest no-code backtesting software

What to expect

Strategy Lab reshuffled this strategy's own trades 1,000 times, in blocks so losing streaks stay together, to show a range of next-12-month outcomes at about 10 trades a year. Plan with half the edge: live results usually keep about half of what a backtest shows.

See the range before you trade it

A bad year, a typical year and a good year, the chance of a losing year and the typical worst drop, as tested and with half the edge. Create a free account and open this strategy in the Strategy Lab hub.

In the backtest, the longest stretch below a previous high lasted 1898 days (6 Jul 2016 to 16 Sept 2021).

Read nextMonte Carlo backtestingMonte Carlo simulator

Year by year

Return by year

  • 2007*+4.60%5 trades
  • 2008+1.89%10 trades
  • 2009+4.06%10 trades
  • 2010+1.54%12 trades
  • 2011+3.40%13 trades
  • 2012−1.03%10 trades
  • 2013+5.09%10 trades
  • 2014+0.05%12 trades
  • 2015+2.01%8 trades
  • 2016+0.22%9 trades
  • 2017−2.58%11 trades
  • 2018+0.72%11 trades
  • 2019−0.11%8 trades
  • 2020+1.77%9 trades
  • 2021+1.32%8 trades
  • 2022+4.59%10 trades
  • 2023−0.75%9 trades
  • 2024+5.18%9 trades
  • 2025+4.39%7 trades
  • 2026*+0.48%9 trades

*Part year: 2007 from 31 Aug 2007 to 31 Dec 2007, 2026 from 1 Jan 2026 to 10 Nov 2026.

Profit and loss by month, in dollars

JanFebMarAprMayJunJulAugSepOctNovDec
2007142288-106
200827141-116-105295159160-108
2009-119149148-127-1304631155160
2010-127-116-132148155145-119146157158-127-118
2011160-130489-127-133164-1324450
201216642-119177-119-118163-164-149
2013-114171352-119178181182-124
2014-120160-12361-122-266180362-124
2015-245181-120368-124185
2016-12241171-13641-149-124183
2017-16525158-125316-137-138-131-122
2018341-136-162-11818061-123-121163
2019141154-273-157140-164146
2020129-132175128148-133-127-129
2021158185-123176-142186-125-124
202213116925362-130-127180
2023352-13823-150-164181-138
2024293-14136936136-141
2025189204-292308191
2026-159-166417-141-303420

Grey months had no trades. Hover a month for its trades, wins and losses.

Where it fails

  • The locked final year was thin (+1.84%, profit factor 1.34, 10 trades).
  • Low frequency: about 9 trades a year, so a prop challenge target usually takes months.

Every trade

#ClosedExitSideEntryExit priceCandlesP&LEquity
19030 Oct 2026TargetShort4,022.123,876.961+$209.90$14,338
18923 Oct 2026TargetShort4,263.504,016.2427+$209.86$14,129
18811 Sept 2026StopLong4,474.064,304.696−$147.78$13,919
1871 Sept 2026StopLong4,522.804,366.619−$154.77$14,066
1865 Aug 2026StopShort4,107.324,267.3421−$140.88$14,221
18524 Jun 2026TargetShort4,258.863,989.955+$209.81$14,362
18410 Jun 2026TargetShort4,329.334,096.383+$207.25$14,152
18327 May 2026StopLong4,706.004,414.4636−$165.71$13,945
18219 Mar 2026StopLong4,963.604,582.7931−$158.95$14,111
18118 Dec 2025TargetLong4,208.694,358.5710+$190.51$14,270
18029 Sept 2025TargetLong3,684.983,797.796+$191.44$14,079
1791 Sept 2025TargetLong3,317.023,482.8367+$117.00$13,888
17812 May 2025StopLong3,334.503,208.405−$145.02$13,771
1771 May 2025StopLong3,349.103,223.605−$147.02$13,916
17611 Apr 2025TargetLong3,082.183,219.012+$203.91$14,063
17516 Jan 2025TargetLong2,649.952,724.207+$189.13$13,859
1746 Nov 2024StopLong2,743.592,697.451−$141.04$13,670
17321 Oct 2024TargetLong2,656.002,727.306+$185.81$13,811
1728 Oct 2024StopLong2,662.822,610.645−$149.34$13,625
17124 Sept 2024TargetLong2,586.482,656.813+$193.83$13,774
Show all 190 trades

Loading trades…

Read nextcTrader trading bot without codingBest trading journal for algo tradersBest trading journal for TradingView

Run it as a bot

Once the strategy holds up, Launchpad runs it on paper, then live on cTrader, Liquid Brokers, Binance Futures or Hyperliquid, with the stop and target attached to every order.

  • Paper:live prices, no broker
  • Copilot:approve each trade in Telegram or the app
  • Autopilot:trades inside your daily limits

Variations to test

  • Longs only

    Keeps the long side only. In this backtest its 129 long trades made +23.3R with a profit factor of 1.32, against +14.3R from the shorts.

    Pullback to moving average on XAUUSD daily candles, long trades only (no shorts): after price has moved clearly away from the 10 EMA, it pulls back to touch it and closes back in the trend's direction. Only take longs when the signal candle closes above the 200 EMA. Enter at the close of the signal candle. Stop 1.5 ATR(14) from the entry. Take profit at 1.5R. Risk 1% of the account per trade with typical costs. Backtest it from 2006-11-17 to 2026-11-16.

    Backtest this variation free

    The button copies this prompt. Paste it into TES and Strategy Lab builds and backtests it.

Backtests are hypothetical: they apply fixed rules to historical data with assumed costs and fills. Past results don't predict future results, and leveraged trading carries a high risk of loss. This is an educational description, not a recommendation.

TesseraFAQ

XAUUSD daily pullback to moving average questions

Rebuild this strategy free

Paste the prompt into TES and Strategy Lab backtests it on your own markets. No code, no card.