Skip to content

BB (Bollinger Bands)

A middle line (a simple moving average) with a band above and below it. The bands widen when price swings a lot and tighten when it is calm.

Settings

Setting Default What it does
Length 20 How many candles the middle line averages. Shorter follows price closer.
Std dev 2.0 How wide the bands are (in standard deviations, a measure of how spread out prices are). Wider (2.5, 3) is reached less often: fewer, more extreme signals.

Ready-made conditions

For Condition Fires when
Buy Price crosses lower band the one candle price moves from above the Lower band line to below it
Buy or sell Price touches SMA (middle band) line price reaches the Middle band line during the candle, from either side
Sell Price crosses upper band the one candle price moves from below the Upper band line to above it

Warnings

  • Blocks Save: Length 1–1000 (whole number); Std dev 0.1–10.

Good to know

  • Needs the length in candles (20 at length 20).
  • The middle line is a simple moving average (SMA) of the length you set.