Back to Learn

What Are Bollinger Bands? A Practical Guide for Stock Screeners

Technical Analysis
7 min read
By ScreenerHub Team

What Are Bollinger Bands?

Bollinger Bands are a technical indicator that places an upper and lower volatility band around a moving average, usually the 20-day SMA, using standard deviations of recent price data. They help investors judge whether price is relatively stretched, compressed, or moving in a potential breakout regime.

Middle Band=SMA(20)\text{Middle Band} = \text{SMA}(20)
Upper Band=SMA(20)+2σ;Lower Band=SMA(20)2σ\text{Upper Band} = \text{SMA}(20) + 2\sigma \quad ; \quad \text{Lower Band} = \text{SMA}(20) - 2\sigma

Created by John Bollinger in the 1980s, Bollinger Bands are one of the most practical tools for combining trend and volatility in a single chart view. Instead of only asking "is price going up or down," Bollinger Bands also ask "how unusual is this move relative to recent behavior?"

TL;DR: Bollinger Bands wrap a 20-day moving average with dynamic upper and lower volatility bands. Wide bands mean volatility is high; tight bands mean volatility is low. Price touching a band is a context signal, not an automatic buy or sell trigger. In ScreenerHub, you can combine moving average, RSI, and trend filters in Screener Studio to build Bollinger-style setups.


Why Bollinger Bands Matter for Stock Screening

Many screeners tell you whether a stock is cheap, profitable, or growing. Bollinger Bands add a different dimension: they show whether current price action is happening in a calm or stressed volatility regime.

That matters because entry timing often depends on volatility context. A stock above its 50-day moving average might still be a poor setup if it is already stretched far above normal volatility. Another stock in a healthy uptrend might become attractive after a controlled pullback toward the middle band.

Bollinger Bands are especially useful when you want to separate three market states:

  1. Compression: Bands narrow. Market energy is building.
  2. Expansion: Bands widen. A move has started.
  3. Mean reversion pressure: Price pushes outside a band and quickly snaps back.

What Bollinger Bands add to a trend screen

Without Bollinger contextWith Bollinger context
Sees trend direction, but not volatility regimeDistinguishes quiet compression from high-volatility expansion
Treats every breakout equallyHighlights breakouts after a squeeze (often higher quality)
No objective view of "stretched" movesFlags moves far from the recent statistical norm
Hard to time pullback entriesUses middle band as a structured re-entry reference

How Bollinger Bands Are Calculated

The classic Bollinger setup uses three lines:

  1. Middle Band: 20-period Simple Moving Average (SMA)
  2. Upper Band: Middle Band + 2 standard deviations
  3. Lower Band: Middle Band - 2 standard deviations

Standard deviation measures how dispersed recent prices are around the average. When price swings become larger, standard deviation rises and bands widen. When price becomes quiet, standard deviation falls and bands tighten.

Formula

Middle Band=SMA(20)\text{Middle Band} = \text{SMA}(20)
Upper Band=SMA(20)+2σ\text{Upper Band} = \text{SMA}(20) + 2\sigma
Lower Band=SMA(20)2σ\text{Lower Band} = \text{SMA}(20) - 2\sigma

Where σ\sigma is the 20-period standard deviation of closing prices.

Concrete example

Assume a stock has:

  • 20-day SMA = $100
  • 20-day standard deviation = $4

Then:

Upper Band=100+2×4=108\text{Upper Band} = 100 + 2 \times 4 = 108
Lower Band=1002×4=92\text{Lower Band} = 100 - 2 \times 4 = 92

So the band range is $92 to $108. If price is at $107, it is near the upper volatility boundary. If price falls to $93, it is near the lower boundary.

Input / OutputValue
20-day SMA$100
20-day Std. Dev.$4
Upper Band$108
Lower Band$92
Band Width (Upper-Lower)$16

How to Interpret Bollinger Bands

Bollinger Bands are best interpreted as a framework, not as a standalone signal generator.

