Ehlers got it right. Another way of calculating lag is (1-A)/A, where A is the smoothing factor of the EMA. That frees your EMA from the restriction that it must correspond to an integral lookback period (A = 2/(N + 1), where N is the number of bars in the lookback).Quote from jimns:
Advanced
Don't know if you've read Ehlers paper on Signal Analysis Concepts, but you can find it here. In his paper, Ehlers explains that a simple moving average (SMA) reduces a number of periods to a single point that lags one half the width of the observation window. He then goes on to discuss the lag in an exponential moving average (EMA) and, from his formulas one can derive the following formula for EMA lag: Lag = ( L - 1 ) / 2 where L = length of the EMA.
On the other hand, in Trading for a Living Section 25, Elder says "The proper way to plot a simple moving average is to lag it behind prices by half its length. For example, a 10-day simple MA properly belongs in the middle of a 10-day period, and it should be plotted underneath the 5th or 6th day. An exponential moving average is more heavily weighted toward the latest data, and a 10-day EMA should be plotted underneath the 7th or 8th day. Most software packages allow you to lag a moving average."
So what am I trying to accomplish?
I'd like to understand whether anyone lags their EMA as Elder suggests, is there really any value to doing it that way, etc.? And I'd like to understand how the EMA lag is supposed to be calculated since Ehlers and Elder seem to disagree about that.
A lagging indicator need not be the limitation that most traders think it is, but that calls for thinking outside of the box, which most traders are not capable of. Good luck.