dotnetCHARTING Send comments on this topic.
LowerBollingerBands(String,Series,Double,Int32) Method
See Also 
dotnetCHARTING Namespace > StatisticalEngine Class > LowerBollingerBands Method : LowerBollingerBands(String,Series,Double,Int32) Method


seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
A series where the first term correspond the latest periods values and the previous element is the value of the element before that and so on... The length of this series is equal to the number of periods used in the evaluation of the standard deviation and the moving average.
standardDeviationLevel
The number of standard deviation which the lower band in shifted from the moving average.
lengthOfMA
The length of the moving average used within the evaluation of the Bollinger Bands. Note that this also corresponds to the length of the period over which the standard deviation is evaluated.
Evaluates the position of the Lower Bollinger Band for a given standard deviation level.

Syntax

Visual Basic (Declaration) 
Public Overloads Shared Function LowerBollingerBands( _
   ByVal seriesName As String, _
   ByVal s As Series, _
   ByVal standardDeviationLevel As Double, _
   ByVal lengthOfMA As Integer _
) As Series
Visual Basic (Usage)Copy Code
Dim seriesName As String
Dim s As Series
Dim standardDeviationLevel As Double
Dim lengthOfMA As Integer
Dim value As Series
 
value = StatisticalEngine.LowerBollingerBands(seriesName, s, standardDeviationLevel, lengthOfMA)
C# 
public static Series LowerBollingerBands( 
   string seriesName,
   Series s,
   double standardDeviationLevel,
   int lengthOfMA
)

Parameters

seriesName
The name of the series which will be displayed on the chart, i.e. its label.
s
A series where the first term correspond the latest periods values and the previous element is the value of the element before that and so on... The length of this series is equal to the number of periods used in the evaluation of the standard deviation and the moving average.
standardDeviationLevel
The number of standard deviation which the lower band in shifted from the moving average.
lengthOfMA
The length of the moving average used within the evaluation of the Bollinger Bands. Note that this also corresponds to the length of the period over which the standard deviation is evaluated.

Return Value

A series where the first term corresponds to the value of the Upper Bollinger Band for the latest periods, the second terms to the previous period and so on.

Exceptions

ExceptionDescription
ArgumentExceptionThrown when the series in empty or the number of standard deviations considered (i.e. the parameters standardDeviationLevel) is not positive number.

Remarks

Please note that by standard deviation level we not only refer to the number of standard deviations shifts away from the moving average at which the Lower Bollinger Band is drawn but also the number of time series points which are used in the evaluation of the standard deviation and the moving average.

See Also

© 2010 All Rights Reserved.