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, usage in published strategies and more on WOBR StrategyVerse.


Open in the WOBR AI app → · WOBR.AI home