OPEN-SOURCE SCRIPT

Dominant Cycle Adaptive MACD

This Indicator is based on classic MACD but with an exceptional smoothing.
This smoothing eliminates the noise of the classic MACD as you see in the Chart

Adaptive MACD is compiled using with two adaptive moving averages, one adaptive to the dominant cycle and the other adaptive to twice the dominant cycle. As the basic behind the MACD is the difference of two moving averages we cannot find much difference between the conventional MACD (12, 26) and the adaptive MACD. However the adaptive MACD is less prone for less whipsaws and it catches the trends very well at the same time the catches the turning points in time. The Adaptive MACD is definite one notch better than the conventional MACD.


Dominant Cycle Period is calculated using Ehler's Method {Mentioned in the code}
This is how the Adaptiveness Impacts the Price Chart

1. (12, 26 EMA) VS Adaptive Dominant Cycle EMA
快照

2. See how the Adaptive Lengths {both FastLength and SlowLength changes with time!}
快照

Enjoy!
adaptivedominantcycleMoving Average Convergence / Divergence (MACD)

開源腳本

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

想在圖表上使用此腳本?


Get Ocs Ai Trader, Your personal Ai Trade Assistant here
ocstrader.com
bit.ly/ocs_ai_trader

About me
AlgoTrading Certification, (University of Oxford, Säid Business School)
PGP Research Analysis, (NISM)
Electronics Engineer
更多:

免責聲明