OPEN-SOURCE SCRIPT
Updated MACD With Crossings and Above Below Zero

MACD with MACD Derivative, Crossings Above and Below Zero, Shading for ADX Smoothing and Overlayed RSI
Primarily a moving average convergence divergence (MACD) momentum indicator. Also includes a MACD Derivative overlay to show when momentum has peaked. Displays triangle symbols when the MACD line crosses the signal line (larger triangle when MACD crosses above/below zero to indicator stronger momentum trend). Includes shading for average directional index (ADX) to futher determine when the price is trending strongly (red when the ADX value is greater than 25, and idicating a strong trend; otherwise blue). Lastly, has a relative strength index (RSI) momentum indicator overlayed to help evaluate periods of overbought or oversold conditions.
Primarily a moving average convergence divergence (MACD) momentum indicator. Also includes a MACD Derivative overlay to show when momentum has peaked. Displays triangle symbols when the MACD line crosses the signal line (larger triangle when MACD crosses above/below zero to indicator stronger momentum trend). Includes shading for average directional index (ADX) to futher determine when the price is trending strongly (red when the ADX value is greater than 25, and idicating a strong trend; otherwise blue). Lastly, has a relative strength index (RSI) momentum indicator overlayed to help evaluate periods of overbought or oversold conditions.
Release Notes
MACD with MACD Derivative, Crossings Above and Below Zero, Shading for ADX Smoothing and Overlayed RSIPrimarily a moving average convergence divergence (MACD) momentum indicator. Displays triangle symbols when the MACD line crosses the signal line (larger triangle when MACD crosses above/below zero to indicator stronger momentum trend). This is paired with a color coded histogram that has darker shades of green/red when MACD is increasing/decreasing or accelerating/decelerating. Also includes a MACD Derivative overlay as a yellow line that shows when momentum has peaked at maximums/minimum, signaled when it crosses through zero.
Includes shading for average directional index (ADX) to further determine when the price is trending strongly [yellow, orange or red when the ADX value indicating a extremely strong (>=75), very strong (>=50), or strong trend (>=25); blue when it's a weak trend; no shading for no trend.].
Lastly, has a relative strength index (RSI) momentum indicator overlayed to help evaluate periods of overbought or oversold conditions.
I pair this with a entry/exit strategy built around these indicators.
Release Notes
Script also includes green up arrows when DMI+ is more pronounced, or red down arrows when DMI- is more pronounced. Paired with the MACD triangle to get a clear direction of the ADX strength.Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.
Open-source script
In true TradingView spirit, the creator of this script has made it open-source, so that traders can review and verify its functionality. Kudos to the author! While you can use it for free, remember that republishing the code is subject to our House Rules.
For quick access on a chart, add this script to your favorites — learn more here.
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.