Bollinger Band Width
How far apart the Bollinger Bands are, as a percent of the middle band.
Bollinger band width as a percent of the middle band: (upper − lower) ÷ middle × 100 (4 = the bands are 4 % of the middle apart). Not ready when the middle is 0.
Settings
| Setting | Default | Range | What it does |
|---|---|---|---|
| period | 20 | 1 to 500 | Candles in the average and the deviation. |
| mult | 2 | 0.1 to 10 | Band distance in standard deviations. |
What it gives
| Output | What it is |
|---|---|
| bbw | Band width, % of middle. |
What it reads
It reads open, high, low, close, hl2, hlc3, ohlc4, hlcc4, close by default.
Warm-up
With its default settings, Bollinger Band Width needs 20 closed candles before its first value. A backtest loads them before its start date, so the first trade can already use it.
Related indicators
Built from: Bollinger Bands
Test it
Copy this sentence into the Algonney chat to backtest it:
Backtest a strategy on BTC that uses Bollinger Band Width with its default settings