Evaluates the position of the Upper Bollinger Band for a given standard deviation level of each sub period for which sufficient data is given.
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.
| Exception Type | Condition |
|---|---|
| ArgumentException | Throw if the array historicalPrices is empty or if the number of standard deviations given (i.e. the parameter standardDeviationsLevel) is a negative number. |
BollingerBands Class | Indicators Namespace | UpperBollingerBand(double[], double) - Evaluates the Upper Bollinger Band for a given interval rather than a number of sub-intervals.