Rate of Change (ROC)
Measures the percentage change in price from n periods ago. Positive values indicate upward momentum, negative values indicate downward momentum.
Live Demo
Pick a market regime to see how ROC(9) reacts:
Usage
import {} from 'trading-signals';
// ROC yields results once 10 inputs have been added
const = new (9);