chuckination

Rate of Change w/ Moving Average

chuckination Updated   
This is a small spin on the Rate of Change (ROC) indicator where I overlay a simple moving average of the indicator over the prior days.
Release Notes:
Adjusted the color of the area underneath or above the curve to be green or red depending on whether the ROC is greater than or less than the SMA of the ROC.
Release Notes:
Altered colors so that the SMA is green when positive and red when negative in a way that's unrelated to the ROC value.
Release Notes:
Color the horizontal zero line axis green or red dependent upon whether the ROC is positive or negative so there is an indication on the base indicator crossover point.
Release Notes:
Added two additional signal states:
- a cooling uptrend when the ROC falls below a rising moving average with a default color of light blue to look like an icy wind
- a recovering downtrend when the ROC rises above a falling moving average with a default color of purple to look like a forming bruise
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 a publication is governed by House Rules. You can favorite it to use it on a chart.

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.

Want to use this script on a chart?