XAUUSD 1h Bollinger band breakout (New York) strategy
Enter when the candle closes above the upper Bollinger band(20, 2) for longs, below the lower band for shorts, with the 200 EMA trend. XAUUSD 1-hour candles, long and short, 5R target.
Found by searching 2782 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 52 trades a year. It only takes signals in the New York session (13:00 to 22:00 UTC).
- Style
- Breakout
- Timeframe
- 1 hour
- Test period
- Jan 2020 to Nov 2026
- Tested
- 18 November 2026
- Market
- XAUUSD (spot gold)
Return
+190.9%
Profit factor
1.37
Win rate
24.1%
Max drawdown
−17.10%
Prompt for TES
Tessera's AI strategy coach builds and backtests it
Bollinger band breakout on XAUUSD 1-hour candles, trading both longs and shorts: enter when the candle closes above the upper Bollinger band(20, 2) for longs, below the lower band for shorts. Only take longs when the signal candle closes above the 200 EMA, and shorts when it closes below it. Only take signals on candles that open between 13:00 and 22:00 UTC. Enter at the close of the signal candle. Stop 2.5 ATR(14) from the entry. Take profit at 5R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-01-24 to 2026-11-16.
- 1Copy the prompt
- 2Backtest it free
- 3Run it as a bot
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.
Is the Bollinger band breakout strategy profitable on XAUUSD?
In this backtest, yes. On XAUUSD 1-hour candles from Jan 2020 to Nov 2026 it made +191% after costs, with a profit factor of 1.37, a 24.1% win rate and a maximum drawdown of 17.10%, over 352 trades.
It held up on an unseen period it was never tuned on (+108.2% over the last 741 days), and the last 12 months, locked away during the search, held up (+15.14% on 59 trades). Plan for less live: with half the edge, a typical year is +5.1%.
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 1-hour candles and trades both directions, with up to 20× leverage.
About 52 trades a year, so expect a few trades a month. It's one of the better fits for a prop firm challenge in the library.
Prop firm results
Tested against
Verdict
Holds up on prop firm challenges
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
+190.9%
Jan 2020 to Nov 2026
Profit factor
1.37
Win rate
24.1%
Max drawdown
−17.10%
Trades
352
about 52 a year
Last 12 months
+15.14%
Nov 2025 to Nov 2026 · 59 trades
| Net profit | +$19,089.61 ($10,000 → $29,089.61) |
|---|---|
| Average trade | +0.33R / +$54.23 |
| Total R | +117.8R |
| Profit factor in R | 1.41 |
| Average win / loss | +$831.14 (+4.78R) / −$193.10 (−1.08R) |
| Largest win / loss | +$1,392.28 / −$365.34 |
| Targets / stops hit | 85 / 267 |
| Longest win / loss streak | 7 / 18 |
|---|---|
| Median hold | 41 candles (1 hour) |
| Max drawdown | −$3,396.88 (−18.66R) |
| Buy and hold, same dates | +147.4% |
| Longs / shorts | +110.5R (200) / +7.3R (152) |
| Signals | 2023 (1671 position open) |
XAUUSD 1-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 2782 variants on XAUUSD 1-hour 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.
- 2,782Variants searched
- 436Passed the search bar: 40+ trades, profit factor 1.2+, return at least the drawdown, both halves profitable
- 32Had profitable neighbouring settings, so not a one-setting fluke
- 5Top 5 tested once on the locked last 12 months
- 1Stayed profitable on the locked last 12 months. This is the strongest
| Setup | Target | Filter | Side | Search period | Last 12 months | |
|---|---|---|---|---|---|---|
| Bollinger band breakout 30 | 2.5R | 50 EMA trend | Longs only | +172.22% | +3.91% | |
| Previous week high/low break | 2R | 50 EMA trend | Longs only | +56.17% | −3.30% | |
| Previous day high/low break | 4R | None | Longs only | +201.45% | +4.41% | |
| Bollinger band breakout 20 | 5R | 200 EMA trend | Long and short | +152.66% | +15.14% | This strategy |
| Bollinger band breakout 14 | 4R | None | Longs only | +487.00% | +4.15% |
Search period
24 Jan 2020 to 16 Nov 2025
- Return
- +152.66%
- Profit factor
- 1.40
- Trades
- 293
- Max drawdown
- −17.10%
Last 12 months, locked
16 Nov 2025 to 16 Nov 2026, tested once
- Return
- +15.14%
- Profit factor
- 1.29
- Trades
- 59
- Max drawdown
- −10.68%
The locked last 12 months made +15.14% with a profit factor of 1.29, 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 (741 days, from 1 Nov 2024) unseen. It did as well after the cut as before it.
Before the cut
70% of the history
- Return
- +82.72%
- Profit factor
- 1.26
- Trades
- 249
- Win rate
- 23.3%
Unseen period
Last 741 days
- Return
- +108.18%
- Profit factor
- 1.55
- Trades
- 103
- Win rate
- 26.2%
3. Robustness: sensitive
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 +110.4% to +236.8%, 48% of trades unchanged
Double costs
+94.4%
Stop hit first inside a candle
+190.9%
Unseen period
+108.2% over 741 days
Last 12 months (locked)
+15.14%, profit factor 1.29 on 59 trades
Recent results
Traded results
Updated
Last 30 days
Return
+7.02%
27 Oct to 26 Nov
Total P&L
+$702.19
$0.00 open
Total R
+7.05R
Trades
5
2 won
Win rate
40.0%
profit factor 3.25
Max drawdown
−2.03%
Open positions
No open positions. The strategy is watching the market for its next setup.
Closed trades
| Closed | Result | P&L | Market | Side | Closed | Entry | Exit | Result | P&L |
|---|---|---|---|---|---|---|---|---|---|
| 25 Nov, 17:00 | Stop | −$108.54 (−1.00R) | XAUUSD | Short | 25 Nov 2026, 17:00 UTC | 3,448.48 | 3,513.78 | Stop | −$108.54 (−1.00R) |
| 25 Nov, 15:00 | Target | +$524.40 (+5.10R) | XAUUSD | Short | 25 Nov 2026, 15:00 UTC | 3,676.45 | 3,443.42 | Target | +$524.40 (+5.10R) |
| 16 Nov, 18:00 | Target | +$489.80 (+5.00R) | XAUUSD | Short | 16 Nov 2026, 18:00 UTC | 4,052.44 | 3,844.39 | Target | +$489.80 (+5.00R) |
| 10 Nov, 09:00 | Stop | −$102.74 (−1.04R) | XAUUSD | Long | 10 Nov 2026, 09:00 UTC | 4,142.28 | 4,101.59 | Stop | −$102.74 (−1.04R) |
| 2 Nov, 16:00 | Stop | −$100.73 (−1.01R) | XAUUSD | Short | 2 Nov 2026, 16:00 UTC | 3,922.44 | 3,968.53 | Stop | −$100.73 (−1.01R) |
Last 7 days
Return
+4.04%
19 Nov to 26 Nov
Total P&L
+$404.28
$0.00 open
Total R
+4.09R
Trades
2
1 won
Win rate
50.0%
profit factor 4.83
Max drawdown
−1.00%
Open positions
No open positions. The strategy is watching the market for its next setup.
Closed trades
| Closed | Result | P&L | Market | Side | Closed | Entry | Exit | Result | P&L |
|---|---|---|---|---|---|---|---|---|---|
| 25 Nov, 17:00 | Stop | −$105.52 (−1.00R) | XAUUSD | Short | 25 Nov 2026, 17:00 UTC | 3,448.48 | 3,513.78 | Stop | −$105.52 (−1.00R) |
| 25 Nov, 15:00 | Target | +$509.80 (+5.10R) | XAUUSD | Short | 25 Nov 2026, 15:00 UTC | 3,676.45 | 3,443.42 | Target | +$509.80 (+5.10R) |
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 takes longs while the signal candle closes above the 200 EMA and shorts while it closes below, so it trades with the bigger trend. Signals only count on 1-hour candles that open between 13:00 and 22:00 UTC, the New York session, though a trade can run past 22:00.
It enters at the close of the signal candle. The stop goes 2.5 ATR(14) from the entry, and the target is 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).
| Setup | The candle closes above the upper Bollinger band(20, 2) for longs, below the lower band for shorts |
|---|---|
| Filter | Only when the close is on the trade's side of the 200 EMA (above for longs, below for shorts) |
| Session | Signals only on candles that open between 13:00 and 22:00 UTC (the New York session). Trades can run past 22:00 |
| Entry | At the close of the signal candle |
| Stop | 2.5 ATR(14) from the entry |
| Target | 5R (5 times the distance from entry to stop) |
| Exit | Stop or target only: no trailing stop, break-even or time exit |
| Direction | Long and short (one trade at a time) |
| Risk | 1% of the account per trade, up to 20× leverage |
| 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 |
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 52 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 316 days (6 Aug 2020 to 18 Jun 2021).
Year by year
Return by year
- 2020*+14.07%46 trades
- 2021+20.98%40 trades
- 2022+19.57%63 trades
- 2023+16.56%48 trades
- 2024−4.23%57 trades
- 2025+34.74%46 trades
- 2026*+17.21%52 trades
*Part year: 2020 from 7 Feb 2020 to 31 Dec 2020, 2026 from 1 Jan 2026 to 12 Nov 2026.
Profit and loss by month, in dollars
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2020 | 1249 | 300 | 711 | -806 | -102 | 1398 | 82 | -398 | -660 | -259 | ||
| 2021 | -108 | 577 | -111 | 807 | 639 | -564 | 43 | 68 | -256 | 965 | -342 | |
| 2022 | 1253 | 732 | -550 | 785 | 446 | -1534 | -36 | 1055 | 123 | -409 | 197 | 464 |
| 2023 | 1126 | 480 | -805 | 340 | -695 | 624 | -591 | -668 | 230 | 1430 | 843 | 1161 |
| 2024 | -2065 | -235 | 2188 | 454 | 254 | -1039 | -149 | 93 | -273 | 536 | -402 | |
| 2025 | 1163 | 231 | 302 | 539 | -630 | 334 | -1250 | 173 | 1858 | 4196 | -443 | |
| 2026 | 3234 | -680 | 767 | -941 | -93 | 1600 | -2293 | -457 | 2075 | 809 |
Grey months had no trades. Hover a month for its trades, wins and losses.
Where it fails
- Deep drawdown at 1% risk (−17.1%): hard to sit through, and too deep for a prop account without lower risk.
- Low win rate (24%): long losing streaks (up to 18) are normal.
- The robustness test rated it sensitive: results move with small changes in the price feed.
Every trade
| # | Closed | Exit | Side | Entry | Exit price | Candles | P&L | Equity |
|---|---|---|---|---|---|---|---|---|
| 352 | 16 Nov 2026 | Target | Short | 4,052.69 | 3,844.23 | 84 | +$1,384.10 | $29,090 |
| 351 | 10 Nov 2026 | Stop | Long | 4,142.02 | 4,101.85 | 12 | −$290.19 | $27,706 |
| 350 | 2 Nov 2026 | Stop | Short | 3,922.68 | 3,968.29 | 25 | −$284.82 | $27,996 |
| 349 | 23 Oct 2026 | Target | Short | 4,145.76 | 3,978.65 | 92 | +$1,343.88 | $28,281 |
| 348 | 19 Oct 2026 | Stop | Long | 4,175.13 | 4,142.97 | 40 | −$309.28 | $26,937 |
| 347 | 15 Oct 2026 | Stop | Short | 4,089.36 | 4,133.97 | 10 | −$277.90 | $27,246 |
| 346 | 7 Oct 2026 | Target | Short | 4,415.73 | 4,086.80 | 528 | +$1,318.36 | $27,524 |
| 345 | 31 Aug 2026 | Stop | Long | 4,460.36 | 4,410.15 | 173 | −$332.14 | $26,205 |
| 344 | 19 Aug 2026 | Stop | Short | 4,335.68 | 4,371.53 | 14 | −$271.74 | $26,538 |
| 343 | 18 Aug 2026 | Stop | Long | 4,383.76 | 4,343.53 | 52 | −$301.52 | $26,809 |
| 342 | 14 Aug 2026 | Stop | Long | 4,378.99 | 4,340.30 | 74 | −$306.23 | $27,111 |
| 341 | 6 Aug 2026 | Target | Long | 4,084.76 | 4,283.27 | 33 | +$1,290.76 | $27,417 |
| 340 | 4 Aug 2026 | Stop | Short | 4,032.21 | 4,068.74 | 10 | −$267.29 | $26,126 |
| 339 | 2 Aug 2026 | Stop | Short | 4,028.85 | 4,062.22 | 8 | −$269.32 | $26,394 |
| 338 | 29 Jul 2026 | Stop | Long | 4,108.26 | 4,062.91 | 1 | −$272.35 | $26,663 |
| 337 | 29 Jul 2026 | Stop | Short | 4,005.05 | 4,035.07 | 4 | −$277.14 | $26,935 |
| 336 | 26 Jul 2026 | Stop | Short | 4,045.75 | 4,084.49 | 31 | −$276.57 | $27,212 |
| 335 | 20 Jul 2026 | Stop | Short | 3,989.71 | 4,028.43 | 41 | −$279.50 | $27,489 |
| 334 | 15 Jul 2026 | Stop | Long | 4,086.44 | 4,042.68 | 10 | −$290.13 | $27,769 |
| 333 | 14 Jul 2026 | Stop | Short | 4,012.56 | 4,059.03 | 21 | −$286.03 | $28,059 |
Show the latest 250 of 352 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 200 long trades made +110.5R with a profit factor of 1.63, against +7.3R from the shorts.
Bollinger band breakout on XAUUSD 1-hour candles, long trades only (no shorts): enter when the candle closes above the upper Bollinger band(20, 2). Only take longs when the signal candle closes above the 200 EMA. Only take signals on candles that open between 13:00 and 22:00 UTC. Enter at the close of the signal candle. Stop 2.5 ATR(14) from the entry. Take profit at 5R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-01-24 to 2026-11-16.
Backtest this variation freeThe 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.