Skip to content

Keltner Channel

A volatility channel: EMA as the average and ATR multiples as the upper/lower band. The Keltner Channel builds the upper and lower bands by adding and subtracting an ATR multiplier from the price EMA. Unlike Bollinger Bands, it uses ATR instead of standard deviation, which makes the channel less reactive to sharp price spikes. Breakouts beyond the channel signal strong moves.

Formula:

Middle = EMA(Close, period)
ATR = ATR(atr_period)
Upper = Middle + atr_mult * ATR
Lower = Middle - atr_mult * ATR
ParameterTypeDefaultRange / Values
Expand Percent (Optional)float0.01-100
Periodint201-200
Atr Multfloat20.1-10
Atr Periodint201-100
TriggerDirectionConditionDescription
Upper band cross🔴 SellThe closing price crossed the upper channel boundary from below.Price breaks through the upper channel band upward. May signal the start of an upward move or reaching overbought — interpretation depends on context.
Lower band cross🟢 BuyThe closing price crossed the lower channel boundary from above.Price breaks through the lower channel band downward. May signal the start of a downward move or reaching oversold — interpretation depends on the indicator context.
Back inside from above🔴 SellPrice returned inside the channel from the upper side (reversion to normal).The closing price was above the upper boundary and returned inside the channel. May signal a pullback from extreme overbought.
Back inside from below🟢 BuyPrice returned inside the channel from the lower side (reversion to normal).The closing price was below the lower boundary and returned inside the channel. May signal a bounce from extreme oversold.
High touched upper boundary (realtime)🔴 SellThe high of the current unclosed candle touched the upper channel boundary.Fires in real time (realtime) — without waiting for the candle to close — when the high of the current candle reaches or exceeds the upper boundary. Useful for a fast reaction to a boundary touch.
Low touches lower band (realtime)🟢 BuyThe low of the current unclosed candle touched the lower channel boundary.Fires in real time (realtime) when the low of the current candle reaches or drops below the lower boundary.
Middle line cross up🟢 BuyThe closing price crossed the channel middle line from below.The closing price rises above the channel middle line. Signals a balance shift in favor of buyers.
Middle line cross down🔴 SellThe closing price crossed the channel middle line from above.The closing price drops below the channel middle line. Signals a balance shift in favor of sellers.
Upper band touch (close)🔴 SellThe closing price touched or exceeded the upper channel boundary.The closing price reached the upper channel boundary. Signals buyer pressure.
Lower band touch (close)🟢 BuyThe closing price touched or dropped below the lower channel boundary.The closing price reached the lower channel boundary. Signals seller pressure.
Confirmed breakout up🟢 BuyPrice closed above the upper boundary a set number of times in a row.A confirmed upper-boundary breakout signal. Requires several consecutive closes above the upper boundary, which reduces the chance of a false breakout.
Confirmed breakout down🔴 SellPrice closed below the lower boundary a set number of times in a row.A confirmed lower-boundary breakout signal. Unlike close_cross_lower (single bar), it requires several consecutive closes below the lower boundary. Reduces the number of false breakouts but increases lag.
Price above channel line by N %🔴 SellPrice is above the selected channel line by a set percentage — a sell signal.Fires when the closing price exceeds the selected channel line by a set percentage. By mean-reversion logic: over-extension upward is a sell signal.
Price below channel line by N %🟢 BuyPrice is below the selected channel line by a set percentage — a buy signal.Fires when the closing price is below the selected channel line by a set percentage. Over-extension downward is a buy signal (mean reversion).
Slope turns positive🟢 BuyThe indicator’s slope turned positive — an upward reversal.The Keltner line changes its slope from descending to ascending — the indicator has stopped falling and started rising.
Slope turns negative🔴 SellThe indicator’s slope turned negative — a downward reversal.The Keltner line changes its slope from ascending to descending — the indicator has stopped rising and started falling.
ParameterTypeDefaultRange / Values
Candles (Confirmed breakout down, Confirmed breakout up)int21-20
Band (Price below channel line by N %)enumlowerupper, lower, middle
Band (Price above channel line by N %)enumupperupper, lower, middle
Percent (Price above channel line by N %, Price below channel line by N %)float10-100