Key results
- Total return
- +73.7%
- Buy & hold: +94.6%
- Annual return (CAGR)
- +5.7%
- Buy & hold: +6.9%
- Max drawdown
- -30.2%
- Buy & hold: -86.4%
- Win rate
- 36.21%
- Profit factor
- 1.21
- Trades
- 348
- Longest losing streak
- 12 trades
- Period
- Oct 2, 2016 to Oct 1, 2026
- 10 years
- Market
- WTI/USD
- 4-hour
Equity curve vs buy & hold
Returns year by year
| Year | Return | Trades |
|---|---|---|
| 2016 | -6% | 12 |
| 2017 | -0.1% | 40 |
| 2018 | +22.1% | 35 |
| 2019 | +14.6% | 35 |
| 2020 | +54.2% | 35 |
| 2021 | +1.6% | 30 |
| 2022 | -5.6% | 36 |
| 2023 | -1% | 38 |
| 2024 | -2.3% | 29 |
| 2025 | -3.2% | 32 |
| 2026 | -4.6% | 26 |
Calendar years, compounded from monthly results. The first and last years can be partial.
The Bollinger Band squeeze is a volatility idea popularised by John Bollinger himself: when the bands pinch together, the market is coiling, and the next expansion often starts a strong move. Trading guides such as this squeeze walkthrough turn it into a breakout rule. Crude oil, a market known for long quiet stretches followed by violent moves, is a natural place to test it.
The rules we tested
- Market and timeframe: WTI crude oil against the US dollar, 4-hour candles.
- Period: 2 October 2016 to 1 October 2026.
- Squeeze condition: the Bollinger Band width (20 periods) is below 0.7 times its own recent average at least once in the last 5 candles, meaning the bands are about 30% narrower than usual.
- Long entry: squeeze condition met and the close crosses above the upper band.
- Short entry: squeeze condition met and the close crosses below the lower band.
- Exit: longs close when the price crosses below EMA(20), shorts when it crosses above EMA(20). A fixed protective stop also applies.
- Costs and sizing: 0.02% commission per side, full position size on a 10,000 starting balance.
What the backtest shows
The strategy returned +73.7% (5.7% a year) against +94.6% (6.9% a year) for buying and holding WTI. On return alone, it lags. On risk, the comparison flips: the strategy's worst drawdown was 30.2%, while holding oil meant sitting through an 86.4% drop, the collapse of early 2020 when WTI briefly went below zero.
The trade profile is that of a breakout system. 36% of the 348 trades won, but the average win (3.43%) was about twice the average loss (1.61%), for a profit factor of 1.21. Nearly all trades (325) ended on the EMA(20) exit, and only 23 on the hard stop.
The yearly table is where the honesty matters. 2020 alone produced +54.2%, with 2018 (+22.1%) and 2019 (+14.6%) also strong. Since then the strategy has been flat to negative: 2021 made only +1.6%, 2022 lost 5.6%, 2026 has lost 4.6% so far, and every year from 2022 onward finished below zero. Much of the ten-year result depends on one exceptional year.
Commission is moderate here: 348 round trips at 0.04% add up to about 14% of the position size over the decade.
The drawdown is the real story
Buy and hold on oil returned more, but it required surviving an 86% fall. A strategy that keeps the worst drop near 30% can be worth studying even when it earns less, as long as you know its gains are concentrated in a few years.
Why it works, and where it fades
A squeeze breakout earns its money when a quiet market suddenly starts trending, and the EMA(20) exit lets the trade run as long as the trend holds. 2020 was the extreme case: oil moved further and faster than in any other year of the sample. In calmer years, many breakouts fail. Price pokes through the band, the EMA(20) exit triggers on the first pullback, and the trade closes with a small loss. When most breakouts are false, the occasional big trend has to pay for all of them, and since 2022 there have not been enough of those.
What you could test next
- Tighten the squeeze threshold (0.6 instead of 0.7) so only deeper compressions qualify.
- Use a slower exit, such as EMA(50), so the trades that catch a trend stay in it longer.
- Add a trend filter and only take breakouts in the direction of a long moving average.
- Test the same rules on another volatile commodity, to see whether the result holds outside oil.
Methodology and assumptions
- Starting capital
- 10,000
- Position size
- 100% of equity
- Commission
- 0.02% per side
- Data window
- Oct 2, 2016 to Oct 1, 2026
- Run date
- October 2, 2026
- No repainting: every signal is computed on closed candles only, so the backtest never acts on a price a trader could not have seen yet.
- Past performance does not predict future results. A backtest is a historical simulation, not a forecast.
Frequently asked questions
What is the Bollinger Band squeeze strategy?
It waits for the Bollinger Bands to narrow, a sign that volatility has dried up, then trades the breakout when price closes through the upper or lower band. In this test the squeeze means the band width fell below 70% of its recent average within the last 5 candles.
How does the Bollinger squeeze exit?
Here a long closes when price crosses back below the 20-period EMA, and a short when it crosses back above it, with a fixed protective stop in case the move fails quickly.
Is the Bollinger squeeze better than holding oil?
It returned less (+74% against +95%) but with far less pain: its worst drawdown was 30%, while holding WTI went through an 86% drop around the 2020 crash.
Why did the Bollinger squeeze make most of its money in 2020?
2020 was the year oil moved most violently, and a breakout strategy profits from exactly that. It made +54.2% that year, while every year since 2022 has been negative.
Reproduce it, then change it
Every number on this page comes from the Backtrex engine. Rebuild the strategy in the app, then change the market, the timeframe or a parameter and see whether the result holds.
Ready to backtest your strategies?
Create your free account and take the guided tour: a real 10-year backtest in 3 minutes, no coding, no credit card.
Create your account in 30 seconds and run your first backtest. No credit card.
Other backtests
- Strategy
- +26.9%
- Buy & hold
- +528.3%
- Strategy
- +18.1%
- Buy & hold
- +255.4%
- Strategy
- +14.4%
- Buy & hold
- +136.7%
- Strategy
- -4.5%
- Buy & hold
- +0.1%