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.
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。
開源腳本
本著TradingView的真正精神,此腳本的創建者將其開源,以便交易者可以查看和驗證其功能。向作者致敬!雖然您可以免費使用它,但請記住,重新發佈程式碼必須遵守我們的網站規則。
免責聲明
這些資訊和出版物並不意味著也不構成TradingView提供或認可的金融、投資、交易或其他類型的意見或建議。請在使用條款閱讀更多資訊。