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
更多:

免责声明