Bollinger Bands (Standard)
Category: volatility, trend
A volatility indicator consisting of a Simple Moving Average (SMA) and two outer bands calculated using standard deviations from the mean.
Formula
ML = SMA(Price, n) \nUL = ML + (k * StdDev(Price, n)) \nLL = ML - (k * StdDev(Price, n)) \nStdDev = sqrt(sum(Price - SMA)^2 / n)
Inputs
- InpBandsPeriod (default: 20)
- InpBandsShift (default: 0)
- InpBandsDeviations (default: 2.0)
See signal primitives and every published strategy that uses Bollinger Bands (Standard) on WOBR StrategyVerse.