Hello, I have a question about the Laguerre Filter Indicator by John F. Ehlers, the first version that appeared in the book “Cybernetic Analysis for stocks and futures” at the Chapter 14th.
This version is built using an Exponential Moving Average as the first level and three successive levels, with a total of four. I’d like to compare the Laguerre Filter with an EMA, but I don’t know what’s the formula to apply to find the actual EMA’s Period considering a certain value of gamma.
I found this formula: Nb of levels * (2 / (1 – gamma) -1), but, as you can see in the picture attached, the EMA (16) is much rapid than the Laguerre Filter (gamma = 0,6), while we know by Ehlers that this indicator is built just for reducing the lag of traditional moving averages.
Do you have a clue to find the right conversion formula?
The following is the code of the indicator:
ONCE L0 = 0
ONCE L1 = 0
ONCE L2 = 0
ONCE L3 = 0
//Levels
IF BarIndex > 0 THEN
L0 = (1 – gamma) * Close + gamma * L0[1]
L1 = – gamma * L0 + L0[1] + gamma * L1[1]
L2 = – gamma * L1 + L1[1] + gamma * L2[1]
L3 = – gamma * L2 + L2[1] + gamma * L3[1]
ENDIF
//Final Output
LF = (L0 + 2*L1 + 2*L2 + L3)/6
Return LF as “Laguerre Filter EMA”