Rate of Change Ratio in Crypto: Why the Value Changes Before Candle Close
The rate of change ratio is close ÷ close N bars ago. It's simple — and on the live bar it moves one-for-one with price, divided by a fixed past close.
Short answer
ROCR(N) = close ÷ close[N] (sometimes × 100). The past close is fixed, so the live ROCR moves proportionally to price: a 1% intrabar move changes ROCR by about 1% of its value. Threshold rules (e.g. ROCR > 1.05) can trigger and un-trigger mid-bar. There's no smoothing to damp it. When the bar N periods back leaves the window at the next bar, ROCR also steps.
Which part of ROC Ratio uses the live bar
| Component | Uses current bar? | Effect intrabar |
|---|---|---|
| Live close | Yes | Moves 1:1 |
| Close N bars ago | No | Fixed during bar |
| Ratio | Yes | Proportional |
| Window roll | At next bar | Step change |
Worked: close[N] = 57,000. Live price 60,000 → ROCR ≈ 1.053; at 59,500 → ≈ 1.044. A 1.05 threshold flips within the bar.
See Rate of Change Ratio in Crypto on live data in the free ChartsPod terminal.
Open the ChartsPod terminalHow much it moves inside one bar
Rules
Related: ROC Momentum Backtest in Crypto: Fees, Slippage and Break-Even Costs (ROC momentum backtest).
Test Rate of Change Ratio in Crypto on a perpetual chart; no account is needed to chart.
Launch ChartsPodQuestions readers ask
What is ROC ratio?
Close divided by close N bars ago.
Is it smoothed?
No.
Closed bars?
Yes, for thresholds.
Sources and methodology
Indicator formulas are standard definitions; live-versus-closed behaviour follows TradingView's repainting documentation. Values in examples are illustrative.
- TradingView Pine Script: Repainting — live vs historical calculation.
- ChartsPod indicator reference — indicator calculations.
This article explains research tools and workflows. It is not financial advice, does not recommend buying or selling any asset and does not predict prices. Crypto derivatives carry a risk of rapid and total loss of margin.
CHARTSPOD EDITORIAL EDITION · RESEARCH AND EDUCATION ONLY · NOT FINANCIAL ADVICE.