OPEN-SOURCE SCRIPT

Zero Lag MACD Enhanced - Version 1.0

*Zero Lag MACD indicator - Enhanced version 1.0*

Based on ZeroLag EMA - see Technical Analysis of Stocks and Commodities, April 2000
Original version by user Glaz. Thanks ! (see at the end of this description).
Tweaked by Albert Callisto

Displayed components:
  • Fast and slow "zero lag" moving averages
  • Histogram showing delta between the two moving averages


You can choose between SMA or EMA for the moving averages. They give slightly different results. Glaz had used SMA instead of EMA. Most "zero MACD" scripts are based upon EMA.
Usage is similar to the classic MACD and it can be integrated in an existing strategy, you will notice the crossing occurs earlier.

This is the original version by Glaz:
ZeroLag Macd
Moving Average Convergence / Divergence (MACD)

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 publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?


Also on:

Disclaimer