Bollinger Bands
Bollinger Bands adapt to volatility automatically — tight in quiet markets, wide in wild ones. Here is what the three lines mean and the honest ways strategies use them.
Bollinger Bands, explained.
Bollinger Bands are a volatility indicator made of three lines: a moving average (typically 20-period) plus an upper and lower band placed a set number of standard deviations away — usually two. Because standard deviation grows with volatility, the bands widen in turbulent markets and tighten in quiet ones.
Created by John Bollinger in the 1980s, the bands give price context: touching the upper band means price is statistically stretched relative to recent volatility, not automatically 'too high'. Roughly 95% of price action sits inside two-standard-deviation bands if returns were normally distributed — crypto's fat tails make band breaks more common than the textbook suggests.
Two opposite trading styles both use the bands. Mean-reversion strategies fade touches of the outer bands back toward the middle line; breakout strategies trade the 'squeeze', where unusually tight bands signal compressed volatility that often precedes a strong directional move. The same indicator, two different bets — which is why testing matters.
From idea to a running bot.
In a bot, Bollinger Band logic becomes a set of explicit conditions on the three lines.
Set period and width
The 20-period average with bands at 2 standard deviations is standard. Wider settings signal less often but with more extremity; a bot lets you backtest the trade-off instead of guessing.
Choose reversion or breakout
Fading the outer bands works in ranges and fails in trends; trading band breakouts does the opposite. Decide which regime your strategy targets and encode the matching rule.
Confirm and validate
Band touches alone are weak signals. Combining them with RSI, volume, or a trend filter — then backtesting the combination on real data — separates a tradable edge from chart folklore.
Built for the way you trade.
The bands serve different traders in different market regimes.
Range traders
In sideways markets, buying near the lower band and exiting near the middle or upper band is a classic, easily automated mean-reversion pattern.
Volatility watchers
The Bollinger squeeze — bands at their tightest in months — flags compressed volatility before big moves, useful as a breakout setup or a warning to widen stops.
No-code bot builders
Bollinger Bands are among VolatiCloud's 27 built-in indicators, so band conditions drop straight into a visual condition tree you can backtest.
- Middle line: a 20-period moving average (default)
- Outer bands: ±2 standard deviations of price
- Bands widen with volatility and tighten in quiet markets
- Supports both mean-reversion and breakout styles
- A built-in indicator in VolatiCloud's visual builder
Frequently asked questions.
What does it mean when price touches the upper Bollinger Band?
It means price is statistically stretched relative to recent volatility — about as far above the average as recent movement makes common. In a range that often precedes a pullback; in a strong trend price can ride the band for a long time. Context decides.
What is a Bollinger Band squeeze?
A squeeze is when the bands contract to an unusually narrow width, showing volatility has compressed. Quiet periods tend to be followed by expansions, so traders watch squeezes as potential breakout setups — direction unknown until the break happens.
What settings should I use for crypto?
The 20-period, 2-standard-deviation default is the common starting point. Crypto's higher volatility sometimes justifies wider bands or longer periods, but the only honest way to choose is to backtest the alternatives on your pair and timeframe.
Can a bot trade Bollinger Bands automatically?
Yes. In VolatiCloud's visual builder, Bollinger Bands are a built-in indicator, so conditions like 'close crosses below the lower band' become drag-and-drop rules you can backtest on real history and dry-run before going live.
Related capabilities.
Ship your first live bot this afternoon.
Connect an exchange, build a strategy in the visual builder, backtest it on real data, and deploy. Start a 7-day Pro trial — no credit card required.
No credit card required · Cancel any time