Bollinger Bands are three lines drawn around the price: a 20-period simple moving average in the middle and two bands two standard deviations above and below it. John Bollinger developed them in the 1980s. The bands widen when prices swing more and narrow when they calm down, so they show whether the price is high or low relative to its own recent range. A touch of a band is not a buy or sell signal by itself, and Bollinger's own rules say exactly that.
This article is educational and is not financial advice.
What are Bollinger Bands?
Bollinger Bands are a volatility envelope. They do not have fixed distances like a channel of plus or minus 5%. Instead, the width comes from how much the closing prices have varied over the last 20 candles.
- Middle band: the 20-period simple moving average (SMA). It describes the intermediate trend.
- Upper band: the middle band plus two standard deviations.
- Lower band: the middle band minus two standard deviations.
When the market is quiet, the closes sit close to their average, the standard deviation is small and the bands pinch together. When the market is turbulent, the bands spread apart. That makes the bands a relative definition of "high" and "low": a price near the upper band is high compared with the last 20 candles, nothing more.
The Bollinger Bands formula
The calculation uses closing prices and the same look-back period for the average and the standard deviation.
middle band = SMA of the last 20 closes SD = standard deviation of the same 20 closes upper band = middle band + 2 × SD lower band = middle band − 2 × SD standard deviation (population): SD = √( Σ (close − SMA)² / 20 )
Bollinger states that he uses the population formula, which divides by N. Some software divides by N − 1, the sample formula. At 20 periods that makes the bands about 2.6% wider, because √(20 / 19) ≈ 1.026. It is one reason two charts can draw slightly different bands for the same coin.
The defaults, 20 periods and 2 standard deviations, are starting points. Bollinger's rules say that a longer average needs a slightly wider multiplier and a shorter one a slightly narrower one, for example about 2.1 at 50 periods and about 1.9 at 10 periods.
A worked example on Bitcoin
All numbers below are examples. They are not a forecast and not current data.
Step 1. How the standard deviation works. To keep the arithmetic short, take five closes instead of 20: $98,000, $99,000, $100,000, $101,000 and $102,000.
- Average: $100,000
- Distances from the average: −2,000, −1,000, 0, +1,000, +2,000
- Squared: 4,000,000 + 1,000,000 + 0 + 1,000,000 + 4,000,000 = 10,000,000
- Divided by 5: 2,000,000
- Square root: about $1,414
Step 2. The bands. Now assume a real 20-candle window where the SMA is $100,000 and the standard deviation is $2,500.
- Upper band: 100,000 + 2 × 2,500 = $105,000
- Lower band: 100,000 − 2 × 2,500 = $95,000
Step 3. Where is the price inside the bands? With a close of $103,000:
%b = (close − lower band) / (upper band − lower band) = (103,000 − 95,000) / (105,000 − 95,000) = 0.80
Step 4. How wide are the bands?
BandWidth = (upper band − lower band) / middle band
= (105,000 − 95,000) / 100,000 = 0.10, or 10%
Step 5. A quiet period. Some weeks later the SMA is still $100,000, but the standard deviation has fallen to $1,000. The bands are now $98,000 and $102,000, and BandWidth is 4%. If 4% is the lowest BandWidth of the past six months, that is a squeeze by the common definition.
Step 6. A close outside the bands. In the narrow bands, a close at $103,000 gives %b = (103,000 − 98,000) / 4,000 = 1.25. The same price that read 0.80 in wide bands is now above the upper band. Bands are relative, so the same price can mean different things.
%b and BandWidth: two numbers from the bands
%b and BandWidth turn the picture into numbers you can compare and test.
| Reading | %b | Meaning |
|---|---|---|
| Above the upper band | above 1 | The close is more than 2 SD above the average |
| At the upper band | 1 | The close sits on the upper band |
| At the middle band | 0.5 | The close equals the 20-period SMA |
| At the lower band | 0 | The close sits on the lower band |
| Below the lower band | below 0 | The close is more than 2 SD below the average |
BandWidth measures how wide the bands are compared with the middle band. Bollinger notes that with the default settings it equals four times the coefficient of variation. Some charts divide by the price instead of the middle band, which gives a very similar number.
The Bollinger squeeze
A Bollinger squeeze is a period when the bands narrow because volatility has dropped. A common definition is BandWidth near the low end of its six-month range. Bollinger's idea is that low volatility tends to give way to higher volatility, so a squeeze can come before a larger move.
The squeeze has one big limit: it gives no direction. Narrow bands say a move may be coming, not which way. StockCharts also warns about the "head fake": the price breaks one band, then reverses and runs through the other. Many traders wait for the break to be confirmed by a close, by volume or by a level on the chart before treating it as real.
Why a band touch is not a signal
The most common mistake with Bollinger Bands is reading a touch of the upper band as "sell" and a touch of the lower band as "buy". Bollinger's own rule is short: "Tags of the bands are just that, tags not signals."
Three of his rules explain why:
- Prices walk the bands in trends. In a strong uptrend the price can ride along the upper band for many candles. In a downtrend it can slide along the lower band.
- Closes outside the bands first suggest continuation. A close above the upper band shows strength. Bollinger calls it initially a continuation signal, not a reversal signal.
- The bands are not a statistical promise. Prices are not normally distributed. Bollinger notes that in practice about 90%, not 95%, of the data stays inside the default bands.
For crypto, this matters even more. Large moves happen more often than a bell curve suggests, so closes outside the bands are a regular event, not a rare one.
Bollinger Bands strategy: three common approaches
There is no single Bollinger Bands strategy. Traders use the bands in three main ways, and each fits a different market condition. No reliable success rate exists for any of them; results depend on the coin, the timeframe and the period studied.
1. Range reading. When the middle band is flat and BandWidth is steady, the price often swings between the bands. Some traders treat the band edges as the ends of the range. This approach fails as soon as a trend starts.
2. Trend reading. When the middle band slopes and the price keeps closing near one band, the bands describe trend strength. Some traders watch pullbacks toward the middle band in this case.
3. Squeeze reading. When BandWidth reaches a multi-month low, traders watch for the break out of the bands and then for confirmation. The squeeze tells them when to pay attention, not where the price will go.
Bollinger also describes patterns such as W bottoms and M tops, where a second low or high fails to reach the band. And he advises pairing the bands with an indicator from a different family, such as volume, rather than two indicators that measure the same thing. RSI is a momentum indicator, so it adds information that the bands do not carry. See the RSI indicator guide for how it is calculated.
Bollinger Bands in crypto
Crypto changes three practical details.
- The look-back covers less calendar time. Crypto trades every day, so 20 daily candles are 20 calendar days. On a stock chart they are about four weeks of trading.
- Timeframe choice matters. On a 1-hour chart, 20 candles cover less than a day. A squeeze on that chart can sit inside a perfectly ordinary daily range.
- Bands are not a price forecast. They describe the spread of recent closing prices. That is different from the annualised volatility of returns used in Bitcoin price scenarios, which estimates a typical range for the next 30 or 90 days. Both widen in turbulent markets, but they answer different questions.
How to use it in CryptoPith
- Open AI chart analysis. The candlestick chart can show Bollinger Bands (20, 2) together with the 20- and 50-period EMAs, RSI and volume.
- Read the numbered notes. Each note gives its basis, for example "price touched the upper band with RSI near 68", and its uncertainty.
- In an AI market analyst report, check the Bollinger reading in the indicator table and the signal agreement count. The count says how many indicators lean one way. It is a count, not a probability.
- Open the Evidence trail to see the number, the formula and the candles behind any reading.
- For a forward range based on volatility, open Bitcoin price scenarios.
Indicators in CryptoPith are calculated in code from checked candles. The AI only explains them. AI chart analysis is part of Pro ($14 a month) and the higher plans, paid in crypto with no automatic renewal. Your first AI report is free.
Common mistakes and limits
- Fading every band touch. In a trend, the price can walk the band for a long time.
- Treating the squeeze as a direction. It says volatility is low. It does not say which way the break will go.
- Expecting 95% inside the bands. Real prices break out more often than the normal curve suggests.
- Using two bands from different sites. Population or sample formula, close time and data source change the lines.
- Ignoring the timeframe. A 1-hour squeeze and a daily squeeze are different events.
- Over-tuning the settings. Changing 20 and 2 until the past looks perfect fits the indicator to history.
FAQ
What are Bollinger Bands in simple terms?
They are a moving average with two lines around it. The distance of the lines depends on how much the price has varied recently. Wide bands mean a turbulent market; narrow bands mean a quiet one.
What are the best Bollinger Bands settings for crypto?
There is no best setting. The default is 20 periods and 2 standard deviations. Bollinger suggests about 2.1 standard deviations for a 50-period average and about 1.9 for a 10-period one. Whatever you choose, keep it the same when comparing coins.
What does it mean when the price touches the upper Bollinger Band?
It means the close is about two standard deviations above the 20-period average. In a range that can mark the top of a swing. In a trend it can repeat for many candles. Bollinger himself says a touch is not a signal on its own.
What is a Bollinger squeeze?
It is a period when the bands become very narrow because volatility has dropped, often defined as BandWidth near its six-month low. It suggests a bigger move may follow but gives no direction.
Do Bollinger Bands work for crypto?
They calculate the same way for any market, including Bitcoin and Ethereum. Because crypto has frequent large moves, closes outside the bands are common, so the bands work better as context than as triggers.
Should I use Bollinger Bands with RSI?
Many traders do, because the bands describe volatility and price position while RSI describes momentum. Bollinger advises combining indicators from different families rather than two that measure the same thing.
Sources
- Bollinger Band rules, bollingerbands.com: tags are not signals, walking the bands, closes outside the bands, default parameters, the 90% observation, %b and BandWidth.
- Bollinger Bands, bollingerbands.com: origin in the 1980s and the population standard deviation.
- Bollinger Bands, StockCharts ChartSchool: calculation, walking the bands, W bottoms and M tops.
- Bollinger Band Squeeze, StockCharts ChartSchool: the six-month BandWidth low, no directional clue, head fakes.
- %B Indicator, StockCharts ChartSchool: the %b formula and its readings.
Related tools: AI chart analysis, Bitcoin price scenarios and Evidence trail. Your first AI report in CryptoPith is free.
