Keltner Channels vs Bollinger Bands: how they differ

By Oalgo · Last reviewed

Both draw an upper and a lower line around a moving average, but they measure width differently. Keltner Channels use ATR, the size of recent candles including gaps, around an EMA. Bollinger Bands use the standard deviation of recent closes, around an SMA.

Chart: example prices with Keltner Channels, 20 candles and a multiplier of 2, as solid lines, and the Bollinger Bands of the same prices as thin dashed lines.PriceUpper lineMiddle line (EMA 20)Lower lineBollinger Bands, for comparison
Example prices, made up for this page.

How do Keltner Channels and Bollinger Bands differ?

#
Keltner ChannelsBollinger Bands
Middle lineEMA of the closeSMA of the close
What sets the widthATR over 20 candles, which uses highs, lows and gapsStandard deviation of the last 20 closes
Usual settings20 candles, multiplier 220 candles, 2 standard deviations
Uses highs and lowsYes, through ATRNo, closes only
What makes it widerLarger candles, gaps includedCloses spread further from their average
After a sudden jump to a new price levelThe width jumps up on the jump candle itself, then fades graduallyThe width keeps growing until the new level fills about half of the 20-candle window, then shrinks as the old closes leave
Made-up example: the middle line is 100Keltner ChannelsBollinger Bands
Width measureATR of 3Standard deviation of 2
Upper line100 + 2 × 3 = 106100 + 2 × 2 = 104
Lower line100 − 2 × 3 = 94100 − 2 × 2 = 96

The two sets of lines sit in different places on the same prices, so a multiplier of 2 means something different on each. A level that suits one is not the same level on the other.

When do people use each?

#
  • Keltner Channels: a channel that follows the trend smoothly, with a close above the upper line as a breakout check or the middle line as a trend filter.
  • Bollinger Bands: the width as a gauge of calm and active stretches, or an entry when the close moves back inside a band, aiming for the middle line.
  • Both: Bollinger Bands sitting inside the Keltner Channels is often called a squeeze. A rule can compare the two.

How do you test the choice in Oalgo?

#

In Oalgo you can tell Oalgo AI your Keltner Channels or Bollinger Bands rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.

  • Build the same rule twice, once with each, with the same period and the same multiplier.
  • Run a backtest of both on the same dates, and on a trending stretch and a sideways one.
  • Compare the number of trades and the fees, not only the report totals.
  • Run a forward test of the one you keep, on new prices, with simulated funds.

What can neither tell you?

#

Neither says where price goes next. A close outside the lines is not a turning point: in a strong trend price can stay near one line for a long time. Both describe recent candles, and the multiplier changes the picture more than the choice of one over the other. The two pages on each indicator explain how it is built.

Read next