Bollinger Bands

Category: volatility, trend

Calculates volatility-based channels consisting of a Simple Moving Average and two lines plotted at a standard deviation distance from the SMA.

Formula

\text{Mid} = \text{SMA}(n), \text{Upper} = \text{SMA} + (k \times \sigma), \text{Lower} = \text{SMA} - (k \times \sigma) \text{ where } \sigma = \sqrt{\frac{\sum(P-\text{SMA})^2}{n}}

Inputs

See signal primitives and every published strategy that uses Bollinger Bands on WOBR StrategyVerse.


Open the interactive page on WOBR AI → · WOBR.AI home