OPEN-SOURCE SCRIPT

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.
ADXMoving Average Convergence / Divergence (MACD)Relative Strength Index (RSI)Trend Analysis

Open-source script

In true TradingView spirit, the author of this script has published it open-source, so traders can understand and verify it. Cheers to the author! You may use it for free, but reuse of this code in publication is governed by House rules. You can favorite it to use it on a chart.

Want to use this script on a chart?

Disclaimer