This documentation is archived and is not being maintained.
Bollinger Bands Formula (Chart Controls)
Visual Studio 2010
The Bollinger Bands formula calculates the standard deviation above and below a simple moving average of the data. Since standard deviation is a measure of volatility, a large standard deviation indicates a volatile market, and a smaller standard deviation indicates a calmer market.
Syntax
Chart.DataManipulator.FinancialFormula( FinancialFormula.BollingerBands, "Period,StdDev", "Price", "UpperBand,LowerBand")
Parameters
This formula takes two required parameters.
 Period

Period for calculating the moving average for the Bollinger Bands.
 StdDev

The number of standard deviations for calculating the upper and lower bands.
Input Values
This formula takes one input Y value.
 Price

The price for which the Bollinger Bands are calculated.
Output Value
This formula outputs two Y values.
 UpperBand

Upper Bollinger Band.
 LowerBand

Lower Bollinger Band.
Show: