Within this class we offer procedures which evaluate the upper and lower Bollinger Bands.
[Visual Basic]
Overloads Public Shared Function BollingerBands( _
ByVal s As Series, _
ByVal elementValue As ElementValue, _
ByVal standardDeviationLevel As Double, _
ByVal lengthOfMA As Integer _
) As SeriesCollection
[C#]
public static SeriesCollection BollingerBands(
Series s,
ElementValue elementValue,
double standardDeviationLevel,
int lengthOfMA
);
Bollinger Bands are a type of envelope that are plotted at standard deviation levels above and below the corresponding (simple) moving average. This produces an effect of having the bands widen during periods of higher volatility and contract during less volatile periods. Bollinger Bands indicate the relative supply and demand for a given asset. If the asset to move close to the top of the envelope then it indicates that there is strong demand for the asset, conversely if the asset hugs the bottom of the trading range then it indicates that there is oversupply of the asset.
Since the Bollinger Bands will nearly always be combined with other indicators when forming a trading system the number of periods used in the evaluation of the standard deviation of the stocks and the moving average will vary. For those without design restrictions a popular choice of the number of time periods is around 20-23.
FinancialEngine Class | FinancialEngine Members | Overload List
2002 - 2005 Webavail Productions Inc. & Corporate Web Solutions Ltd.. All Rights Reserved.