Bollinger Bands

See Also

Related Topics

 

 

Bollinger bands are lines drawn at a fixed interval around a moving average as a function of a market’s volatility.  The lines, or Bollinger Bands, are plotted above and below the chosen moving average at a distance equal to two times the root mean square of the deviations, or Standard Deviation, from the moving average.  The length of the data used in the equations is equal to the length of the simple moving average employed.

 

 

Standard Deviation is a method of measuring the volatility or dispersion of a data series.  To calculate Standard Deviation, you need a data series and a constant number of periods.  First, you add the values of the data points in the data series.  Then, proceed with the following steps:

 

  1. Divide the sum by the number of data points, or Periods. The quotient is the Arithmetic Mean.

  2. Subtract the Arithmetic Mean from each data point. The results are the Raw Deviations.

  3. Square each Raw Deviation. The products are the Squared Deviations.  (Squared Deviations eliminate negative numbers.)

  4. Add the Squared Deviations. The sum is the Total Squared Deviation.

  5. Divide the Total Squared Deviation by the number of data points, or Periods. The quotient is the Mean Squared Deviation.

  6. Calculate the square root of the Mean Squared Deviation.

 

The result is the Standard Deviation.

 

Formula:

 


  1.  


  2.  


  3.  


  4.  


  5.  

 

Where:

 

SD = standard deviation

TSD = total squared deviation

MSD = mean squared deviation

D = raw deviation

D2 = squared deviation

AM = arithmetic mean

P = number of periods

DP = data point

Parameters

 

Parameter

Function

Avg. Type

Sets the type of calculation for  the moving average:

 

Option

Function

Exponential

Exponential moving average.

Hamming

Hamming moving average.

Modified

Modified moving average.

Simple

Simple moving average.

Weighted

Weighted moving average.

 

Color

Default color for the center line is yellow; lower channel defaults to cyan; upper channel defaults to violet. To change the color, click on the color button:

 

 

Then choose the color you want from the Color Menu.

 

Graph

Sets the drawing method for the study.

 

Option

Function

Bars

Renders the study as bars.

Dots

Renders the study as dots.

Dotted

Renders the study as dots.

Histogram

Renders the study as a histogram drawn from 0.

Line (Default)

Renders the study as a line.

Not Drawn

The study is not rendered.

 

Line Style

Sets the rendering technique of the graph parameter (if it is set to Line).

 

Option

Function

Dash-Dot

--l-l-l-l-l-l-

Dash-Dot-Dot

----ll----ll----

Dashed

- - - - - - - - - - - - - - -

Dotted

llllllllll

Solid (Default)

-------------------------

 

Line Width

Sets the tickness of the study line.

 

Option

Function

1 pixel (Default)

 

2 pixels

 

3 pixels

 

4 pixels

 

5 pixels

 

 

Period

 

Price

The price on which the study is calculated:

 

Option

Function

Close

Closing price (Default).

 

First Study

Calculates the study using the values of the first study in the window.

 

H, L Midpt

Calculates the study on the mid-point of the high and low.

 

H, L, C Avg.

Calculates the study on the average of the High, Low, and Close.

 

High

High price.

 

Low

Low price.

 

Open

Opening price.

 

Tick Average

Calculates the study on the average of ticks in the period.

 

Shift

 

StdDev

 

 

Notes

Developed by John Bollinger, Bollinger Bands compare volatility to price over time. The overlay consists of three bands.

 

 

The upper and lower bands balloon during periods of erratic price change and narrow during periods of low volatility.

 

The Bollinger Bands overlay is a member of the "envelope" class of studies. Envelopes consist of three lines, a center line and two outer bands. Envelope theory holds that price has the greatest probability of falling within the boundaries of the envelope. Prices falling outside the envelope boundaries are considered anomolies. The major differences between envelope types can be found in the calculation of the lines, in the spacing between the lines or bandwidth, and how they are interpreted.

 

Bollinger recommended using a 20-day simple moving average for the center band and 2 standard deviations for the outer bands. The length of the moving average and number of deviations can be adjusted in Aspen.

 

A bullish signal is given when prices penetrate the lower band and remain above the lower band after a subsequent low forms. Similarly, a bearish signal is given when prices peak above the upper band and a subsequent peak fails to break above the upper band.

 

Sharp price changes can occur after the bands have tightened, but Bollinger Bands do not give forecast trend. Market direction must be determined using other types of analysis. Use Bollinger Bands to identify the market volatility and price extremes.

 

see, Bollinger, John, Capital Growth Letter.