ROC - Rate of change
The rate of change (ROC) is the rate at which a price changes over a specified period.
Rate of Change (ROC) = (Price[0] - Price[-n]) / Price[-n]
ROCP - Rate of change percentage
This simply multiplies ROC * 100.
ROCR - Rate of change ratio
This is ratio of current price over previous period price
ROCR = Price[0] / Price[-n]
ROCR100 - Rate of change ratio 100 scale
ROCR100 = ROCR * 100 or Price[0] / Price[-n] * 100