|Visual Basic (Declaration)|
Public Overloads Shared Function LowerBollingerBands( _ ByVal sc As SeriesCollection, _ ByVal elementValue As ElementValue, _ ByVal standardDeviationLevel As Double, _ ByVal lengthOfMA As Integer _ ) As SeriesCollection
|Visual Basic (Usage)||Copy Code|
public static SeriesCollection LowerBollingerBands( SeriesCollection sc, ElementValue elementValue, double standardDeviationLevel, int lengthOfMA )
- A collection of series objects. For example, to evaluate this indicator for two series you will need to pass a series collection containing this two series.
- Specifies the particular element value (for example High, Low, Close or Open of the financial time series) which will be considered within this indicator evaluation. In particular, if you wish to use the element value high then you should pass the parameter High. In a similarly fashion if you wish to use the low, close or open, then you should pass the parameter Low, Close, Open, respectively.
- The number of standard deviation which the lower band in shifted from the moving average.
- 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 ValueA 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.
|ArgumentException||Thrown when the series in empty or the number of standard deviations considered (i.e. the parameters standardDeviationLevel) is not positive number.|
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.