Back to Volatility & Bollinger
Volatility & Bollinger

Bollinger Standard Deviation

The 20-day rolling standard deviation of the closing price. It measures how widely the price has swung around its 20-day average. It's the width parameter used to build the Bollinger upper and lower bands.

❓ Why It Matters

Standard deviation is the mathematical foundation of the Bollinger Bands. When it's small, the bands squeeze close to the middle — indicating a quiet market. When it's large, the bands widen — indicating high volatility. Watching this number tells you whether volatility is expanding or contracting.

📐 The Formula
Standard_Deviation = Std Dev of the last 20 closing prices (with ddof=1)
🔌 Data Sources

Computed

🔬 How We Compute It

We compute the sample standard deviation of the last 20 closing prices. This value is then multiplied by 2 and added/subtracted from the middle band to form the upper and lower bands.

📊 How to Read It
  • Small values → low volatility; the market is quiet.
  • Large values → high volatility; wider swings expected.
  • Compare current vs. historical values to spot volatility regimes.
  • Rising std dev → expansion phase; falling → contraction.
⚠️ Common Mistakes
  1. Confusing Bollinger std dev with the 30-day std dev used in Risk & Return — they use different windows.
  2. Assuming low volatility = low risk — sometimes low volatility precedes big moves.

Stockenza Method · Updated 2026-10-14 · Educational use only