Bollinger Bands®: What They Are, and What They Tell Investors

A Bollinger Band® is a technical analysis tool defined by a set of trendlines. They are plotted as two standard deviations, both positively and negatively, away from a simple moving average (SMA) of a security's price and can be adjusted to user preferences.

Bollinger Bands® was developed by technical trader John Bollinger and designed to give investors a higher probability of identifying when an asset is oversold or overbought.

Key Takeaways

  • Bollinger Bands® is a technical analysis tool to generate oversold or overbought signals and was developed by John Bollinger.
  • Three lines compose Bollinger Bands: A simple moving average, or the middle band, and an upper and lower band.
  • The upper and lower bands are typically 2 standard deviations +/- from a 20-day simple moving average and can be modified.
  • When the price continually touches the upper Bollinger Band, it can indicate an overbought signal.
  • If the price continually touches the lower band it can indicate an oversold signal.
Bollinger Band

Investopedia / Joules Garcia

How to Calculate Bollinger Bands®

The first step in calculating Bollinger Bands® is to compute the simple moving average (SMA) of the security, typically using a 20-day SMA. A 20-day SMA averages the closing prices for the first 20 days as the first data point.

The next data point drops the earliest price, adds the price on day 21 and takes the average, and so on. Next, the standard deviation of the security price will be obtained. Standard deviation is a mathematical measurement of average variance and features prominently in statistics, economics, accounting, and finance.

For a given data set, the standard deviation measures how far numbers are from an average value. Standard deviation can be calculated by taking the square root of the variance, which itself is the average of the squared differences of the mean.

Next, multiply that standard deviation value by two and both add and subtract that amount from each point along the SMA. Those produce the upper and lower bands.

Here is this Bollinger Band® formula:

BOLU = MA ( TP , n ) + m σ [ TP , n ] BOLD = MA ( TP , n ) m σ [ TP , n ] where: BOLU = Upper Bollinger Band BOLD = Lower Bollinger Band MA = Moving average TP (typical price) = ( High + Low + Close ) ÷ 3 n = Number of days in smoothing period (typically 20) m = Number of standard deviations (typically 2) σ [ TP , n ] = Standard Deviation over last  n  periods of TP \begin{aligned} &\text{BOLU} = \text {MA} ( \text {TP}, n ) + m * \sigma [ \text {TP}, n ] \\ &\text{BOLD} = \text {MA} ( \text {TP}, n ) - m * \sigma [ \text {TP}, n ] \\ &\textbf{where:} \\ &\text {BOLU} = \text {Upper Bollinger Band} \\ &\text {BOLD} = \text {Lower Bollinger Band} \\ &\text {MA} = \text {Moving average} \\ &\text {TP (typical price)} = ( \text{High} + \text{Low} + \text{Close} ) \div 3 \\ &n = \text {Number of days in smoothing period (typically 20)} \\ &m = \text {Number of standard deviations (typically 2)} \\ &\sigma [ \text {TP}, n ] = \text {Standard Deviation over last } n \text{ periods of TP} \\ \end{aligned} BOLU=MA(TP,n)+mσ[TP,n]BOLD=MA(TP,n)mσ[TP,n]where:BOLU=Upper Bollinger BandBOLD=Lower Bollinger BandMA=Moving averageTP (typical price)=(High+Low+Close)÷3n=Number of days in smoothing period (typically 20)m=Number of standard deviations (typically 2)σ[TP,n]=Standard Deviation over last n periods of TP

What Do Bollinger Bands® Tell You?

Bollinger Bands® is a popular technique. Many traders believe the closer the prices move to the upper band, the more overbought the market, and the closer the prices move to the lower band, the more oversold the market. John Bollinger has a set of 22 rules to follow when using the bands as a trading system.

The Squeeze

The "squeeze" is the central concept of Bollinger Bands®. When the bands come close together, constricting the moving average, it is called a squeeze. A squeeze signals a period of low volatility and is considered by traders to be a potential sign of future increased volatility and possible trading opportunities.

Conversely, the wider apart the bands move, the more likely the chance of a decrease in volatility and the greater the possibility of exiting a trade. These conditions are not trading signals. The bands do not indicate when the change may take place or in which direction the price could move.

Breakouts

Approximately 90% of price action occurs between the two bands. Any breakout above or below the bands is significant. The breakout is not a trading signal and many investors mistake that when the price hits or exceeds one of the bands as a signal to buy or sell. Breakouts provide no clue as to the direction and extent of future price movement.

Example of Bollinger Bands®

In the chart below, Bollinger Bands® bracket the 20-day SMA of the stock with an upper and lower band along with the daily movements of the stock's price. Because standard deviation is a measure of volatility, when the markets become more volatile the bands widen; during less volatile periods, the bands' contract.

Image

Image by Sabrina Jiang © Investopedia 2021

Limitations of Bollinger Bands®

Bollinger Bands® is not a standalone trading system but just one indicator designed to provide traders with information regarding price volatility. John Bollinger suggests using them with two or three other non-correlated indicators that provide more direct market signals and indicators based on different types of data. Some of his favored technical techniques are moving average divergence/convergence (MACD), on-balance volume, and relative strength index (RSI).

Because Bollinger Bands® are computed from a simple moving average, they weigh older price data the same as the most recent, meaning that new information may be diluted by outdated data. Also, the use of 20-day SMA and 2 standard deviations is a bit arbitrary and may not work for everyone in every situation. Traders should adjust their SMA and standard deviation assumptions accordingly and monitor them.

What Do Bollinger Bands® Tell You?

Bollinger Bands® gives traders an idea of where the market is moving based on prices. It involves the use of three bands—one for the upper level, another for the lower level, and the third for the moving average. When prices move closer to the upper band, it indicates that the market may be overbought. Conversely, the market may be oversold when prices end up moving closer to the lower or bottom band.

Which Indicators Work Best with Bollinger Bands®?

Many technical indicators work best in conjunction with other ones. Bollinger Bands® are often used along with the relative strength indicator (RSI) as well as the BandWidth indicator, which is the measure of the width of the bands relative to the middle band. Traders use BandWidth to find Bollinger Squeezes.

How Accurate Are Bollinger Bands®?

Since Bollinger Bands® are set two use +/- two standard deviations around an SMA, we should expect that approximately 95% of the time, the observed price action will fall within these bands.

What Time Frame Is Best Used With Bollinger Bands®?

Bollinger Bands® typically use a 20-day moving average.

The Bottom Line

Bollinger Bands® can be a useful tool for traders for assessing the relative level of over- or under-sold position of a stock and provides them with insight on when to enter and exit a position. Certain aspects of Bollinger Bands®, such as the squeeze, work well for currency trading. Buying when stock prices cross below the lower Bollinger Band® often helps traders take advantage of oversold conditions and profit when the stock price moves back up toward the center moving-average line.

Article Sources
Investopedia requires writers to use primary sources to support their work. These include white papers, government data, original reporting, and interviews with industry experts. We also reference original research from other reputable publishers where appropriate. You can learn more about the standards we follow in producing accurate, unbiased content in our editorial policy.
  1. Bollinger Bands. "Bollinger Bands Rules."

Take the Next Step to Invest
×
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.
Take the Next Step to Invest
×
The offers that appear in this table are from partnerships from which Investopedia receives compensation. This compensation may impact how and where listings appear. Investopedia does not include all offers available in the marketplace.