USO 4h Williams %R cross strategy
Buy when Williams %R(7) crosses above -80. USO 4-hour candles, long only, 1R target.
Found by searching 1440 variants of 49 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 only, about 10 trades a year. It takes signals at any hour the market trades.
- Style
- Momentum
- Timeframe
- 4 hours
- Test period
- Feb 2020 to Nov 2026
- Tested
- 18 November 2026
- Market
- USO (United States Oil Fund (crude oil ETF, the Lab's stand-in for WTI))
Return
+38.1%
Profit factor
2.19
Win rate
70.0%
Max drawdown
−2.48%
Prompt for TES
Tessera's AI strategy coach builds and backtests it
Williams %R cross on USO 4-hour candles, long trades only (no shorts): buy when Williams %R(7) crosses above -80. Take signals at any time of day (all sessions). Enter at the close of the signal candle. Stop beyond the last swing low. Take profit at 1R. Risk 1% of the account per trade with typical costs. Backtest it from 2020-02-10 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 Williams %R cross strategy profitable on USO?
In this backtest, yes. On USO 4-hour candles from Feb 2020 to Nov 2026 it made +38.1% after costs, with a profit factor of 2.19, a 70.0% win rate and a maximum drawdown of 2.48%, over 70 trades.
It stayed profitable, though weaker, on an unseen period it was never tuned on (+8.6% over the last 737 days), and the locked last 12 months stayed profitable (+2.97% on 10 trades). Plan for less live: with half the edge, a typical year is +2.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 Williams %R cross out of overbought or oversold on 4-hour candles and trades only long, with no leverage.
About 10 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
+38.1%
Feb 2020 to Nov 2026
Profit factor
2.19
Win rate
70.0%
Max drawdown
−2.48%
Trades
70
about 10 a year
Last 12 months
+2.97%
Nov 2025 to Nov 2026 · 10 trades
| Net profit | +$3,810.38 ($10,000 → $13,810.38) |
|---|---|
| Average trade | +0.52R / +$54.43 |
| Total R | +36.2R |
| Profit factor in R | 2.30 |
| Average win / loss | +$143.19 (+1.31R) / −$152.65 (−1.33R) |
| Largest win / loss | +$390.86 / −$219.75 |
| Targets / stops hit | 49 / 21 |
|---|---|
| Longest win / loss streak | 5 / 2 |
| Median hold | 3.5 candles (4 hours) |
| Max drawdown | −$269.21 (−2.76R) |
| Buy and hold, same dates | +66.2% |
| Signals | 365 (56 position open, 238 other side or filter) |
USO 4-hour candles, 10 February 2020 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 1440 variants on USO 4-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.
- 1,440Variants searched
- 75Passed the search bar: 40+ trades, profit factor 1.2+, return at least the drawdown, both halves profitable
- 3Had profitable neighbouring settings, so not a one-setting fluke
- 3Top 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 | |
|---|---|---|---|---|---|---|
| Keltner channel fade 20 | 1.5R | None | Long and short | +53.01% | −3.54% | |
| Stochastic RSI cross 7 | 1R | High volatility only | Long and short | +28.25% | −12.52% | |
| Williams %R cross 7 | 1R | None | Longs only | +34.12% | +2.97% | This strategy |
Search period
10 Feb 2020 to 16 Nov 2025
- Return
- +34.12%
- Profit factor
- 2.27
- Trades
- 60
- Max drawdown
- −2.48%
Last 12 months, locked
16 Nov 2025 to 16 Nov 2026, tested once
- Return
- +2.97%
- Profit factor
- 1.76
- Trades
- 10
- Max drawdown
- −1.81%
The locked last 12 months made +2.97% with a profit factor of 1.76, 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: too little data to judge
Separately, Strategy Lab's walk-forward check kept the last 30% of the history (737 days, from 5 Nov 2024) unseen. Results were clearly weaker than before the cut, though still profitable.
Before the cut
70% of the history
- Return
- +29.45%
- Profit factor
- 2.25
- Trades
- 51
- Win rate
- 68.6%
Unseen period
Last 737 days
- Return
- +8.65%
- Profit factor
- 2.03
- Trades
- 19
- Win rate
- 73.7%
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 +33.0% to +42.6%, 99% of trades unchanged
Double costs
+26.9%
Stop hit first inside a candle
+38.1%
Unseen period
+8.6% over 737 days
Last 12 months (locked)
+2.97%, profit factor 1.76 on 10 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
Williams %R (length 7) shows where the close sits in the recent high-low range, from 0 (at the high) to −100 (at the low). The strategy goes long when it climbs back above −80 out of oversold, and short when it falls back below −20 out of overbought.
It only buys and never shorts, so it makes its money when United States Oil Fund (crude oil ETF, the Lab's stand-in for WTI) rises.
It enters at the close of the signal candle. The stop goes 0.25 ATR(14) beyond the last swing low, and the target is 1 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 | Williams %R(7) crosses above -80 for longs, below -20 for shorts |
|---|---|
| Session | All hours: signals at any time the market trades |
| Entry | At the close of the signal candle |
| Stop | 0.25 ATR(14) beyond the last swing low |
| Target | 1R (1 times the distance from entry to stop) |
| Exit | Stop or target only: no trailing stop, break-even or time exit |
| Direction | Long only |
| 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 11 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 298 days (12 Sept 2022 to 7 Jul 2023).
Year by year
Return by year
- 2020*+7.38%9 trades
- 2021+5.24%12 trades
- 2022+3.25%9 trades
- 2023+6.12%11 trades
- 2024+5.50%11 trades
- 2025+0.80%11 trades
- 2026*+4.87%7 trades
*Part year: 2020 from 20 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 | 391 | 241 | 100 | 99 | -184 | |||||||
| 2021 | -49 | 110 | 0 | 91 | 96 | 173 | 166 | 117 | -146 | 98 | ||
| 2022 | 137 | 95 | 107 | 105 | 45 | -121 | ||||||
| 2023 | 109 | -6 | -134 | 252 | 122 | 99 | 224 | 50 | ||||
| 2024 | 108 | 146 | 159 | 116 | 98 | -151 | 86 | 119 | ||||
| 2025 | -163 | 107 | 245 | 176 | -158 | -34 | -69 | |||||
| 2026 | 116 | 159 | 107 | 28 | 127 | 104 |
Grey months had no trades. Hover a month for its trades, wins and losses.
Where it fails
- The locked final year was thin (+2.97%, profit factor 1.76, 10 trades).
- Long only: it makes money when United States Oil Fund (crude oil ETF, the Lab's stand-in for WTI) trends up and sits out or loses in sell-offs.
- Low frequency: about 10 trades a year, so a prop challenge target usually takes months.
- The Lab's unseen-period check: too little data to judge.
Every trade
| # | Closed | Exit | Side | Entry | Exit price | Candles | P&L | Equity |
|---|---|---|---|---|---|---|---|---|
| 70 | 10 Sept 2026 | Target | Long | 129.32 | 157.03 | 30 | +$104.43 | $13,810 |
| 69 | 13 Jul 2026 | Target | Long | 108.95 | 115.58 | 4 | +$126.70 | $13,706 |
| 68 | 12 Jun 2026 | Stop | Long | 134.37 | 125.74 | 2 | −$133.69 | $13,579 |
| 67 | 3 Jun 2026 | Target | Long | 135.51 | 140.94 | 2 | +$161.71 | $13,713 |
| 66 | 18 May 2026 | Target | Long | 114.54 | 152.01 | 38 | +$107.27 | $13,551 |
| 65 | 2 Mar 2026 | Target | Long | 79.41 | 86.38 | 8 | +$158.79 | $13,444 |
| 64 | 27 Jan 2026 | Target | Long | 70.55 | 75.26 | 12 | +$116.10 | $13,285 |
| 63 | 15 Dec 2025 | Stop | Long | 70.55 | 67.69 | 3 | −$214.18 | $13,169 |
| 62 | 1 Dec 2025 | Target | Long | 70.03 | 71.00 | 1 | +$145.45 | $13,383 |
| 61 | 25 Nov 2025 | Stop | Long | 70.46 | 69.14 | 1 | −$173.94 | $13,238 |
| 60 | 18 Nov 2025 | Target | Long | 71.37 | 72.41 | 2 | +$113.64 | $13,412 |
| 59 | 10 Nov 2025 | Target | Long | 71.27 | 71.54 | 1 | +$26.58 | $13,298 |
| 58 | 2 Oct 2025 | Stop | Long | 75.07 | 71.53 | 7 | −$158.28 | $13,272 |
| 57 | 25 Aug 2025 | Target | Long | 73.51 | 75.99 | 3 | +$175.72 | $13,430 |
| 56 | 29 Jul 2025 | Target | Long | 76.19 | 77.96 | 8 | +$128.08 | $13,254 |
| 55 | 7 Jul 2025 | Target | Long | 73.92 | 76.15 | 2 | +$116.75 | $13,126 |
| 54 | 6 Jun 2025 | Target | Long | 66.48 | 71.21 | 38 | +$107.05 | $13,009 |
| 53 | 5 Mar 2025 | Stop | Long | 78.86 | 71.12 | 25 | −$162.64 | $12,902 |
| 52 | 31 Dec 2024 | Target | Long | 72.06 | 75.66 | 27 | +$119.44 | $13,065 |
| 51 | 31 Oct 2024 | Target | Long | 71.39 | 72.18 | 1 | +$102.15 | $12,945 |
Show all 70 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
Compare
Every Williams %R backtestBacktests 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.