albert.callisto

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.

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in a publication is governed by House Rules. You can favorite it to use it on a chart.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.

Want to use this script on a chart?