The Rate of Change (ROC) indicator measures how quickly the price of a symbol is changing compared to its price in a previous period. It shows the percentage change in price over a selected number of periods.
For automated trading strategies, ROC helps detect when price momentum is accelerating or weakening, which can indicate the early stages of a breakout or reversal.
ROC compares the current price with the price from a previous period and calculates the percentage change between the two.
Because of this, the indicator reflects how rapidly price is moving rather than simply showing trend direction.
In general:
This makes ROC useful for identifying changes in the speed of price movement.
In automation, ROC can be used to create conditions that detect momentum acceleration or deceleration.
For example, strategies may monitor when:
These types of triggers allow automated strategies to respond when price movement begins to accelerate in a particular direction.