Get started
Nov 21, 2026Close 60,216%B 0.1156
60,21601.00Jun 13Jul 19Aug 24Sep 29Nov 4

Bitcoin, daily bars, default inputs. Move across the chart to read any day.

Volatility · %B

Bollinger %B

Shows where the close sits inside the Bollinger Bands. 0 is the lower band, 1 is the upper band and 0.5 is the middle line, so readings below 0 or above 1 are outside the bands.

0.1156latest value on Bitcoin, daily bars
Draws
In its own pane
Range
unbounded

Formula

Mt=SMA⁡n(C)t,σt=1n∑i=0n−1(Ct−i−Mt)2M_t = \operatorname{SMA}_n(C)_t, \quad \sigma_t = \sqrt{\tfrac{1}{n}\textstyle\sum_{i=0}^{n-1}\left(C_{t-i} - M_t\right)^2}
Ut=Mt+k σt,Lt=Mt−k σtU_t = M_t + k\,\sigma_t, \quad L_t = M_t - k\,\sigma_t
%Bt=Ct−LtUt−Lt\%B_t = \frac{C_t - L_t}{U_t - L_t}
n=period,k=stdn = \text{period},\quad k = \text{std}

Uses the population standard deviation, as Bollinger does. The result is a plain ratio, not multiplied by 100. If price did not move over the whole window the bands collapse and the value shows a gap. The first n minus 1 bars have no value.

How to read it

  • Above 1 the close is outside the upper band, a stretched move. In a strong uptrend %B can stay near or above 1 for many bars.
  • Below 0 the close is under the lower band. Bollinger suggests looking for a later low that holds above 0 as a sign of fading selling.
  • Crosses of 0.5 show the close moving above or below the moving average at the center of the bands.

Inputs

PeriodDefault 20
Bars in the average and in the standard deviation.
Std devDefault 2
How many standard deviations each band sits from the average.

What it draws

%B
A line in its own pane

Where Blockcircle uses it

  • Alerts: set a condition on it and get told when it is met.
  • MTE V4: our strategy engine can trade on it.
  • /aoe: add it as a column, then rank or filter thousands of assets by it.

All three run the same code as the chart on this page, so the numbers agree on the same bars.

Further reading

  • John Bollinger, Bollinger on Bollinger Bands (2001)

See all indicators