WebCab Technical Analysis Web Services for Delphi v1.1

BollingerBands.LowerBollingerBands Method 

Evaluates the position of the Lower Bollinger Band for a given standard deviation level of each sub period for which sufficient data is given.

public double[] LowerBollingerBands(
   double[] prices,
   double standardDeviationLevel,
   int lengthOfMA
);

Parameters

prices
An array of doubles where the k-th term correspond the k-th previous periods price.
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

An array 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

Exception TypeCondition
ArgumentExceptionThrown when the Prices array in empty or the number of standard deviations considered (i.e. the parameters standardDeviationLevel) is not positive number.

See Also

BollingerBands Class | Indicators Namespace | LowerBollingerBand(double[], double) - Evaluate the Bollinger Band over a single interval rather than several intervals.