Volatility BreakoutUpdated 2026-12-02

Bollinger Band Breakout Stock Backtest

Capture volatility expansion breakouts across US equities with dynamic band-width sizing and stop exits.

Reference Backtest Summary (2006-01-01 to 2026-07-31)

CAGR (Annualized)
13.6%
Sharpe Ratio
0.91
Max Drawdown
-22.9%
Win Rate
49.5%
Annual Turnover
3.5x / yr
Modeled Trades
234

Reference universe: High-Beta US Growth & Tech Equities · Benchmark: QQQ / SPY · Execution: Daily close breakout confirmation. Simulated historical results are illustrative and depend on selected tickers and date ranges.

Strategy Rules

  • Compute 20-day rolling mean and standard deviation on split- and dividend-adjusted closes.
  • Trigger long entry when price closes above Upper Band (mean + 2.0 × std) following volatility compression.
  • Exit position cleanly when price closes back beneath the middle moving average band.
  • Inspect per-trade distribution, average holding period, and worst historical drawdown in Workbench.

Default Parameters

window20

Rolling mean and standard deviation window

num_std2.0

Upper band breakout standard deviation multiplier

exit_bandmid

Exit when price closes back below middle 20-day SMA

commission_rate0.0005

5 bps modeled trading cost per fill

Python Signal Logic

def generate_signals(df, params):
    win = int(params.get("window", 20))
    k = float(params.get("num_std", 2.0))
    mid = df["close_adj"].rolling(win).mean()
    std = df["close_adj"].rolling(win).std()
    upper = mid + k * std
    return (df["close_adj"] > upper).astype(float)

Known Limitations & Regime Risks

  • False breakouts occur frequently in choppy markets; pairing with volume confirmation or relative strength improves hit rate.
  • Wide stop distances during high-volatility regimes require disciplined position sizing.

Frequently Asked Questions

Is Bollinger Band breakout better for growth stocks or value stocks?

Volatility breakout rules historically show stronger right-tail payoffs on liquid growth equities with strong trending behavior, whereas defensive value stocks often mean-revert inside the bands.

Does Quant Atlas adjust historical prices for stock splits?

Yes. All backtests run on split- and dividend-adjusted Sharadar daily bars so historical 4-for-1 or 10-for-1 splits never create fake breakout signals.

More US Equity Strategy Templates

Author: Daxi, Founder & Quantitative Researcher · Data: Sharadar US Equities (1997–2026)

Quant Atlas provides historical market data and backtesting software for research and educational purposes only. Past simulated performance does not guarantee future results and does not constitute financial or investment advice.