Zerolag systems - page 9

 

Zero lag tema macd

zerolag-tema-macd.mq4

 

mladen

I saw that you changed zero lag ma. Is this version correct?

color_zero_lag.zip

Files:
 
tampa:
mladen

I saw that you changed zero lag ma. Is this version correct?

color_zero_lag.zip

No. It is not even a zero lag ma but a variation of dema (far from being zerolag ma). That is a usual confusion that is going on for quite some time even though the formulas have nothing in common.

 
mladen:
No. It is not even a zero lag ma but a variation of dema (far from being zerolag ma). That is a usual confusion that is going on for quite some time even though the formulas have nothing in common.

OK. Thanks

 
mladen:
No. It is not even a zero lag ma but a variation of dema (far from being zerolag ma). That is a usual confusion that is going on for quite some time even though the formulas have nothing in common.

How different the values of zero lag and dema are (I mean a lot or a little)?

 
whisperer:
How different the values of zero lag and dema are (I mean a lot or a little)?

Different formulas completely

DEMA = ( 2 * EMA(n)) - (EMA(EMA(n)) ), where n= period

ZLEMA = EMA(PRICE + (PRICE-PRICE[lag]),n) where n= period and lag= n/2

 
mladen:
Different formulas completely

DEMA = ( 2 * EMA(n)) - (EMA(EMA(n)) ), where n= period

ZLEMA = EMA(PRICE + (PRICE-PRICE[lag]),n) where n= period and lag= n/2

OK. I see now. Thanks

 
mladen:
Different formulas completely

DEMA = ( 2 * EMA(n)) - (EMA(EMA(n)) ), where n= period

ZLEMA = EMA(PRICE + (PRICE-PRICE[lag]),n) where n= period and lag= n/2

Why are they calling dema zero lag ma then?

 
nbtrading:
Why are they calling dema zero lag ma then?

Usual reasons

For example : John Ehlers alone made two "zero lag" mas that I know of (he probably made some more). The name is too good - some can not resist it

 

This macd is using real zero lag ema (described here https://en.wikipedia.org/wiki/Zero_lag_exponential_moving_average) but it corrects error that exists in that formula (and in all zero lag indicator and derived indicators that are calculated that way) : zlema_macd_correct.ex4

________________

PS : the formula stated in the wikipedia article calculates wrong zero lag ema in exactly 50% of cases

Reason: