OPEN-SOURCE SCRIPT

Rational Qaudratic Kernel Elder Force Index

Updated
Introduction:

The Rational Quadratic Kernel Elder Force Index is a versatile and mathematically sophisticated technical indicator that enhances the traditional Elder Force Index (EFI) by applying a rational quadratic kernel smoothing technique. This advanced regression method is designed to provide traders with a more adaptive and accurate tool for measuring the strength behind price movements, incorporating the influence of volume. This indicator does not predict future price movements, but it offers a clearer view of market dynamics through its advanced smoothing mechanism.

Key Features:

Elder Force Index Foundation:

The core of this indicator is built on the Elder Force Index, a popular tool developed by Dr. Alexander Elder. The EFI is a momentum indicator that calculates the strength of price movements by combining both price change and volume.
Rational Quadratic Kernel Smoothing: The indicator incorporates a rational quadratic kernel for smoothing, providing traders with a more refined view of price action trends. This kernel is highly adjustable based on user inputs, allowing for flexible tuning to suit individual strategies.

Adaptive Time Frame Weighting:
Through the adjustable parameter Relative Weighting (r), traders can modify the influence of different time frames. Lower values give more weight to longer time frames, while higher values make the behavior resemble that of a Gaussian kernel.

Dynamic Visualization:
The indicator visually displays the smoothed force index as a color-coded line. It dynamically changes color based on market conditions—green when the smoothed force index is positive and red when it is negative—providing a clear and easy-to-read signal for traders.

How It Works:

The Elder Force Index is calculated by multiplying the price change between two bars with the volume of the current bar.
A rational quadratic kernel regression is applied to this raw EFI data. The smoothing process provides a more stable and reliable signal by reducing noise, particularly in volatile markets.
The user-defined parameters, such as the length of the smoothing window and the relative weighting factor, allow traders to customize the indicator to suit their specific trading style or asset class.
User Inputs:

Length:
Sets the smoothing window for the kernel regression. A longer length results in more significant smoothing.

Relative Weighting (r):
Controls the influence of different time frames in the smoothing process. A smaller value emphasizes longer-term data, while a higher value makes it behave more like a traditional Gaussian kernel.

Source:
Select the price source (default is the closing price) for the calculations.
Release Notes
removed the french comments that were useless
Release Notes
...
Release Notes
...
elderMoving AveragesTrend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer