Syntax
Public FunctionBollingerBands(applyTo As ENUM_APPLIED_PRICE, period As Integer, StandardDev As Integer, Ma As ENUM_MA_METHOD) As Integer
|
Bollinger Bands are similar in comparison to moving average envelopes. Bollinger Bands are calculated using standard deviations instead of shifting bands by a fixed percentage.
Bollinger Bands (as with most bands) can be imposed over an actual price or another indicator.
When prices raises above the upper band or fall below the lower band, a change in direction may occur when the price penetrates the band after a small reversal from the opposite direction.
Parameters
Key | Description |
applyTo | The value can be one of the ENUM_APPLIED_PRICE |
period | Period as integer value |
StandardDev | StandardDev value |
Ma | The value can be one of the ENUM_MA_METHOD |
Return value
Returns the handles of a technical indicator, in case of failure returns a empty string.
See Also