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.
How do Keltner Channels and Bollinger Bands differ?
#| Keltner Channels | Bollinger Bands | |
|---|---|---|
| Middle line | EMA of the close | SMA of the close |
| What sets the width | ATR over 20 candles, which uses highs, lows and gaps | Standard deviation of the last 20 closes |
| Usual settings | 20 candles, multiplier 2 | 20 candles, 2 standard deviations |
| Uses highs and lows | Yes, through ATR | No, closes only |
| What makes it wider | Larger candles, gaps included | Closes spread further from their average |
| After a sudden jump to a new price level | The width jumps up on the jump candle itself, then fades gradually | The 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 100 | Keltner Channels | Bollinger Bands |
|---|---|---|
| Width measure | ATR of 3 | Standard deviation of 2 |
| Upper line | 100 + 2 × 3 = 106 | 100 + 2 × 2 = 104 |
| Lower line | 100 − 2 × 3 = 94 | 100 − 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
- Keltner Channels explained: how to read and use themKeltner Channels draw lines around an EMA, set apart by ATR. See how they are calculated, how they differ from Bollinger Bands, and how to test rules.
- Bollinger Bands explained: how to read and use themBollinger Bands sit above and below a moving average and widen when price moves more. Learn how they are calculated, how to read them and how to test rules.