USO daily Donchian breakout strategy
Enter when the close breaks above the highest high of the last 55 bars for longs, below the lowest low for shorts, with the 200 EMA trend. USO daily candles, long and short, 3R target.
Found by searching 1427 variants of 50 setups on USO (United States Oil Fund (crude oil ETF, the Lab's stand-in for WTI)), 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 9 trades a year.
- Style
- Breakout
- Timeframe
- Daily
- Test period
- Nov 2006 to Nov 2026
- Tested
- 18 November 2026
- Market
- USO (United States Oil Fund (crude oil ETF, the Lab's stand-in for WTI))
Return
+54.1%
Profit factor
1.29
Win rate
35.9%
Max drawdown
−10.79%
Prompt for TES
Tessera's AI strategy coach builds and backtests it
Donchian breakout on USO daily candles, trading both longs and shorts: enter when the close breaks above the highest high of the last 55 bars for longs, below the lowest low for shorts. 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 0.25 ATR(14) beyond the signal candle's low for longs (high for shorts). Take profit at 3R. Risk 1% of the account per trade with typical costs. Backtest it from 2006-11-20 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 Donchian breakout strategy profitable on USO?
In this backtest, yes. On USO daily candles from Nov 2006 to Nov 2026 it made +54.1% after costs, with a profit factor of 1.29, a 35.9% win rate and a maximum drawdown of 10.79%, over 181 trades.
It stayed profitable, though weaker, on an unseen period it was never tuned on (−1.7% over the last 2094 days), and the locked last 12 months stayed profitable (+2.21% on 11 trades). Plan for less live: with half the edge, a typical year is +0.3%.
A USO trading strategy
USO is United States Oil Fund (crude oil ETF, the Lab's stand-in for WTI), traded on US exchanges and as a CFD at many brokers. This strategy looks for a close beyond the Donchian channel on daily candles and trades both directions, with no leverage.
About 9 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
Verdict
Can pass 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
+54.1%
Nov 2006 to Nov 2026
Profit factor
1.29
Win rate
35.9%
Max drawdown
−10.79%
Trades
181
about 9 a year
Last 12 months
+2.21%
Nov 2025 to Nov 2026 · 11 trades
| Net profit | +$5,411.17 ($10,000 → $15,411.17) |
|---|---|
| Average trade | +0.26R / +$29.90 |
| Total R | +47.1R |
| Profit factor in R | 1.33 |
| Average win / loss | +$369.64 (+2.92R) / −$160.48 (−1.23R) |
| Largest win / loss | +$672.13 / −$421.71 |
| Targets / stops hit | 65 / 116 |
| Longest win / loss streak | 6 / 10 |
|---|---|
| Median hold | 4 candles (Daily) |
| Max drawdown | −$1,795.71 (−13.73R) |
| Buy and hold, same dates | −65.7% |
| Longs / shorts | +15.8R (100) / +31.4R (81) |
| Signals | 438 (257 position open) |
USO daily candles, 20 November 2006 to 16 November 2026, starting with $10,000. 1% risk per trade, no leverage. Costs are included in every figure. US ETF bars (USO tracks oil futures, so it drifts from spot oil over time and trades US hours only).
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 1427 variants on USO 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,427Variants searched
- 92Passed the search bar: 40+ trades, profit factor 1.2+, return at least the drawdown, both halves profitable
- 9Had 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 | |
|---|---|---|---|---|---|---|
| Donchian breakout 55 | 3R | 200 EMA trend | Long and short | +50.78% | +2.21% | This strategy |
| Supertrend flip 3 | 1.5R | 50 EMA trend | Long and short | +38.70% | +1.60% | |
| Swing high/low breakout 5 | 1R | None | Long and short | +53.97% | −4.81% | |
| Swing high/low breakout 3 | 1R | 200 EMA trend | Shorts only | +32.26% | −2.38% | |
| Swing high/low breakout 2 | 1R | 200 EMA trend | Shorts only | +43.50% | −4.06% |
Search period
20 Nov 2006 to 16 Nov 2025
- Return
- +50.78%
- Profit factor
- 1.29
- Trades
- 170
- Max drawdown
- −12.08%
Last 12 months, locked
16 Nov 2025 to 16 Nov 2026, tested once
- Return
- +2.21%
- Profit factor
- 1.24
- Trades
- 11
- Max drawdown
- −5.11%
The locked last 12 months made +2.21% with a profit factor of 1.24, 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: failed
Separately, Strategy Lab's walk-forward check kept the last 30% of the history (2094 days, from 27 Jan 2021) unseen. It lost money after the cut, which is a warning sign.
Before the cut
70% of the history
- Return
- +55.85%
- Profit factor
- 1.54
- Trades
- 118
- Win rate
- 39.8%
Unseen period
Last 2094 days
- Return
- −1.74%
- Profit factor
- 0.98
- Trades
- 63
- Win rate
- 28.6%
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 +48.0% to +71.2%, 94% of trades unchanged
Double costs
+18.8%
Stop hit first inside a candle
+54.1%
Unseen period
−1.7% over 2094 days
Last 12 months (locked)
+2.21%, profit factor 1.24 on 11 trades
Recent results
Traded results
Updated
No trades in the last 30 days
It only trades when its setup appears, so quiet weeks are normal.
No trades in the last 7 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
A Donchian channel tracks the highest high and lowest low of the last 55 candles. A close beyond it means price has broken out of its recent range, and the strategy trades in the direction of the break.
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 0.25 ATR(14) beyond the signal candle's low for longs, high for shorts, and the target is 3 times the distance from entry to stop. There's no trailing stop or time exit. Each trade risks 1% of the account with no leverage, and every result includes USO's typical trading costs (spread 0.05% of price, swap 0.025% / 0.015% a night, commission $3.50 per lot a side ($7 round turn), slippage 0.005% of price).
| Setup | The close breaks above the highest high of the last 55 bars for longs, below the lowest low for shorts |
|---|---|
| Filter | Only when the close is on the trade's side of the 200 EMA (above for longs, below for shorts) |
| Entry | At the close of the signal candle |
| Stop | 0.25 ATR(14) beyond the signal candle's low for longs, high for shorts |
| Target | 3R (3 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, no leverage |
| Costs | Spread 0.05% of price, swap 0.025% / 0.015% a night, commission $3.50 per lot a side ($7 round turn), slippage 0.005% 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 9 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 1601 days (8 Jun 2022 to 26 Oct 2026).
Year by year
Return by year
- 2007*+1.60%6 trades
- 2008+13.49%20 trades
- 2009−2.08%2 trades
- 2010−4.58%7 trades
- 2011+5.22%9 trades
- 2012−3.80%10 trades
- 2013+1.21%8 trades
- 2014+15.26%11 trades
- 2015+9.97%6 trades
- 2016+1.41%9 trades
- 2017+4.18%6 trades
- 2018+0.25%8 trades
- 2019−3.40%6 trades
- 2020+8.88%10 trades
- 2021−3.78%16 trades
- 2022+6.32%9 trades
- 2023−5.76%11 trades
- 2024+4.96%6 trades
- 2025−5.58%11 trades
- 2026*+3.50%10 trades
*Part year: 2007 from 12 Sept 2007 to 31 Dec 2007, 2026 from 1 Jan 2026 to 23 Oct 2026.
Profit and loss by month, in dollars
| Jan | Feb | Mar | Apr | May | Jun | Jul | Aug | Sep | Oct | Nov | Dec | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2007 | 254 | 112 | -207 | |||||||||
| 2008 | -105 | -89 | 157 | 716 | -95 | -117 | 483 | 154 | 106 | 161 | ||
| 2009 | -111 | -129 | ||||||||||
| 2010 | -111 | -140 | 141 | -137 | -125 | |||||||
| 2011 | -146 | -126 | 461 | 164 | -113 | 176 | ||||||
| 2012 | -123 | -151 | 301 | 229 | -170 | -130 | -115 | -272 | ||||
| 2013 | -75 | -125 | -115 | -284 | 569 | -101 | ||||||
| 2014 | 264 | -144 | -117 | 179 | 178 | 252 | 626 | 710 | ||||
| 2015 | 355 | -136 | 630 | |||||||||
| 2016 | 1085 | -181 | 263 | -318 | -233 | |||||||
| 2017 | 80 | -228 | 346 | |||||||||
| 2018 | 395 | -194 | -44 | -176 | 232 | 419 | ||||||
| 2019 | 26 | -162 | -153 | -414 | ||||||||
| 2020 | 325 | -237 | 848 | 898 | -172 | -195 | -197 | |||||
| 2021 | 665 | -371 | -203 | 92 | -170 | -261 | 40 | -209 | -171 | |||
| 2022 | 413 | 487 | 292 | 279 | -356 | -168 | ||||||
| 2023 | -180 | -182 | 261 | -335 | -483 | |||||||
| 2024 | -175 | 807 | -166 | 280 | ||||||||
| 2025 | 567 | -143 | -344 | -335 | -438 | -188 | ||||||
| 2026 | 960 | -163 | -178 | -165 | 227 | -160 |
Grey months had no trades. Hover a month for its trades, wins and losses.
Where it fails
- The locked final year was thin (+2.21%, profit factor 1.24, 11 trades).
- Low frequency: about 9 trades a year, so a prop challenge target usually takes months.
- The Lab's unseen-period check: failed.
Every trade
| # | Closed | Exit | Side | Entry | Exit price | Candles | P&L | Equity |
|---|---|---|---|---|---|---|---|---|
| 181 | 26 Oct 2026 | Stop | Long | 169.53 | 164.88 | 1 | −$160.47 | $15,411 |
| 180 | 21 Sept 2026 | Stop | Long | 158.38 | 148.88 | 7 | −$220.41 | $15,572 |
| 179 | 10 Sept 2026 | Target | Long | 146.03 | 158.10 | 2 | +$447.28 | $15,792 |
| 178 | 7 Jul 2026 | Stop | Short | 103.27 | 106.21 | 3 | −$164.62 | $15,345 |
| 177 | 1 May 2026 | Stop | Long | 150.63 | 143.53 | 2 | −$177.81 | $15,509 |
| 176 | 7 Apr 2026 | Stop | Long | 137.92 | 130.03 | 2 | −$162.88 | $15,687 |
| 175 | 31 Mar 2026 | Stop | Long | 129.83 | 124.49 | 1 | −$160.04 | $15,850 |
| 174 | 9 Mar 2026 | Stop | Long | 108.77 | 103.54 | 1 | −$161.73 | $16,010 |
| 173 | 6 Mar 2026 | Target | Long | 87.19 | 105.38 | 4 | +$609.85 | $16,172 |
| 172 | 2 Mar 2026 | Target | Long | 75.66 | 87.62 | 23 | +$672.13 | $15,562 |
| 171 | 17 Dec 2025 | Stop | Short | 66.17 | 67.22 | 1 | −$188.36 | $14,890 |
| 170 | 23 Oct 2025 | Stop | Short | 69.39 | 73.11 | 9 | −$253.95 | $15,078 |
| 169 | 8 Oct 2025 | Stop | Short | 71.54 | 73.52 | 4 | −$183.73 | $15,332 |
| 168 | 23 Jun 2025 | Stop | Long | 82.30 | 79.49 | 3 | −$167.86 | $15,516 |
| 167 | 16 Jun 2025 | Stop | Long | 80.22 | 78.13 | 1 | −$167.07 | $15,684 |
| 166 | 9 Apr 2025 | Stop | Short | 63.34 | 67.42 | 1 | −$163.75 | $15,851 |
| 165 | 7 Apr 2025 | Stop | Short | 67.92 | 68.93 | 1 | −$179.87 | $16,015 |
| 164 | 6 Mar 2025 | Stop | Short | 71.42 | 71.90 | 1 | −$142.53 | $16,194 |
| 163 | 27 Jan 2025 | Stop | Long | 80.64 | 78.97 | 10 | −$206.95 | $16,337 |
| 162 | 10 Jan 2025 | Target | Long | 77.92 | 81.54 | 4 | +$545.91 | $16,544 |
Show all 181 trades
Loading trades…
Read nextCreate a 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 or Liquid Brokers, 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 100 long trades made +15.8R with a profit factor of 1.23, against +31.4R from the shorts.
Donchian breakout on USO daily candles, long trades only (no shorts): enter when the close breaks above the highest high of the last 55 bars. Only take longs when the signal candle closes above the 200 EMA. Enter at the close of the signal candle. Stop 0.25 ATR(14) beyond the signal candle's low. Take profit at 3R. Risk 1% of the account per trade with typical costs. Backtest it from 2006-11-20 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.