Rate of Change Parameters
This study draws a graph of rate-of-change values, which fluctuate around 1.0.
Optionally, dotted reference lines can be drawn at user-set values, but these
lines do not affect the calculation or display of the ROC line itself.
The basic ROC calculation at any given bar is:
where the price examined is selectable (default is close), as is the distance
X. The final study value is an N-bar moving average of this value.
The study command for ROC is .TDROC.