V1.1:
- Updated PineScript to V6
- Updated the description (see below)
What does this indicator do (for regular users)?
It calculates the percentage change of a moving average compared to its value one candle ago. You can choose from seven types of moving averages.
What does this indicator do (for technical users)?
It computes the rate of change (ROC) with a period of 2 for SMA, EMA, VWMA, RMA, WMA, HMA, or SWMA.
Why is this important?
Traders often use the point when a moving average changes direction as a signal for entry or exit. This indicator helps anticipate such changes. Before a moving average changes direction, it must first slow down. The indicator reveals whether the moving average is slowing down or speeding up.
Think of it like this: before a car moves backward, it must slow down, stop, and then reverse. Moving averages behave similarly. Instead of guessing whether your moving average is slowing down or speeding up just by observing it, you can use this indicator to get a precise numeric value.
Additional feature:
You can define a "twilight zone" to highlight areas where the moving average experiences whipsawing. This is useful for trend followers to avoid flat periods or for mean-reversion strategies to identify favorable conditions.