Systemicbeta

Keltner Channel

systemic:core-kcIndicators

Inputs

NameTypeDescription
Original VersionTrue/falseChooses which Keltner Channel calculation method to use.
Short WindowWhole numberNumber of bars used for the Average True Range (ATR) calculation.
Long WindowWhole numberNumber of bars used for the channel bands.
MultiplierWhole numberNumber of ATRs between the Middle Band and each outer band.
Price HighNumber seriesThe highest price of each bar.
Price LowNumber seriesThe lowest price of each bar.
Price CloseNumber seriesThe closing price of each bar.

Outputs

NameTypeDescription
Upper BandNumber seriesThe upper boundary of the Keltner Channel.
Upper Band IndicatorNumber seriesA 0 or 1 series that is 1 on bars where the close is above the Upper Band.
Lower BandNumber seriesThe lower boundary of the Keltner Channel.
Lower Band IndicatorNumber seriesA 0 or 1 series that is 1 on bars where the close is below the Lower Band.
Middle BandNumber seriesThe center line of the Keltner Channel.
Percent BandwidthNumber seriesThe position of the closing price inside the Keltner Channel, where 0 is the Lower Band and 1 is the Upper Band.
Width BandNumber seriesThe channel width as a percentage of the Middle Band.

Cost

41
credits per run
1,000
bars

0.228 + 0.0407·n credits for n bars, rounded up. The marks are each plan's limit of bars.

Overview and History

The Keltner Channel (KC) is a volatility-based technical indicator introduced by Chester W. Keltner in his 1960 book "How to Make Money in Commodities." The modern version, popularized by Linda Bradford Raschke, uses an Exponential Moving Average (EMA) as the middle line and bands based on the Average True Range (ATR). Keltner Channels are widely used in both traditional securities and cryptocurrencies to identify breakouts, overbought/oversold conditions, and trend direction. For more, see Investopedia: Keltner Channel, StockCharts: Keltner Channel, and Binance Academy: Volatility Indicators in Crypto.


Mathematical Formulation

Keltner Channel consists of three lines. With the modern method (Original Version off):

  1. Middle Line (ML): MLt=EMAN(Closet)\text{ML}_t = \text{EMA}_{N}(\text{Close}_t)
  2. Upper Band (UB): UBt=MLt+(ATRNs×k)\text{UB}_t = \text{ML}_t + (\text{ATR}_{N_s} \times k)
  3. Lower Band (LB): LBt=MLt−(ATRNs×k)\text{LB}_t = \text{ML}_t - (\text{ATR}_{N_s} \times k)

Where:

  • EMAN\text{EMA}_{N} is the Exponential Moving Average over the Long Window of NN bars (commonly 20).
  • ATRNs\text{ATR}_{N_s} is the Average True Range over the Short Window of NsN_s bars (commonly 10 or 14).
  • kk is the Multiplier (commonly 2).

With the original method (Original Version on), all three lines are simple averages over the Long Window of NN bars — ML=SMAN(H+L+C3)\text{ML} = \text{SMA}_{N}\left(\frac{H+L+C}{3}\right), UB=SMAN(4H−2L+C3)\text{UB} = \text{SMA}_{N}\left(\frac{4H-2L+C}{3}\right), LB=SMAN(−2H+4L+C3)\text{LB} = \text{SMA}_{N}\left(\frac{-2H+4L+C}{3}\right) — and the Short Window and Multiplier are not used.


Visualizing Keltner Channel

Calculation Flow (modern method)

flowchart TD
    A[Price Data] --> B[Calculate EMA]
    A --> C[Calculate ATR]
    B & C --> D[Compute Upper Band]
    B & C --> E[Compute Lower Band]
    B & D & E --> F[Keltner Channel Output]

Keltner Channel in a Trading Workflow

sequenceDiagram
    participant Market
    participant KC
    participant Trader
    Market->>KC: Price bars
    KC->>KC: Calculate bands
    KC->>Trader: Signal (e.g., price breaks band)
    Trader->>Market: Decides to trade or hold

Keltner Channel on Example Data (XY Chart)

Suppose High, Low and Close are all equal to this price series:

DayPrice
110
212
314
413
515
614
716
818
917
1019

With the modern method, Long Window 5, Short Window 5 and Multiplier 2, days 1 to 4 are empty (warm-up). From day 5 to day 10 (rounded):

  • ML: [13.12, 13.42, 14.28, 15.52, 16.01, 17.01]
  • UB: [15.92, 16.06, 17.19, 18.65, 18.92, 20.13]
  • LB: [10.32, 10.78, 11.37, 12.39, 13.11, 13.89]
xychart-beta
    title "Price and Keltner Channel (Days 5 to 10)"
    x-axis [5, 6, 7, 8, 9, 10]
    y-axis "Value" 8 --> 21
    line [15, 14, 16, 18, 17, 19]
    line [13.12, 13.42, 14.28, 15.52, 16.01, 17.01]
    line [15.92, 16.06, 17.19, 18.65, 18.92, 20.13]
    line [10.32, 10.78, 11.37, 12.39, 13.11, 13.89]

