All indicators

Keltner Channel Alerts

Dec 22, 2019

Static chart image
SignalsChannelsVolatility

The Keltner Channel Alerts indicator provides a comprehensive alerting system for the standard Keltner Channel strategy, enabling traders to identify potential breakouts and trend reversals with automated signals.

Usage

The script is designed to track price action relative to Keltner Channels and generate actionable signals based on specific price thresholds.

  • Breakout Monitoring: The indicator highlights when the source price crosses the upper or lower bounds of the channel.
  • Stop Orders: It calculates specific "Buy" and "Sell" price levels following a channel cross. These represent the high (plus a tick) or low (minus a tick) of the breakout bar, acting as confirmation levels for a trend.
  • Long/Short Signals: Arrows are plotted on the chart when the price successfully reaches the calculated entry price while the breakout condition is still active.
  • Order Cancellation: The script includes logic to invalidate signals if the price returns to the mean (Basis) or if specific price action cancels the breakout momentum.

When setting up alerts, it is recommended to use the "Once Per Bar" option to ensure signals are confirmed upon candle close.

Details

The indicator calculates Keltner Channels using a Simple Moving Average (SMA) of the price and a range-based volatility measure.

The bands are constructed by adding/subtracting a multiple of the average range from the moving average. Traders can choose between using the "True Range" (which accounts for gaps) or the standard High-Low range for volatility calculations. The logic for entries is "stop-order" based: once a cross occurs, the script waits for the price to exceed the high/low of the crossing candle before triggering a directional signal.

Settings

  • Source: Determines the price input used for calculations (e.g., Close, HL2).
  • Use True Range: When enabled, the indicator uses True Range for volatility; otherwise, it uses the High-Low range.
  • Length: Sets the lookback period for the SMA and the range calculation.
  • Multiplier: Controls the width of the channels by multiplying the calculated average range.

FAQ

How do I access Keltner Channel Alerts?

You can get access on the LuxAlgo Library for charting platforms like TradingView, MetaTrader (MT4/MT5), and NinjaTrader for free.

What is the difference between the crossing signal and the Long/Short signal?

The crossing signal triggers as soon as the price touches the channel boundary, whereas the Long/Short signals require a subsequent price breakout above the high/low of the crossing bar for confirmation.

Can I change the volatility calculation method?

Yes, you can toggle the "Use True Range" setting to switch between standard High-Low range and True Range, which accounts for price gaps between sessions.

Free indicator

Get free access to this indicator on the platforms below.

TradingView
NinjaTrader
MetaTrader 4/5

Unlock the entire LuxAlgo Library

Every indicator, every strategy, full charts, and complete access to Quant — our AI agent.