Skip to content

BB Overview

Bollinger Bands (BB) consist of a middle SMA band surrounded by upper and lower bands set at a specified number of standard deviations away. The bands dynamically expand during high volatility and contract during low volatility — providing both trend direction and volatility context.

Price touching or exceeding the bands signals statistical extremes: ~95% of price action falls within 2 standard deviation bands. Touches are potential reversal points in ranges or breakout continuation signals in trends.


  1. Calculate Middle Band: SMA of closing prices over n periods
  2. Calculate Standard Deviation: StdDev of closing prices over n periods
  3. Upper Band: Middle + (Multiplier × StdDev)
  4. Lower Band: Middle - (Multiplier × StdDev)
  5. Interpret: Band touches signal statistical extremes; band width indicates volatility

Key Characteristics:

  • Dynamic Volatility = Bands expand/contract with market volatility
  • Statistical Foundation = Based on standard deviation — mathematically grounded
  • Dual Purpose = Functions as both trend indicator and volatility measure
  • %B Metric = Normalizes price position within bands (0 = lower, 1 = upper)

BB Behavior:

  • Price touching upper band suggests overbought or bullish breakout
  • Price touching lower band suggests oversold or bearish breakdown
  • Narrowing bands (Bollinger Squeeze) signal upcoming volatility expansion
  • Price typically stays within the bands ~95% of the time

These are the signal names you select when configuring BB in the algorithm builder or via the MCP agent:

SignalTriggers WhenTypical Use
price_above_upperBandPrice crosses above the upper bandOverbought / breakout above — potential reversal or trend continuation
price_below_lowerBandPrice crosses below the lower bandOversold / breakdown below — potential reversal or trend continuation
percentb_above_threshold%B rises above thresholdPrice position within bands — high = near upper band
percentb_below_threshold%B falls below thresholdPrice position within bands — low = near lower band

Display: Overlay (on price chart)

Category: Volatility

Threshold range: Price-based


What Bollinger Bands Does Well:

  • Dynamic Volatility Measurement: Bands adapt to changing market conditions
  • Statistical Foundation: Based on standard deviation mathematics
  • Squeeze Detection: Narrowing bands reliably precede breakouts
  • %B Normalization: Standardized price position for algorithmic use