Strategy Lab verdict: WinnerCan pass prop firm challenges

XAUUSD 4h Bollinger band breakout strategy

Buy when the candle closes above the upper Bollinger band(20, 2), only when volatility is higher than usual. XAUUSD 4-hour candles, long only, 1.5R target.

Found by searching 792 variants of 20 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 only, about 25 trades a year. It only takes signals in the London session (08:00 to 17:00 UTC).

Style
Breakout
Timeframe
4 hours
Test period
Jan 2020 to Nov 2026
Tested
16 November 2026
Market
XAUUSD (spot gold)
Equity, after costs$10,000 → $19,485
$5k$10k$15k$20k$25k
202120222023202420252026

Return

+94.9%

Profit factor

1.97

Win rate

58.3%

Max drawdown

−4.66%

Prompt for TES

Tessera's AI strategy coach builds and backtests it

Bollinger band breakout on XAUUSD 4-hour candles, long trades only (no shorts): buy when the candle closes above the upper Bollinger band(20, 2). Only take the trade when the daily ATR(14) is above the daily ATR(100). Only take signals on candles that open between 08:00 and 17:00 UTC (the London session). Enter at the close of the signal candle. Stop 0.25 ATR(14) beyond the signal candle's low. Take profit at 1.5R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-01-24 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:Can pass prop firm challenges, tested on 4 challengesSign up free to see the pass rates

Is the Bollinger band breakout strategy profitable on XAUUSD?

In this backtest, yes. On XAUUSD 4-hour candles from Jan 2020 to Nov 2026 it made +94.8% after costs, with a profit factor of 1.97, a 58.3% win rate and a maximum drawdown of 4.66%, over 168 trades.

It held up on an unseen period it was never tuned on (+78.8% over the last 645 days), and the last 12 months, locked away during the search, were strong (+13.78% on 34 trades). Plan for less live: with half the edge, a typical year is +6.3%.

A gold trading strategy for XAUUSD

XAUUSD is spot gold priced in US dollars. This strategy looks for a close outside the Bollinger bands on 4-hour candles and trades only long, with up to 20× leverage.

About 25 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

FTMOThe5ersTopstep

Verdict

Can pass prop firm challenges

We ran this strategy's own trades through 4 challenges (FTMO 1-Step, FTMO 2-Step, The5ers 1-Step, Topstep 50K), 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 rulesTopstep algo trading rulesProp firm consistency rule

Backtest results

Return

+94.9%

Jan 2020 to Nov 2026

Profit factor

1.97

Win rate

58.3%

Max drawdown

−4.66%

Trades

168

about 25 a year

Last 12 months

+13.78%

Nov 2025 to Nov 2026 · 34 trades

Equity, after costs$10,000 → $19,485
$5k$10k$15k$20k$25k
202120222023202420252026
Net profit+$9,484.90 ($10,000 → $19,484.90)
Average trade+0.47R / +$56.46
Total R+79.2R
Profit factor in R2.09
Average win / loss+$196.18 (+1.55R) / −$139.16 (−1.04R)
Largest win / loss+$646.71 / −$471.34
Targets / stops hit98 / 70
Longest win / loss streak15 / 6
Median hold4 candles (4 hours)
Max drawdown−$948.27 (−7.50R)
Buy and hold, same dates+146.0%
Signals318 (150 other side or filter)

XAUUSD 4-hour candles, 24 January 2020 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 792 variants on XAUUSD 4-hour candles, across setups, settings, targets, a 200 EMA trend filter 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. 792Variants searched
  2. 102Passed the search bar: 40+ trades, profit factor 1.2+, return at least the drawdown, both halves profitable
  3. 102Had profitable neighbouring settings, so not a one-setting fluke
  4. 5Top 5 tested once on the locked last 12 months
  5. 5Stayed profitable on the locked last 12 months. This is the strongest
SetupTargetFilterSideSearch periodLast 12 months
Bollinger band breakout 201.5RHigh volatility onlyLongs only+71.25%+13.78%This strategy
Bollinger band breakout 141.5R200 EMA trendLongs only+137.66%+8.75%Also held
Bollinger band breakout 141.5RHigh volatility onlyLongs only+67.05%+6.47%Also held
Bollinger band breakout 142R200 EMA trendLongs only+188.99%+11.61%Also held
Bollinger band breakout 142RHigh volatility onlyLongs only+79.67%+7.75%Also held

Search period

24 Jan 2020 to 16 Nov 2025

Return
+71.25%
Profit factor
2.09
Trades
134
Max drawdown
−8.81%

Last 12 months, locked

16 Nov 2025 to 16 Nov 2026, tested once

Strong
Return
+13.78%
Profit factor
1.73
Trades
34
Max drawdown
−4.66%

The locked last 12 months made +13.78% with a profit factor of 1.73, 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 (645 days, from 25 Sept 2024) unseen. It did as well after the cut as before it.

Before the cut

70% of the history

Return
+16.00%
Profit factor
1.30
Trades
93
Win rate
49.5%

Unseen period

Last 645 days

Held up
Return
+78.85%
Profit factor
2.82
Trades
75
Win rate
69.3%

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 +75.0% to +126.6%, 87% of trades unchanged

  • Half costs

    +104.8%

  • Double costs

    +76.4%

  • Stop hit first inside a candle

    +90.1%

  • Unseen period

    +78.8% over 645 days

  • Last 12 months (locked)

    +13.78%, profit factor 1.73 on 34 trades

Read nextOut-of-sample testingIs my backtest overfit?

Recent results