Practical Use Cases

In Securities

  • Breakout Detection: Price closing above the upper band may signal a bullish breakout; below the lower band, a bearish breakout.
  • Trend Identification: The slope of the middle line (EMA) and price position within the bands help identify trend direction and strength.
  • Overbought/Oversold: Price touching or exceeding bands may indicate overbought/oversold conditions. See Investopedia: Keltner Channel.

In Cryptocurrencies

  • Volatility Adaptation: KC adapts to crypto’s high volatility. This helps filter noise and spot real breakouts. See Binance Academy: Volatility Indicators in Crypto.
  • Risk Management: Bands can be used to set dynamic stop-losses and manage position sizing.
  • Systematic Strategies: KC is a common building block of volatility-based crypto strategies.

Keltner Channel in Macroeconomic Context

Keltner Channels can be combined with macro indicators (e.g., CPI, VIX) to adapt a strategy to changing volatility. For example, when a macro event raises volatility, the KC bands widen. This helps traders avoid false breakouts and manage risk.

flowchart TD
    A[Macro Event: CPI, VIX, Fed] --> B[Market Volatility]
    B --> C[Bands Widen]
    C --> D[KC Signals Adjusted]
    D --> E[Trading Decision]

For more on macro impacts, see Investopedia: How Economic Indicators Affect Markets.


Advantages

  • Dynamic Range: Adjusts to market volatility, making it adaptable to changing conditions.
  • Trend and Breakout Signals: Helps identify trend direction, strength, and potential breakouts.
  • Versatility: Useful across asset classes and timeframes.

Limitations

  • Lagging Indicator: Can lag behind price, especially during rapid moves.
  • False Signals: May produce false breakouts in choppy or sideways markets.
  • Parameter Sensitivity: On the modern method, results depend on both windows and the Multiplier; on the original method only the Long Window matters.

Missing Data

KC needs High, Low and Close on a bar. A bar that misses any of the three is a missing bar:

  • No filling: every output is empty on a missing bar. It never repeats an earlier band and never borrows a value from a later bar, with Original Version on or off.
  • A window of N bars means N bars that have data. A weekend or holiday gap is skipped: Friday's window continues straight into Monday.
  • Warm-up: the first Long Window − 1 bars that have data are empty on all seven outputs, with Original Version on or off.
  • Percent Bandwidth is empty when Upper Band equals Lower Band. Width Band is empty when Middle Band is 0.
  • The two Band Indicator outputs follow the same rule: on a missing bar and during warm-up they are empty, never 0.

References and Further Reading


Glossary

  • Keltner Channel (KC): Volatility-based channel indicator — EMA/ATR bands (modern method) or typical-price averages (original method)
  • EMA: Exponential Moving Average
  • ATR: Average True Range
  • Breakout: Price movement outside the channel bands
  • Overbought/Oversold: Price at or beyond bands, signaling potential reversal
  • Macro Indicator: Economic data such as inflation, volatility, or central bank policy

Data Alignment in Systemic

Systemic aligns the inputs by time before KC is calculated.

Multi-Input Alignment: KC takes three price series (Price High, Price Low, Price Close). Systemic aligns them automatically:

  • If the series have different periods, the series with the longer period repeats its last known value until its next bar
  • The result covers the dates that all three series share

Constant Parameters: Short Window, Long Window, Multiplier and Original Version are constants: one fixed value for the whole run.

Important Consideration: Repeated values can distort the bands. For best results, take all three prices from the same data source and period.

Values are repeated only to align series with different periods. A missing bar inside one series is never filled: every output is empty there (see Missing Data).


Indicator Profile

quadrantChart
    title Keltner Channel Indicator Profile
    x-axis Low Popularity --> High Popularity
    y-axis Low Reliability --> High Reliability
    quadrant-1 High potential  
    quadrant-2 Established leaders
    quadrant-3 Niche tools
    quadrant-4 Popular but risky
    KC - Stocks: [0.55, 0.72]
    KC - Crypto: [0.50, 0.70]
DimensionStocksCryptoNotes
Popularity5.5/105.0/10Less known than Bollinger Bands; favored by swing traders
Reliability7.2/107.0/10ATR-based bands (modern method) adapt well; some false breakouts in choppy markets
Complexity5.0/105.0/10Straightforward once the band construction is understood
Versatility7.5/107.5/10Works across timeframes; excellent for breakout and trend strategies
Recent Interest5.0/105.5/10Steady usage; crypto traders discovering volatility benefits

This documentation is for educational purposes and should not be considered investment advice. Always consult multiple sources and consider your risk tolerance before trading.

Rendering diagrams...
© 2026 WanoLabs. All rights reservedBeta v0.1.5