ChartsTime Series
Bollinger Bands
Overlay a simple moving average (SMA) with upper and lower standard-deviation bands on a price line. Ideal for spotting overbought/oversold conditions, volatility squeezes, and trend reversals in financial data.
Examples
When to Use
- Analyzing stock, commodity, or crypto price volatility
- Identifying overbought / oversold conditions (price touching bands)
- Detecting volatility squeezes when bands narrow
- Comparing multiple tickers side-by-side with small multiples
Data Roles
Loading data roles...
Settings
Bollinger Bands
Period (N)
numberNumber of periods for SMA calculation (2–200).
Default:20Std Deviations (K)
numberStandard deviation multiplier for band width (0.5–5).
Default:2Show Price Line
booleanDisplay the raw price/value line.
Default:trueShow Middle Band (SMA)
booleanDisplay the simple moving average.
Default:trueShow Upper/Lower Bands
booleanDisplay upper and lower deviation bands.
Default:trueShow Band Fill
booleanFill the area between upper and lower bands.
Default:trueColors
Price Line Color
colorColor of the raw price line.
Default:#2171b5Middle Band Color
colorColor of the SMA line.
Default:#aaaaaaUpper Band Color
colorColor of the upper band.
Default:#e41a1cLower Band Color
colorColor of the lower band.
Default:#4daf4aBand Fill Opacity
numberOpacity of the shaded band area (0–1).
Default:0.2Common settings like Legend, Tooltip, and Axis configuration are covered in Shared Concepts.
Tips & Best Practices
- A period of 20 with 2 standard deviations is the classic Bollinger setup — adjust for tighter or wider bands
- Toggle the band fill to reduce visual noise when overlaying multiple series
- Combine with the Legend role to compare Bollinger Bands across multiple tickers