Rate of Change (ROC)
Last updated
Last updated
The Rate of Change Indicator is a simple yet effective momentum oscillator. It measures the relative percentage change of the prices from one period to the next. The calculation looks at the current price and compares it to the price of n periods ago.
As long as the ROC is above 0, the uptrend is intact. As long as the ROC is below 0, the downtrend is intact. Divergences between the indicator and the price development can hint to a trend change.
VTAD:
double
When using this method with an index (e.g. ROC(14)[int barsAgo] ), the value of the indicator will be issued for the referenced bar.
inSeries Input data series for the indicator
period Number of bars included in the calculations