StratBase.aiStratBase.ai
DashboardCreate BacktestMy BacktestsCatalogBlogNewsToolsHelp

Products

  • Researcher Dashboard
  • Create Backtest
  • My Backtests
  • Catalog
  • Blog
  • News

Alerts

  • Calendar
  • OI Screener
  • Funding Rate
  • REKT
  • Pump/Dump

Company

  • About Us
  • Pricing
  • Affiliate
  • AI Widget
  • Contact

Legal

  • Privacy
  • Terms
  • Refund Policy

Support

  • Help Center
  • Reviews
StratBase.aiStratBase.ai

Think it. Test it.

StratBase.ai does not provide financial advice or trading recommendations. AI only formalizes user ideas into testable strategy configurations for research purposes. Past backtesting performance does not guarantee future results. All trading decisions and associated risks are the sole responsibility of the user. This platform is not a broker and does not facilitate real trading.

© 2026 StratBase.ai · AI-powered strategy research and backtesting platform

support@stratbase.ai
Bollinger Bands Strategy Guide With Real Backtest Results
How-ToENBollinger BandsBB strategyvolatility indicator

Bollinger Bands Strategy Guide With Real Backtest Results

David Ross2/28/2026(updated 6/1/2026)4 min read906 views

Bollinger Bands are unique among technical indicators because they adapt to market conditions automatically. When volatility is high, the bands widen. When low, they narrow. This self-adjusting property makes them one of the few indicators that work across different volatility regimes — at least in theory. The backtest data tells a more nuanced story.

Bollinger Bands Mechanics

The standard Bollinger Bands configuration:

  • Middle band: 20-period Simple Moving Average (SMA)
  • Upper band: Middle band + 2 × standard deviation
  • Lower band: Middle band − 2 × standard deviation

Statistically, roughly 95% of price action should fall within 2 standard deviations. When price touches or exceeds the outer bands, it's a statistically unusual event. But “unusual” doesn't mean “time to trade” — and that's where most traders go wrong.

Backtest Results: Common BB Strategies

StrategyInstrumentTFWin RatePFTrades
Buy lower band touchBTC/USDT4h51%1.15127
Buy lower band + RSI<30BTC/USDT4h57%1.5262
BB Squeeze breakoutBTC/USDT4h48%1.6185
BB Squeeze + ADXBTC/USDT4h52%1.8953
%B < 0 buy, > 1 sellBTC/USDT4h46%1.2894
Buy lower band touchEUR/USD4h54%1.31110
BB Squeeze breakoutSPYDaily51%1.7442

Key findings:

  1. Simple band-touch trading is barely profitable. Buying because price touched the lower band is a coin flip with slight edge (PF 1.15). The band touch is a necessary condition, not a sufficient one.
  2. BB + confirming indicator dramatically improves results. Adding RSI < 30 as confirmation boosts profit factor from 1.15 to 1.52. Adding ADX to the squeeze strategy pushes it to 1.89. Bollinger Bands work best as a filter combined with another entry trigger.
  3. The BB Squeeze is BB's strongest signal. When bands contract to their narrowest point and then price breaks out of the squeeze, the resulting move tends to be significant. The squeeze identifies low-volatility compressions that precede explosive moves.

The BB Squeeze Strategy

This is the preferred Bollinger Bands approach because it has strong theoretical backing (volatility is mean-reverting) and strong empirical results:

  1. Identify the squeeze: Bollinger Band width (upper − lower) / middle reaches its lowest value in 20 periods
  2. Wait for breakout: Price closes above the upper band (bullish) or below the lower band (bearish)
  3. Confirm with momentum: MACD histogram positive (for longs) or negative (for shorts)
  4. Enter on the breakout candle close
  5. Stop loss: Middle band (20 SMA) or 1.5 × ATR from entry
  6. Take profit: 2–3 × risk, or trail stop with the middle band

The squeeze strategy works because it exploits a fundamental market property: periods of low volatility are followed by periods of high volatility. The bands compressing tells you a move is coming. The breakout direction tells you which way. The confirming indicator reduces false breakouts.

Bollinger %B: The Quantitative Version

%B normalizes price position relative to the bands on a 0–1 scale:

%B = (Price − Lower Band) / (Upper Band − Lower Band)

%B = 0 means price is at the lower band. %B = 1 means price is at the upper band. %B < 0 means price is below the lower band (extreme oversold). %B > 1 means price is above the upper band (extreme overbought).

%B is useful for backtesting because it converts the visual band analysis into a numeric value that can be used in conditions. Instead of “price touched the lower band” (visual), you use “%B < 0.05” (precise and testable).

Combining %B with ADX creates a powerful system: buy when %B < 0.1 AND ADX < 20 (oversold in a ranging market), sell when %B > 0.9 AND ADX < 20 (overbought in a ranging market). This naturally avoids taking mean-reversion trades during strong trends — the most dangerous environment for BB strategies.

Bandwidth as a Volatility Gauge

Bollinger Bandwidth — calculated as (Upper Band − Lower Band) / Middle Band — quantifies the distance between the bands as a percentage. When bandwidth drops below its 20-period low, the market is in an unusually tight compression. Historically, these compressions resolve into directional moves within 5–10 bars. Traders can use bandwidth percentile rankings (e.g., bandwidth below the 10th percentile of the last 100 bars) to identify high-probability squeeze setups with greater precision than visual inspection alone.

“Bollinger Bands don't give you buy and sell signals. They give you context about where price is relative to recent history. What you do with that context is your strategy.” — John Bollinger, the creator of Bollinger Bands

For the complete indicator toolkit, see the indicators encyclopedia. Compare BB with RSI and MACD to understand which works best for your strategy type.

Backtest Bollinger Bands strategies with real data

StratBase.ai supports BB with configurable periods, standard deviation multipliers, %B indicator, and Bandwidth — ready for squeeze detection and mean-reversion testing. Get started →

FAQ

What are Bollinger Bands?

A middle band (20 SMA) plus two bands at ±2 standard deviations. They expand in high volatility and contract in low volatility, providing adaptive overbought/oversold levels.

What is the Bollinger Band squeeze?

When bands narrow to their tightest point, indicating extremely low volatility. Low volatility precedes high volatility, so the squeeze signals an imminent large price move.

Further Reading

  • RSI on Investopedia
  • MACD on Investopedia
  • Bollinger Bands on Investopedia

About the Author

D
David Ross

Financial data analyst focused on crypto derivatives and on-chain metrics. Expert in futures market microstructure and funding rate strategies.

FAQ

What are Bollinger Bands?▾

Bollinger Bands consist of a middle band (typically 20-period SMA) and two outer bands placed 2 standard deviations above and below. The bands expand during high volatility and contract during low volatility. Created by John Bollinger in the 1980s, they measure volatility and identify potential overbought/oversold levels relative to recent price action.

What is the Bollinger Band squeeze?▾

The BB squeeze occurs when the bands narrow to their tightest width in a given period — indicating extremely low volatility. Since low volatility tends to precede high volatility, the squeeze signals an imminent large price move. The direction of the breakout determines the trade direction.

Related articles

account slippage backtestingaccumulation distribution guideadx trend strength guideai assistant create strategyanalyze trade log backtest

Comments (0)

Loading comments...