What the ROC indicator measures
The Rate of Change (ROC) indicator is a momentum oscillator. It shows how much the price has changed, in percent, compared with the price a set number of bars ago. An oscillator is an indicator that moves above and below a central level instead of following the price on the chart.
When ROC is above its centre line, the price is higher than it was N bars ago. When it is below the line, the price is lower. N is the lookback period you choose. The further ROC is from the centre line, the larger the move over that period.
ROC is closely related to the Momentum indicator. Momentum compares the current close with the past close as a ratio or difference. ROC shows the same comparison as a percentage, which makes readings easier to compare across instruments.
Ready to try it on a real or demo account?
Partner link · trading carries a high risk of loss
Formula and settings
ROC = (current close − close N periods ago) ÷ close N periods ago, expressed as a percentage.
- Period (N): a shorter period makes ROC react faster and produce more noise. A longer period gives a smoother line and reacts later.
- Price applied: usually the close. Some versions let you choose another price.
- Default value: this depends on the version you install. Check the inputs tab before you rely on it.
Choose N to match the swing you study. A period that roughly covers a typical swing on your timeframe gives readings that reflect that swing. A period much shorter than the swing mostly shows bar-to-bar noise.
How to add ROC in MT4 and MT5
The MetaTrader 4 standard list includes Momentum. ROC usually has to be added as a custom indicator file.
In MetaTrader 5, open the Navigator and look under Indicators. A ROC version is often in the Examples folder. Drag it onto the chart and set the period in the inputs tab.
If you install a custom file, use it only from a source you trust. Check that it calculates from closed bars, so it does not repaint.
How to read it: a drawn example
The chart below is a drawing, not real prices:
The drawing shows three common readings:
- Crossing the centre line: the price has moved from below to above its level N bars ago, or the reverse. This shows the direction of change over the period.
- Distance from the line: shows how strong the move is. Extreme readings relative to the instrument's own history are sometimes called overbought or oversold.
- Divergence: price makes a higher high while ROC makes a lower high, as in the drawing. This shows the move is slowing. See divergence trading for how traders study it.
None of these readings tells you what the price will do next. Many traders use ROC as one input next to structure and support and resistance, not as a standalone ROC indicator strategy.
Where ROC misleads
- The base-bar effect: ROC compares the current bar with a single old bar. If that old bar was a spike, ROC jumps or drops when the spike enters or leaves the window, even if the current price barely moves.
- No fixed limits: unlike RSI, ROC has no upper or lower bound. An "extreme" level that worked last month may not apply after volatility changes.
- Strong trends: in a steady trend, ROC can stay far from the centre line for a long time. Divergence can also repeat many times before the trend changes.
- Ranges: in sideways markets, ROC crosses the centre line often and gives many weak readings.
- Gaps and thin sessions: weekend gaps or low-liquidity hours can distort the percentage.
- Lag: ROC is built only from past closes. See leading vs lagging indicators.
Leveraged forex and CFD trading can lose money fast, and an indicator reading does not limit that risk. Try settings on a demo account first and read risk management before trading live.
Frequently asked questions
How do I use ROC as a beginner?
Start by reading the side of the centre line and the distance from it. Then compare ROC with price swings to spot divergence. Combine it with chart structure rather than reading it alone.
Is ROC the same as the Momentum indicator?
Both compare the current close with a past close. ROC shows the change as a percentage, while Momentum uses a ratio or a difference, depending on the version.
What period should I use?
There is no single correct value. Match the period to the swing length on your timeframe, and check the default setting in your indicator's inputs.
Does ROC repaint?
A standard ROC calculated on closed bars does not repaint. The value on the current open bar changes until that bar closes.
Can ROC tell me when to enter a trade?
No. It describes past price change. Any decision is yours and carries risk.
