Rate of Change (ROC) Indicator Explained: Percentage Momentum, Zero Crossings and Lookbacks
The Rate of Change (ROC) indicator measures the percentage change between the latest price and its price a specified number of bars earlier. It fluctuates around zero, with positive values representing gains over that particular lookback and negative values representing losses. It does not measure an instantaneous acceleration or predict a subsequent return.
Rate of Change formula
For current close C and the close N bars earlier P, ROC = 100×(C/P−1), provided the comparison price is nonzero. A 12-bar lookback is a familiar setting, but there is no universal optimum. The calculation requires N+1 price observations, since the endpoints are separated by N intervals. Use an appropriate adjusted price series for stocks and understand what the feed measures.
Worked examples
| Price N bars ago | Current close | ROC |
|---|---|---|
| 100 | 108 | +8% |
| 100 | 92 | −8% |
| 80 | 100 | +25% |
| 125 | 100 | −20% |
Notice that a return from 80 to 100 is +25%, while a return from 125 to 100 is −20%. These are relative to different starting prices. A decline from 100 to 80 is −20%, followed by a required gain of 25% to recover. Percentage returns are asymmetric; equal-magnitude positive and negative percentages do not cancel.
Compare short and long lookbacks
Suppose today’s close is 110, the close five bars ago was 115, and the close 20 bars ago was 100. Five-bar ROC is about −4.35%, while 20-bar ROC is +10%. Both are accurate: price has declined over the recent interval while remaining above the older reference. A shorter lookback is more responsive to recent changes but can fluctuate more frequently. The appropriate period depends on the research horizon, not the magnitude of the historical result alone.
Positive but falling ROC is not necessarily falling price
At one observation, current price 110 compared with earlier price 100 produces +10%. At the next observation, current price rises to 112 but the departing reference is replaced by 108. ROC becomes approximately +3.70%. Price rose between those latest observations, even though the measured lookback return fell. A zero crossing can also occur because an old comparison observation changes. Avoid interpreting every falling ROC reading as a declining market.
ROC, momentum and logarithmic returns
| Measure | Formula | Units |
|---|---|---|
| ROC | 100×(C/P−1) | Percentage points of price return |
| Price difference | C−P | Price units |
| Ratio momentum | 100×C/P | Centred around 100 |
| Log return | ln(C/P) | Log units, positive prices required |
Ratio momentum equals ROC plus 100 when inputs match. Platforms may use the term momentum for a difference or ratio, so check the definition. Standard percentage ROC has a lower limit of −100% for nonnegative prices and positive starting prices, but no finite upper limit. Negative or zero starting prices require special care; ordinary percentage-return interpretations may be inappropriate.
Practical spreadsheet and data checks
With daily closes in column B and a five-bar lookback, the first eligible calculation for observations in rows 2–7 is 100×(B7/B2−1). Check the formula advances both references by one row. Stock splits can produce misleading price changes in unadjusted data, and dividend adjustments alter the economic interpretation. Record whether a series represents price returns or an adjusted total-return proxy. See adjusted and unadjusted charts.
Evaluate zero-line crossings
A simple research rule could classify a completed move from nonpositive ROC to positive ROC as a positive momentum event. Compare it with holding the asset, a moving-average trend rule and a cash benchmark as appropriate. Measure turnover and drawdown alongside net returns, because small reversals near zero may generate repeated trades. Use future data only after the signal is known; incorporate corporate actions, realistic fills, spread and fees. Thresholds such as +10 and −10 are not equally extreme for every instrument or timeframe.
Distinguish return direction from change in momentum
Suppose a fixed five-bar ROC series reads +4%, +7%, +5% and −1%. The first three observations describe positive five-bar returns. The drop from +7% to +5% indicates a smaller return over the rolling comparison interval, not necessarily a fall in the current price. Only the final value is negative. A research rule using ROC above zero therefore differs from one requiring ROC to be rising. Store both conditions in separate columns and test them independently. A comparison with TRIX illustrates how smoothing changes the timing of the return measurement.
Frequently asked questions
Does ROC of 10 predict another 10% gain?
No. It describes the past lookback interval.
Can ROC decline while price rises?
Yes. The historical comparison price can rise faster than the latest price.
Is ROC bounded like RSI?
No. The conventional positive-price calculation is not capped on the upside.
Read RSI, moving-average crossovers and technical analysis foundations.
Further reading
StockCharts ChartSchool: Rate of Change.
General educational information only, not personalised financial advice. Trading involves risk of loss.
Stay Ahead of the Markets
Get market analysis, financial news and practical trading insights delivered straight to your inbox.