Smoothing methods have lag, and since MACD makes use of moving averages, it usually lags behind price. You cannot eliminate lag completely, but one way of working around this is by adding a component of the price/MA difference back to MA. This technique is called Zero-lag (well, almost). "MACD Leader" makes use of this to form a leading signal to MACD.
First proposed by Giorgos E. Siligardos, "Leader" leads normal MACD, especially when significant trend changes are about to take place. This has the following features: - It is similar to MACD in smoothness. - It can be plotted along with MACD in the same window using the same scaling. - It has the ability to lead MACD at critical situations
For detailed discussion on the various divergence patterns, refer to the PDF I have linked in the "More Info" below.
I have provided an option to plot MACD and MACD signal on the same pane. You can enable/disable them via options page.
For Pinescript coders: Try enabling histo on this to compare with normal MACD histo :)
진정한 TradingView 정신에 따라, 이 스크립트의 저자는 트레이더들이 이해하고 검증할 수 있도록 오픈 소스로 공개했습니다. 저자에게 박수를 보냅니다! 이 코드는 무료로 사용할 수 있지만, 출판물에서 이 코드를 재사용하는 것은 하우스 룰에 의해 관리됩니다. 님은 즐겨찾기로 이 스크립트를 차트에서 쓸 수 있습니다.