Ehlers Filter. The indicator allows tracking the common trend and trade in its direction.

There are three adjustable parameters:

  • Period - calculation period
  • Momentum - momentum period
  • Applied price - calculation price

Calculation:

EF = SMA(PriceCoeff) / SMA(Coeff)

where

PriceCoeff[i] = Coeff[i] * Price[i]
Coeff[i] = Abs(Price[i] - Price[i-Momentum])
Price -- Applied price