How fast is price moving, and is it beating the market?
Short answerRate of change answers the first half of the question. It is the percentage move from the close n bars ago to the latest close: ROC = 100 × (close ÷ close n bars ago − 1). A reading of +8% on 10 daily bars means price is 8% higher than ten days earlier. The same move in price units is called momentum. A price relative answers the second half: divide the asset's price by a benchmark's price, such as a broad stock index or bitcoin, and rebase the ratio to 100. The line rises when the asset does better than the benchmark, even if both are falling.
These are different questions. A token can be up 20% and still lag a market that rose 40%, and a stock can lose 17% while beating an index that lost 30%. Both measures also depend on choices you make: the lookback n and the benchmark. Knowing how those choices change the reading keeps you from mistaking an arithmetic effect for a change in the market.
Valmy noteValmy's v1 strategy language includes the simple moving average and no other indicator, so rate of change and the price relative are taught here for reading charts (as of 26 November 2026). A price relative also needs a second instrument's prices, and a v1 strategy reads one instrument.
Rate of change (ROC): how far price moved over n bars#
Rate of change (ROC) measures how far the closing price has moved over a fixed number of bars, as a percentage of the older close: ROC(n) = 100 × (close today ÷ close n bars ago − 1). Its input is the close. It is centered on zero: positive when price is above where it was n bars ago, negative when below. It has no upper limit and cannot fall below −100%. Default lookbacks differ by platform: TA-Lib uses 10 bars, TradingView's built-in indicator 9 and StockCharts 12. This lesson uses ROC(10) and ROC(30) on daily bars. ROC is one of the oldest and simplest momentum measures, and none of the references checked for this lesson credits a single inventor.
Momentum is the same comparison in price units: momentum(n) = close today − close n bars ago. TA-Lib calls it MOM and the percentage version ROC. Some platforms use the word "momentum" for both, so check which one a chart shows.
Momentum and rate of change: price units versus percent#
Momentum says how many dollars or USDT price moved. ROC says how large that move was relative to where price started, which is why only ROC can be compared across assets, or across years in one asset. Suppose asset X rises from 60,000 to 61,200 over five days and asset Y rises from 2.50 to 2.75:
| Asset | Start | End | Momentum(5) | ROC(5) |
|---|---|---|---|---|
| X | 60,000 | 61,200 | +1,200 | +2.0% |
| Y | 2.50 | 2.75 | +0.25 | +10.0% |
Momentum suggests X moved far more. ROC shows Y moved five times as fast in percentage terms, which is what matters for the value of a position. The same problem appears inside one market over time: a move of 1,200 is large when price is 10,000 and small when it is 100,000.
Calculating ROC step by step#
ROC needs n + 1 closes: today's and the one n bars earlier. The table works through ROC(5) and momentum(5) on eight closes. Bars 1 to 5 have no value yet because there is no close five bars before them. This start-up stretch is called the warm-up.
| Bar | Close | Close 5 bars earlier | Momentum(5) | ROC(5) |
|---|---|---|---|---|
| 1 | 50.00 | |||
| 2 | 51.20 | |||
| 3 | 50.60 | |||
| 4 | 52.10 | |||
| 5 | 53.00 | |||
| 6 | 52.40 | 50.00 (bar 1) | +2.40 | +4.80% |
| 7 | 54.20 | 51.20 (bar 2) | +3.00 | +5.86% |
| 8 | 55.00 | 50.60 (bar 3) | +4.40 | +8.70% |
- Bar 6: 52.40 − 50.00 = 2.40, and 52.40 ÷ 50.00 = 1.0480, so ROC = +4.80%.
- Bar 7: 54.20 − 51.20 = 3.00, and 54.20 ÷ 51.20 = 1.0586, so ROC = +5.86%.
- Bar 8: 55.00 − 50.60 = 4.40, and 55.00 ÷ 50.60 = 1.0870, so ROC = +8.70%.
Look at bar 8. The close rose 1.48% from bar 7, yet ROC rose 2.84 points. The rest of the jump came from the other end of the window: the reference close changed from 51.20 (bar 2) to 50.60 (bar 3). ROC always depends on two prices, today's and the one n bars back. The section on the base effect below shows how far that can mislead.
Reading ROC on a chart: how the lookback changes the reading#
A short lookback reacts quickly and changes sign often. A long lookback reacts slowly and describes the larger trend. Neither is correct on its own: ROC(10) asks how fast price moved over the last ten bars, ROC(30) over the last thirty. In Figure 1 (synthetic data), ROC(10) crossed zero five times between days 32 and 120 while ROC(30) crossed once. In a steady trend the longer window also gives bigger readings, because it adds up more of the trend: ROC(30) peaked near +45% and ROC(10) near +18%.
Walking through the labeled points:
- A, day 61. A pullback takes the close to 70.96. ROC(10) falls to −7.0%, while ROC(30) is still +5.3%. The short window sees a decline; the long window still sees the rally. Price then rose to a new high, so the short window's warning at A was a false alarm for anyone reading it as the end of the trend.
- B, day 87. The final peak, a close of 84.74.
- C, day 90. ROC(10) closes below zero for the first time after the peak, with the close at 83.14.
- D, day 103. ROC(30) closes below zero 13 days later, with the close at 78.67, 7.2% below the peak.
The trade-off is the one every smoothing choice makes. The short lookback warned sooner at C but also at A. The long lookback ignored A but needed until D to confirm the decline.
There are no fixed "overbought" or "oversold" ROC levels. ROC is unbounded, and its typical range depends on how volatile the market is. A 10-day ROC of +20% can be ordinary for a small token and rare for a large utility stock. TradingView's and StockCharts' documentation both suggest judging extremes against the asset's own history.
When ROC misleads: the base effect#
ROC compares today's close with a single old close, so it changes when that old close leaves the window, even if today's price does nothing. This is the base effect: a sharp move n bars ago makes ROC jump n bars later, in the opposite direction. The same effect makes year-over-year inflation figures jump when an unusual month from a year earlier drops out.
In Figure 2, the close falls from 100.33 on day 20 to 85.21 on day 21, a drop of 15.1%. For the next ten days ROC(10) reads about −15%, which is accurate: price is about 15% below where it was ten days earlier. On day 31 the close is 85.39, up only 0.73% from day 30, but ROC(10) jumps from −15.5% to +0.2%. The only thing that changed was the reference close: day 21's 85.21 replaced the pre-drop close of day 20. A reader who sees "ROC surged 15.7 points" might think buyers had returned.
Ways to guard against it:
- Before reading a jump in ROC, look at what price did n bars ago.
- Compare two lookbacks. A genuine change in speed usually shows up in both; a base effect shows up in one, n bars after the old move.
- Smoothed momentum indicators spread the effect over many bars instead of one. What do TSI and the Awesome Oscillator smooth out? covers two of them.
ROC on stock and crypto charts#
The lookback counts bars, not calendar time, and markets differ in how many bars a calendar period holds and in what happens between bars.
- Trading days. US stocks trade on roughly 252 days a year, and most crypto pairs every day of the year. A 20-day ROC covers about four calendar weeks on a stock chart and 20 calendar days on a crypto chart. A one-year ROC is about ROC(252) for a stock and ROC(365) for a crypto pair on daily bars.
- Gaps. A stock that closes at 16:00 New York time and reopens the next morning can open far from its previous close. Close-to-close ROC includes that gap. A crypto pair trades continuously, so most of its moves happen inside bars.
- Corporate actions. A 2-for-1 stock split halves the quoted price. On a chart that is not adjusted for splits, ROC would show a 50% drop that no shareholder suffered. Use adjusted data for stocks.
- Quote currency. In crypto, ROC depends on what the price is quoted in. ETH quoted in USDT and ETH quoted in BTC give different ROC readings, which leads to the second half of this lesson.
Price relative to a benchmark: is it beating the market?#
A price relative divides an asset's price by a benchmark's price on each bar and rebases the result to 100 at a chosen start: relative = 100 × (asset ÷ benchmark) ÷ (asset ÷ benchmark on the start bar). It rises when the asset outperforms the benchmark, by rising more or falling less, and falls when it underperforms. Its inputs are the closes of two instruments, aligned bar by bar. A value of 110 means that since the start, the asset's growth factor is 1.10 times the benchmark's. The price relative is often called relative strength or a ratio chart. It is not the relative strength index (RSI), which compares one asset's own up moves with its down moves. Without rebasing, the raw ratio's level depends on the two prices and means little; only its direction does.
Calculating a price relative step by step#
To calculate a price relative, divide the asset's close by the benchmark's close on every bar, then divide each ratio by the first one and multiply by 100. The table uses six bars of an asset and a benchmark (synthetic numbers).
| Bar | Asset | Benchmark | Asset ÷ benchmark | Rebased (bar 1 = 100) |
|---|---|---|---|---|
| 1 | 40.00 | 2,000 | 0.020000 | 100.00 |
| 2 | 41.00 | 2,040 | 0.020098 | 100.49 |
| 3 | 40.50 | 2,010 | 0.020149 | 100.75 |
| 4 | 42.00 | 2,050 | 0.020488 | 102.44 |
| 5 | 41.20 | 2,060 | 0.020000 | 100.00 |
| 6 | 43.00 | 2,080 | 0.020673 | 103.37 |
- Bar 3: the asset fell 1.22% (41.00 to 40.50) and the benchmark fell 1.47% (2,040 to 2,010). The asset fell less, so the relative rose to 100.75.
- Bar 5: both are exactly 3.0% above bar 1, so the relative is back at 100.00.
- Bar 6: the asset is up 7.5% and the benchmark 4.0% since bar 1. The relative is 1.075 ÷ 1.040 = 1.0337, or 103.37.
The relative compares growth factors, (1 + asset return) ÷ (1 + benchmark return). Subtracting returns, 7.5% − 4.0% = 3.5%, slightly overstates the gap, and the error grows with larger moves.
Reading a price relative on a chart#
Read a price relative by its direction: a rising line means the asset is doing better than the benchmark, a falling line means worse, and a flat line means both moved by the same percentage. Figure 3 splits 120 synthetic days into three phases of 40 days. Both series in the top panel are rebased to 100 on day 1 so they can share one axis.
- Phase 1, days 1 to 41. The asset rose 43.1% and the benchmark 16.7%. The relative climbed to 122.6. Asset and relative agree.
- Phase 2, days 41 to 81. The asset still rose 5.4%, but the benchmark rose 18.7%, so the relative fell to 108.8. A holder made money but would have done better holding the benchmark.
- Phase 3, days 81 to 121. Both fell: the asset 17.1%, the benchmark 29.5%. The relative rose 17.5% to 127.9.
Over the whole period the asset gained 25.0% and the benchmark lost 2.2%. The start date matters too: rebased to 100 on day 41 instead of day 1, the relative would read 88.8 on day 81, showing only the underperformance of phase 2.
Choosing a benchmark#
The benchmark defines the question the price relative answers, and different benchmarks can give opposite answers. For a US stock, a broad index such as the S&P 500 asks whether it beat the market, and a sector index asks whether it beat its peers. For an altcoin, bitcoin is a common benchmark because many traders measure altcoins in bitcoin terms, and a broad crypto index is another. Each is a choice.
Suppose an altcoin rose 30% over a quarter, bitcoin 50% and a broad crypto index 20%. Against bitcoin the relative ends at 100 × 1.30 ÷ 1.50 = 86.67: the altcoin lagged. Against the index it ends at 100 × 1.30 ÷ 1.20 = 108.33: the altcoin led. Figure 4 shows the same disagreement on synthetic data.
Some practical points:
- A crypto pair can be the ratio itself. An exchange pair quoted in bitcoin, such as ETH/BTC, is a price relative against bitcoin. Binance Spot listed ETHBTC with status TRADING when checked on 26 November 2026. Dividing two USDT-quoted prices gives nearly the same line, apart from small differences between markets.
- Align the timestamps. A stock index's daily close and a crypto pair's daily close are usually taken at different times of day. Compare closes taken at the same moment, or accept that the ratio mixes two clocks.
- Compare like with like. A price index leaves out dividends. Over long periods, compare a stock and a benchmark that are both price-only or both total-return.
When a price relative misleads: a rising line in a falling market#
A rising price relative says only that the asset is doing better than its benchmark. It says nothing about whether the asset itself is rising. In phase 3 of Figure 3 the relative line climbed 17.5% while the asset lost 17.1%. Anyone holding the asset through phase 3 lost money, however strong the relative line looked. "Relative strength" during a broad decline can simply mean falling more slowly.
Other ways the line can mislead:
- The benchmark changes the answer. As Figure 4 showed, the same altcoin led one benchmark and lagged another.
- The start date changes the level. A relative rebased at a different start can tell a different story over the same recent days.
- Mismatched data. Different closing times, a split that was adjusted on one series but not the other, or dividends counted on one side only all show up as false out- or underperformance.
A trader who wants both answers reads two lines together: the asset's own ROC, for whether it is rising, and its price relative, for whether it is beating the alternative.
Does momentum persist? What research found#
Researchers have tested whether past winners keep winning, in both relative and absolute terms. Jegadeesh and Titman (1993) studied US stocks and found that buying recent winners and selling recent losers, ranked on returns over the previous 3 to 12 months, earned significant positive returns over 3- to 12-month holding periods. Part of that gain faded over the following two years. That is a relative comparison across many stocks, the price relative idea applied to a whole market. In a later paper (2001), the same authors reported that these profits continued in the 1990s.
For crypto, Liu and Tsyvinski (2021) reported a strong time-series momentum effect: a cryptocurrency's own past returns helped predict its future returns, which is closer to the ROC idea. They also found that measures of investor attention forecast returns.
These are average results across many assets and long periods, from rules fixed in advance. They do not show that one ROC reading on one chart predicts next week's move, and trading costs and changing markets can erase an edge that worked in past data. Why did my backtest work when live trading didn't? explains how, and How do I compare a strategy with simply holding? shows how to measure any rule against a benchmark.
Check your understanding: ROC and price relative#
Part 1, rate of change. A token closes at 0.800, 0.760, 0.780, 0.820, 0.840, 0.880 and 0.860 on seven consecutive days.
- What are ROC(5) and momentum(5) on the last day?
- What was ROC(5) the day before?
- The close fell on the last day. Why did ROC(5) rise?
Show the answers
Answer.
- Five days before the last close of 0.860 is the second close, 0.760. ROC(5) = 100 × (0.860 ÷ 0.760 − 1) = +13.16%. Momentum(5) = 0.860 − 0.760 = +0.100.
- On the sixth day the reference close is the first one, 0.800. ROC(5) = 100 × (0.880 ÷ 0.800 − 1) = +10.00%.
- The close fell 2.27%, from 0.880 to 0.860, but the reference close dropped from 0.800 to 0.760. The lower base outweighed the lower close. This is the base effect: part of every ROC change comes from the old end of the window.
Part 2, price relative. Over a month a stock falls from 80.00 to 72.00, while its benchmark index falls from 5,000 to 4,250. Rebase the price relative to 100 at the start. Where does it end? Did the stock beat its benchmark, and did its holder make money?
Answer. Relative = 100 × (72.00 ÷ 4,250) ÷ (80.00 ÷ 5,000) = 105.88. Using growth factors: 0.90 ÷ 0.85 = 1.0588. The stock beat its benchmark by about 5.9% in ratio terms, because it fell 10% while the index fell 15%. Its holder still lost 10%. A rising relative line in a falling market means falling more slowly, not rising.
Related lessons#
- Before this lesson: What does a candle tell me, and what does it hide?
- Next: What do TSI and the Awesome Oscillator smooth out?, two smoothed momentum indicators that soften the base effect.
- See also: What does RSI measure, and why do "overbought" signals fail?, What does a moving average actually measure?, Is a rally broad or narrow?, How do I compare a strategy with simply holding? and Why did my backtest work when live trading didn't?