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の精神に則り、このスクリプトの作者は、トレーダーが理解し検証できるようにオープンソースで公開しています。作者に敬意を表します!無料で使用することができますが、このコードを投稿で再利用するには、ハウスルールに準拠する必要があります。 お気に入りに登録してチャート上でご利用頂けます。

チャートでこのスクリプトを利用したいですか?


他のメディア:

免責事項