OPEN-SOURCE SCRIPT

Enhanced Keltner Trend

The Enhanced Keltner Trend (EKT) indicator builds on the classic Keltner Channel, using volatility to define potential trend channels around a central moving average. It combines customizable volatility measures moving average, giving traders flexibility to adapt the trend channel to various market conditions.

How It Works?

MA Calculation:
A user-defined moving average forms the central line (or price basis) of the Keltner Channel.

Channel Width:
The width of the Keltner Channel depends on market volatility.
You can choose between two methods for measuring the volatility:
ATR-based Width: Uses the Average True Range (ATR) with customizable periods and multipliers.
Price Range Width: Uses the high and low price range over a defined period.

Trend Signal:
The trend is evaluated by price in relation to the Keltner Channel:
Bullish Trend (Blue Line): When the price crosses above the upper band, it signals upward momentum.
Bearish Trend (Orange Line): When the price crosses below the lower band, it signals downward momentum.


What Is Unique?
This Enhanced version of the Keltner Trend is for investors who want to have more control over the Keltner's channels calculation, so they can calibrate it to provide them more alpha when combined with other Technical Indicators.

Use ATR: Gives the user the choice to use the ATR for the channel width calculation, or use the default High - Low over specified period.

ATR Period: Users can modify ATR length to calculate the channels width (Volatility).

ATR Multiplier: Users can fine-tune how much of the volatility they want to factor into the channels, providing more control over the final calculation.

MA Period: Smoothing period for the Moving Averages.

MA Type: Choosing from different Moving Averages types providing different smoothing types.

Setting Alerts:
Built-in alerts for trend detection:
Bullish Trend: When price crosses the upper band, it signals a Bullish Signal (Blue Color)
Bearish Trend: When price crosses the lower band, it signals a Bearish Signal (Orange Color)


Credits to jaggedsoft , it's a modified version of his.
Average True Range (ATR)Keltner Channels (KC)Trend Analysis

Open-source Skript

Ganz im Sinne von TradingView hat dieser Autor sein/ihr Script als Open-Source veröffentlicht. Auf diese Weise können nun das Script auch andere Trader verstehen und prüfen. Vielen Dank an den Autor! Sie können das Script kostenlos verwenden. Die Nutzung dieses Codes in einer Veröffentlichung wird in unseren Hausregeln reguliert. Sie können es als Favoriten auswählen, um es in einem Chart zu verwenden.

Möchten Sie dieses Skript auf einem Chart verwenden?

Haftungsausschluss