What Are Bollinger Bands|How They Work, σ and Band Width
Bollinger Bands combine a moving average and standard deviation to visualize price ranges. This beginner's guide covers the middle line, σ and band width.
What are Bollinger Bands?|An indicator that shows the range of price swings
Bollinger Bands are a technical indicator made up of a moving average over a set period (the middle line) and two or three bands drawn above and below it using standard deviation (σ). They were developed by John Bollinger and are now built into most charting tools as standard.
What sets the indicator apart is that it visualizes how widely prices are dispersed as the width of the bands. Unlike RSI, which returns a single value, Bollinger Bands are overlaid directly on the chart, so it is said to be easier to see intuitively where price sits relative to the bands.
How they are calculated|The middle line and standard deviation
Bollinger Bands are built from two components.
Middle line (moving average) By default, this is the simple moving average (SMA) of the last 20 closing prices. It serves as the baseline for the whole indicator and represents the market's "average price level."
Bands (upper and lower lines) Starting from the middle line, the standard deviation multiplied by a set factor (the multiplier) is added and subtracted to draw the bands. The default multiplier is 2, so the "±2σ" bands are the most commonly drawn. Some charts also overlay the ±1σ and ±3σ bands.
Put into words, the formulas look like this.
| Band | Calculation (concept) |
|---|---|
| Upper band (+nσ) | Middle line + (standard deviation × multiplier) |
| Middle line | Simple moving average of the last 20 bars |
| Lower band (-nσ) | Middle line - (standard deviation × multiplier) |
Standard deviation quantifies how far prices are spread out from the middle line. The more volatile the price action, the larger the standard deviation and the wider the bands. Conversely, when price movement is small and contracting, the standard deviation shrinks and the bands narrow.
What ±1σ, ±2σ and ±3σ mean
Assuming a normal distribution (a model in which data are distributed symmetrically in a bell shape around the mean), the theoretical share of prices that falls within each band is as follows.
| Band | Theoretical share under a normal distribution |
|---|---|
| Within ±1σ | About 68.3% |
| Within ±2σ | About 95.4% |
| Within ±3σ | About 99.7% |
However, these are only theoretical figures that assume a normal distribution. Actual stock and currency prices are not normally distributed, so moves outside the bands are often more frequent than the theory implies. Moves beyond ±3σ in particular are described as "rare events that should almost never happen in theory," yet in real markets price can break out of the bands during sharp rallies or sell-offs.
These theoretical figures do not establish that "price always reverses when it reaches ±2σ" or that "price almost never goes beyond ±3σ." They provide a statistical reference; backtesting can show how the bands have behaved in a particular market and timeframe.
What band width shows
Another key element when using Bollinger Bands is the width of the bands themselves.
When the bands widen (expansion) Standard deviation is large, meaning the range of price swings is expanding. This tends to appear when momentum builds in either direction, up or down, and is generally interpreted as a trend emerging or accelerating.
When the bands narrow (squeeze) Standard deviation is small, meaning price movement is contracting, a phase often described as a build-up before a larger move. It is sometimes discussed as a precursor to a major breakout, but the direction of the next move cannot be judged from the bands alone. How to read a squeeze in more detail is covered in a separate article.
Another well-known pattern is the "band walk," where price moves along the upper or lower band. It tends to occur in strong trending markets, a phase in which contrarian thinking such as "price touched ±2σ, so it will reverse" tends not to hold. The band walk is also covered in more detail in a separate article.
Common misconceptions
Misconception 1: It is enough to "trade when price reaches ±2σ" Even when price reaches the edge of the bands, it can keep moving along them if a strong trend continues (a band walk). Trading decisions based only on the position relative to the bands are considered too simplistic, and it is common to consider the trend direction and other conditions together.
Misconception 2: Price reverses immediately once it moves outside the bands Actual price movement does not follow the theoretical figures that assume a normal distribution, so price can keep moving outside the bands. Even if you use a move outside the bands as a guide to a possible reversal, which added conditions make it work better needs to be tested.
Misconception 3: The parameters should always be fixed at 20 and 2 Even though the defaults are 20 bars and a multiplier of 2, the most suitable settings may differ depending on the instrument and timeframe. How results change when the period is set to 10 or 30, or the multiplier to 2.5, is covered separately in an article comparing parameters.
Displaying Bollinger Bands on ENTRIQ charts
Once you understand how to read Bollinger Bands in theory, the next step is to train your eye on real charts again and again. In ENTRIQ's Chart Replay, you can display Bollinger Bands on historical charts and check as many times as you like how the bands widen and contract and where price sits relative to them.
By reviewing the same conditions repeatedly on historical charts, you can observe for yourself "in which patterns price reversed after reaching ±2σ, and in which patterns it kept going." Separating "understanding what the indicator looks like" from "checking how it works in your own markets" is the key to getting the most out of backtesting.
See also Why Backtesting Builds Confidence.
Frequently asked questions (FAQ)
Q. What kind of indicator are Bollinger Bands? A. They are a technical indicator that uses a moving average (the middle line) and standard deviation to visualize the range of price movement with upper and lower bands. The position and width of the bands are used as a reference for gauging whether price is overextended and whether price movement is contracting or expanding.
Q. Does price reverse when it reaches ±2σ? A. This is often said, but it is not certain. Actual price movement is not normally distributed, so moves outside the bands can be more frequent than the theoretical figures suggest. In strong trends, price can also keep moving along the bands, and backtesting can show whether this has held in a particular market and timeframe.
Q. Can I change the default settings (20 bars, multiplier of 2)? A. Yes, you can. The shorter the period, the more sensitively the middle line reacts to price and the more often the bands widen and narrow. With a longer period, the lines are smoother and track more gradual price movements. A larger multiplier widens the bands, and a smaller one narrows them. The basic way to find which parameters suit your approach is to change them and observe the results on historical charts.
Q. What is a band walk? A. It is when price keeps moving along the upper or lower band (around ±2σ). It tends to appear in strong trends and is one of the situations in which the view that "price reached ±2σ, so it will reverse" tends not to hold. It is covered in more detail in a separate article.
What this article covered
- Bollinger Bands combine a middle line (the moving average of the last 20 bars) and standard deviation (σ), visualizing how widely prices are dispersed as the width of the bands.
- The shares of ±1σ (about 68.3%), ±2σ (about 95.4%) and ±3σ (about 99.7%) are theoretical figures that assume a normal distribution; actual price movement is not normally distributed, so moves outside the bands can be more frequent than the theory implies.
- Widening bands are said to indicate expanding volatility (a sign of a trend emerging) and narrowing bands contraction (a sign of a build-up before a breakout), but the direction of the next move cannot be judged from the bands alone.
This article is for informational purposes only and does not recommend any specific trade or the use of any indicator. All investment decisions are your own responsibility.
Reproduce this validation yourself
With ENTRIQ's chart replay, you can trade through past charts using the same rules.
Try the demo — no sign-upNo sign-up or card needed. Runs right in your browser. Start 14-day free trial →
Validate your method on past charts
The same validation in this article can be reproduced with your own method. On past charts, do the classics really work?
- ✓ Replay past charts
- ✓ AI feedback on your trades
- ✓ Validate methods with statistics
No sign-up or card needed. Runs right in your browser.