INVITE-ONLY SCRIPT
Updated

CCV MA with MACD

803
This is a moving average script where the color of the moving average is based on MACD.

Pink MA = Negative and falling MACD
Red MA = Negative and rising MACD

Aqua MA = Positive and rising MACD
Blue MA = Positive and falling MACD

Additionally this marks pivot highs and lows on the MACD as well as divergence points with those pivots. Black triangles will mark new highs or lows, a blue circle indicates bullish divergence formed, a red circle indicates bearish divergence formed.
Release Notes
Added a marker for hidden divergences on RSI, default now places this indicator at the bottom of your screen. If you would still like to use it in a moving average you can uncheck that box in the settings.

Disclaimer

The information and publications are not meant to be, and do not constitute, financial, investment, trading, or other types of advice or recommendations supplied or endorsed by TradingView. Read more in the Terms of Use.