OPEN-SOURCE SCRIPT
TTZ_ZLEMA_guppy by Buckkets

ZLEMA was orignally created by John Ehlers.
"All smoothing filters and moving averages have lag. It’s a law. The lag is necessary because the
smoothing is done using past data. Therefore, the averaging includes the effects of the data several
bars ago. In this article we show you how to remove a selected amount of lag from an Exponential
Moving Average (EMA). Removing all the lag is not necessarily a good thing because with no lag the
indicator would just track out the price you were filtering. That is, the amount of lag removed is a
tradeoff with the amount of smoothing you are willing to forgo. We show you the effects of lag
removal in an indicator and then use the filter in an effective trading strategy."
I can't link to the paper because TV will most likely ban another script, but you should read it. Made this into a Guppy for practical reasons.
"All smoothing filters and moving averages have lag. It’s a law. The lag is necessary because the
smoothing is done using past data. Therefore, the averaging includes the effects of the data several
bars ago. In this article we show you how to remove a selected amount of lag from an Exponential
Moving Average (EMA). Removing all the lag is not necessarily a good thing because with no lag the
indicator would just track out the price you were filtering. That is, the amount of lag removed is a
tradeoff with the amount of smoothing you are willing to forgo. We show you the effects of lag
removal in an indicator and then use the filter in an effective trading strategy."
I can't link to the paper because TV will most likely ban another script, but you should read it. Made this into a Guppy for practical reasons.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.
Script de código aberto
No verdadeiro espirito do TradingView, o autor desse script o publicou como código aberto, para que os traders possam entendê-lo e verificá-lo. Parabéns ao autor Você pode usá-lo gratuitamente, mas a reutilização desse código em publicações e regida pelas Regras da Casa.
Aviso legal
As informações e publicações não devem ser e não constituem conselhos ou recomendações financeiras, de investimento, de negociação ou de qualquer outro tipo, fornecidas ou endossadas pela TradingView. Leia mais em Termos de uso.