Period

Updated

No trades in the last 30 days

It only trades when its setup appears, so quiet weeks are normal.

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

Bollinger bands sit two standard deviations above and below a 20-period average, so a close outside them means price has moved further than it usually does. This strategy treats that as the start of a move, not an extreme to fade: it trades in the direction of the close.

It only trades when the daily ATR(14) is above the daily ATR(100), meaning the market is moving more than it usually does. Quiet periods are skipped. It only buys and never shorts, so it makes its money when Gold rises. Signals only count on 4-hour candles that open between 08:00 and 17:00 UTC, the London session, though a trade can run past 17:00.

It enters at the close of the signal candle. The stop goes 0.25 ATR(14) beyond the signal candle's low, so a failed signal costs a small, fixed amount, and the target is 1.5 times that risk. 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 spread (0.0085% of price, swap 0.02% / 0.005% a night).

SetupThe candle closes above the upper Bollinger band(20, 2) for longs, below the lower band for shorts
FilterOnly when the daily ATR(14) is above the daily ATR(100) (higher than usual volatility)
SessionSignals only on candles that open between 08:00 and 17:00 UTC (the London session). Trades can run past 17:00
EntryAt the close of the signal candle
Stop0.25 ATR(14) beyond the signal candle's low
Target1.5R (1.5 times the distance from entry to stop)
ExitStop or target only: no trailing stop, break-even or time exit
DirectionLong only
Risk1% of the account per trade, up to 20× leverage
CostsXAUUSD's typical spread (0.0085% of price, swap 0.02% / 0.005% a night)

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 29 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 944 days (18 Aug 2020 to 20 Mar 2023).

Read nextMonte Carlo backtestingMonte Carlo simulator

Year by year

Return by year

  • 2020*−6.55%11 trades
  • 2022+8.26%26 trades
  • 2023+4.29%17 trades
  • 2024+13.60%43 trades
  • 2025+50.13%49 trades
  • 2026*+8.28%22 trades

*Part year: 2020 from 11 Aug 2020 to 31 Dec 2020, 2026 from 1 Jan 2026 to 2 Jul 2026.

Profit and loss by month, in dollars

JanFebMarAprMayJunJulAugSepOctNovDec
2020-169-276-112-98
202222464-67-100-9872554123
2023-64-7962730-81
20244835362689-247-10-157329168217
20253477953885723186291365781813
20261411-3981139-74179

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

Where it fails

  • Long only: it makes money when Gold trends up and sits out or loses in sell-offs.
  • Low frequency: about 25 trades a year, so a prop challenge target usually takes months.

Every trade

#ClosedExitSideEntryExit priceCandlesP&LEquity
1688 Jul 2026StopLong4,117.964,046.7624−$203.57$19,485
1673 Jul 2026TargetLong4,118.554,161.953+$282.88$19,688
16620 Apr 2026StopLong4,866.954,773.123−$471.34$19,406
16517 Apr 2026TargetLong4,810.074,881.7518+$275.11$19,877
16415 Apr 2026StopLong4,841.714,801.974−$204.79$19,602
1637 Apr 2026TargetLong4,706.394,797.431+$290.94$19,807
1622 Apr 2026StopLong4,683.744,591.259−$209.68$19,516
1612 Apr 2026StopLong4,786.854,703.143−$208.77$19,725
1602 Apr 2026StopLong4,755.654,697.454−$212.64$19,934
15911 Mar 2026StopLong5,228.685,148.638−$207.10$20,147
1582 Mar 2026TargetLong5,383.465,406.641+$294.84$20,354
1572 Mar 2026TargetLong5,251.025,387.252+$646.71$20,059
1562 Mar 2026TargetLong5,242.175,387.253+$404.91$19,412
15524 Feb 2026StopLong5,197.365,133.786−$198.44$19,007
15424 Feb 2026StopLong5,215.665,169.442−$199.89$19,206
15321 Jan 2026TargetLong4,760.804,820.462+$275.75$19,406
15220 Jan 2026TargetLong4,732.314,769.583+$279.41$19,130
15120 Jan 2026TargetLong4,675.204,709.924+$267.77$18,851
15016 Jan 2026StopLong4,621.954,570.4524−$209.06$18,583
14912 Jan 2026TargetLong4,583.624,601.461+$271.58$18,792
Show all 168 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

  • Setting 14

    Another variant that held up. In the search it made +67.0%, and +6.5% on the locked last 12 months.

    Bollinger band breakout on XAUUSD 4-hour candles, long trades only (no shorts): buy when the candle closes above the upper Bollinger band(14, 2). Only take the trade when the daily ATR(14) is above the daily ATR(100). Only take signals on candles that open between 08:00 and 17:00 UTC (the London session). Enter at the close of the signal candle. Stop 0.25 ATR(14) beyond the signal candle's low. Take profit at 1.5R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-01-24 to 2026-11-16.

    Backtest this variation free

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

  • Setting 14 and 2R target

    Another variant that held up. In the search it made +79.7%, and +7.8% on the locked last 12 months.

    Bollinger band breakout on XAUUSD 4-hour candles, long trades only (no shorts): buy when the candle closes above the upper Bollinger band(14, 2). Only take the trade when the daily ATR(14) is above the daily ATR(100). Only take signals on candles that open between 08:00 and 17:00 UTC (the London session). Enter at the close of the signal candle. Stop 0.25 ATR(14) beyond the signal candle's low. Take profit at 2R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-01-24 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 4h Bollinger band breakout questions

Rebuild this strategy free

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