OPEN-SOURCE SCRIPT

Zero Lag MACD Enhanced - Version 1.1

ENHANCED ZERO LAG MACD
Version 1.1
  • Based on ZeroLag EMA - see Technical Analysis of Stocks and Commodities, April 2000
  • Original version by user Glaz. Thanks !
  • Ideas and code from yassotreyo version.
  • Tweaked by Albert Callisto (AC)


New features:
  • Added original signal line formula
  • Added optional EMA on MACD
  • Added filling between the MACD and signal line


I looked at other versions of the zero lag and noticed that the histogram was slightly different. After looking at other zero lags on TV, I noticed that the algorithm implementation of Glanz generated a modified signal line. I decided to add the old version to be compliant with the original algorithm that you will find in other platforms like MT4, FXCM, etc.

So now you can choose if you want the original algorithm or Glanz version. It's up to you then to choose which one you prefer. I also added an extra EMA applied on the MACD. This is used in a system I am currently studying and can be of some interest to filter out false signals.
Moving Average Convergence / Divergence (MACD)

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?


更多:

免責聲明