A close of 105 can be a breakout in one Keltner Channel and an ordinary observation inside another. The difference is not necessarily trend direction: it may be the volatility used to calculate the channel. Understanding this relationship helps traders distinguish a change in price from a change in the threshold itself.
1. What a modern Keltner Channel measures
A widely used modern Keltner Channel consists of an exponential moving average (EMA) surrounded by bands based on Average True Range (ATR). Implementations differ; this article uses a closing-price EMA and Wilder-smoothed ATR, not the original historical Keltner formulation.
Middle = EMA(N); Upper = Middle + k × ATR(M); Lower = Middle − k × ATR(M); Width = 2 × k × ATR(M). N and M are lookback lengths and k is a positive multiplier. For example, N = 20, M = 14 and k = 2 are illustrative settings, not universally optimal parameters.
EMA updates as EMA(t) = EMA(t−1) + 2/(N+1) × (Close(t) − EMA(t−1)). True Range is the maximum of High − Low, |High − previous Close| and |Low − previous Close|. After an initial M-bar arithmetic average of true ranges, Wilder ATR updates as ATR(t) = [(M−1) × ATR(t−1) + TR(t)] / M. The inclusion of the previous close lets TR capture gaps.
2. Worked example: identical closing price, different volatility
Consider two hypothetical completed-bar snapshots with EMA = 100, k = 2 and close = 105. They are independent illustrative states, not consecutive observations from a historical series.
| Calculation | A: Narrow | B: Wide |
|---|---|---|
| ATR | 2 | 4 |
| Upper band | 104 | 108 |
| Lower band | 96 | 92 |
| Total width | 8 | 16 |
| Close − upper | 1 | −3 |
| (Close − EMA) / ATR | 2.50 | 1.25 |
| Close above upper? | Yes | No |

The normalized distance D = (Close − EMA) / ATR is useful when ATR is positive: an upper-band close requires D > k, and a lower-band close requires D < −k. In A, D = 2.50; in B, D = 1.25. An absolute five-unit rise above the EMA is therefore not equally unusual in both volatility regimes. This distance is not a statistical z-score and does not establish a probability of reversal.
3. A breakout condition is not a confirmed continuation
Distinguish a state (close above the upper band) from a crossing event (previous close at or below its own upper band and current close above its own upper band). Evaluate both at completed bars. A channel can rise or fall because of changes in the EMA and ATR even when price barely moves.
For example, in case A a close of 105 above 104 identifies an outside state; without the previous bar's channel and close, it does not prove a new crossing. A later close of 103 would be inside the old 104 reference, but the new channel must also be calculated before declaring a return inside the current band. A trader can test a separate fixed breakout-level invalidation rule instead of confusing the two thresholds.
Useful confirmation candidates include a rising EMA, a break above a separately defined prior swing high, or a subsequent close that remains outside. None guarantees continuation. In strong trends prices can remain near an outer band, so blindly fading every band touch can be hazardous.
4. Current versus prior channel: choose one rule before testing
A current-band comparison uses the final EMA and ATR of the signal bar; these values are known only when that bar closes. A prior-band comparison instead freezes the upper and lower boundaries from the last completed bar before the signal bar starts. Both are legitimate but answer different questions. Do not use the final current-bar channel to simulate an order placed earlier in that same bar. If an order is based on an end-of-bar signal, model execution at the next available tradable price unless an actual supported close execution mechanism is modeled.
5. Risk example and testing checklist
Suppose an illustrative long fill is 105, an independently chosen protective stop is 101, and a reference target is 113. Gross risk is 4 price units per share, gross reward is 8, and the gross reward/risk ratio is 2:1. With estimated round-trip costs of 0.50 per share, planned loss becomes 4.50 and net target reward becomes 7.50, or about 1.67:1. A risk budget of 225 permits floor(225/4.50) = 50 shares under these assumptions. A gap, liquidity shortage or slippage beyond the estimate can increase actual loss. For contracts use the actual point value, tick size and cost per contract.
- Compare fixed-period and multiplier settings using a training sample, then hold them constant on unseen data.
- Test trending, sideways and high-volatility segments separately; count false breakouts using a predefined time horizon.
- Include fees, spread and realistic slippage. Record trade count, drawdown and net expectancy, not win rate alone.
- Use consistent adjusted data, sessions, warm-up and ATR smoothing. Skip invalid or zero ATR rather than divide by zero.
- Compare current-band and prior-band rules as separate strategies; do not select the better one retrospectively without fresh validation.
If you would like to turn these channel definitions into a custom indicator, alert or testable trading tool, explore our Custom Trading Software Development Services.
Risk disclosure: This article is educational, not investment advice. All numerical examples are hypothetical and no backtest or live performance is claimed. Trading can result in substantial losses; indicators and stop orders cannot guarantee outcomes.