Core interpretation patterns

PatternTypical interpretation
Bands wideningVolatility expansion; trend move may be underway
Bands narrowing ("squeeze")Volatility compression; potential setup for a larger next move
Price riding upper bandStrong bullish momentum (not automatically overbought)
Price riding lower bandStrong bearish momentum (not automatically oversold)
Price reverts toward middle bandMomentum cooling; possible mean-reversion phase

⚠️ Context matters: In strong trends, price can remain near one band for an extended period. Touching the upper band is not a short signal by itself, and touching the lower band is not a buy signal by itself.

The Bollinger squeeze

A squeeze occurs when band width contracts to unusually low levels. This does not tell you direction. It tells you conditions are quiet and often unstable, with a larger move potentially coming next.

A practical workflow:

  1. Detect compression (narrow range, low realized volatility).
  2. Wait for directional confirmation (price break + volume + trend filter).
  3. Manage risk around the middle band or recent structure.

%B and Band Width (advanced usage)

Two derivative concepts are common:

  • %B: shows where price sits relative to the bands (below 0 = below lower band, above 1 = above upper band).
  • Band Width: measures the distance between upper and lower bands relative to the middle band.

Even if you do not screen directly on %B, the concept helps you judge whether a move is extending or compressing.


Bollinger Logic in a Stock Screener

Even when your screener does not expose every Bollinger-specific field directly, you can still build practical Bollinger-style workflows by combining trend and momentum filters.

Screener 1: Trend-following pullback setup

Target stocks in established uptrends that have cooled off toward the middle zone.

FilterSetting
Price vs 200-day SMAAbove
Price vs 50-day SMAAbove
RSI (14)40 - 55
Market cap> $500M

This combination approximates the classic "pullback inside an uptrend" scenario that Bollinger traders often look for.

Try this screen in ScreenerHub: Price > SMA(20) context setup ->

Screener 2: Volatility expansion momentum watchlist

Target momentum continuation after compression and breakout.

FilterSetting
Price vs 50-day SMAAbove
RSI (14)> 55
Volume> average
Revenue growth (YoY)> 5%

Adding a business-quality filter reduces false positives from weak speculative names.

Screener 3: Mean-reversion candidate list

Target stocks that may have overextended on the downside and are stabilizing.

FilterSetting
RSI (14)< 35
Price vs 200-day SMAAbove
Debt-to-equity< 2.0

This setup intentionally combines technical stress with minimum balance-sheet quality.


Common Mistakes When Using Bollinger Bands

1. Treating every band touch as a reversal signal In real markets, strong trends often ride the upper or lower band for longer than expected. A band touch is a context marker, not an automatic trade trigger.

2. Ignoring trend direction Shorting a stock just because it touched the upper band while it is in a powerful long-term uptrend is a common and expensive mistake. Always read Bollinger behavior inside the broader trend.

3. Using Bollinger Bands without confirmation A squeeze by itself is directionless. Pair it with confirmation tools like RSI, moving-average alignment, and volume behavior.


Frequently Asked Questions

Are Bollinger Bands a leading or lagging indicator?

Bollinger Bands are mostly a reactive indicator because they are built from historical price data (SMA and standard deviation). They can highlight changing volatility regimes early, but they do not predict direction by themselves.

What settings should beginners use for Bollinger Bands?

Start with the classic default: 20-period SMA with 2 standard deviations. It is the market standard, widely studied, and easier to compare across platforms. Adjusting settings too early often adds noise rather than edge.

Does touching the upper band mean a stock is overbought?

Not always. In strong uptrends, price can keep "walking" the upper band while continuing higher. Interpret the signal with trend strength, volume, and momentum context, not in isolation.

Can I use Bollinger logic in ScreenerHub today?

Yes. You can build practical Bollinger-style workflows by combining moving-average context, RSI ranges, and trend/quality filters in Screener Studio. This covers the most useful real-world use cases: pullbacks, expansions, and controlled mean-reversion scans.