What is the Relative Strength Index?
The Relative Strength Index (RSI) is a technical indicator that compares the amounts by which an asset's price has risen and fallen and expresses the result as a reading from 0 to 100. It describes whether gains or losses have been stronger over a stretch of price movement. Technical analysis calls the speed and strength of price changes “momentum”; RSI looks at momentum through the relationship between the amounts of gains and losses, not by measuring an asset's value.
“Relative” here means comparing the asset's own upward changes with its own downward changes, not comparing it with another asset. Charting software usually calculates RSI from each period's closing price and draws it as a line that moves up and down outside the price chart. The closing price is the last traded price when each candlestick ends; a candlestick can cover a day, an hour, or another length of time.
RSI was introduced by J. Welles Wilder in 1978, and a common setting is 14 periods. It is a technical indicator, but readings such as “70” or “30” are not automatically generated conclusions to buy or sell.
How RSI is calculated from gains and losses
The software first compares each period's closing price with the previous one and records the change in two columns, gains and losses: if the price rises, the amount of the rise goes in the gain column and the loss column gets 0; if the price falls, the amount of the fall goes in the loss column (as a positive number) and the gain column gets 0; if the price is unchanged, both columns get 0.
For example, if the closing price rises from 10 USD to 12 USD, the record is a gain of 2 and a loss of 0; if it falls from 12 USD to 11 USD, the record is a gain of 0 and a loss of 1. These are price differences, not percentage changes, and not a count of how many times the price rose or fell.
Under Wilder's method, the calculation starts by adding up the gains over the first N periods and dividing by N to get the initial average gain; the losses are likewise added up and divided by N. Both are divided by the total number of periods, not by the number of up periods and down periods respectively. N is the chosen number of periods; 14 differences between consecutive closing prices require 15 closing prices.
Once the initial values are set, both averages are updated with each new period:
Current average gain = [Previous average gain × (N − 1) + Current gain] ÷ N
Current average loss = [Previous average loss × (N − 1) + Current loss] ÷ N
This recursive method is called Wilder smoothing: the latest change carries a weight of 1/N, and the rest comes from the previous average. It does not re-average the latest N periods each time, nor does it average the resulting RSI values again. Older data is already contained in the previous average, and its influence fades period by period.
When the average loss is not 0, the software divides the average gain by the average loss to get the relative strength ratio (Relative Strength, RS), then converts it into RSI:
RSI = 100 − 100 ÷ (1 + RS)
When the sum of the two averages is not 0, it can also be written as RSI = 100 × average gain ÷ (average gain + average loss). This equivalent form makes it easier to see that the larger the share of gains in the two averages, the higher the RSI. RSI equals 100 only when the average gain is greater than 0 and the average loss is 0; it equals 0 only when the average loss is greater than 0 and the average gain is 0. The case where both are 0 is covered in the FAQ below.
Wilder smoothing follows a recursive approach similar to the one used in moving averages, but with a different coefficient: Wilder smoothing uses 1/N. An exponential moving average is an averaging method that gives newer prices more weight, commonly with a coefficient of 2/(N + 1). Mixing up the two coefficients produces different results.
How a series of prices becomes an RSI reading
The example below uses three periods so that the calculation is easy to follow; it is not a parameter recommendation or real market data. Suppose five consecutive closing prices are 10, 12, 11, 13, and 12 USD:
| Consecutive periods | Gain (USD) | Loss (USD) |
|---|---|---|
| 10 → 12 | 2 | 0 |
| 12 → 11 | 0 | 1 |
| 11 → 13 | 2 | 0 |
| 13 → 12 | 0 | 1 |
The first three differences give an average gain of (2 + 0 + 2) ÷ 3 = 4/3 USD and an average loss of (0 + 1 + 0) ÷ 3 = 1/3 USD. Their ratio is 4, so the initial RSI = 100 − 100 ÷ 5 = 80.
In the next period, the price falls from 13 to 12 USD. Updating with Wilder smoothing:
- Average gain = [(4/3) × 2 + 0] ÷ 3 = 8/9 USD;
- Average loss = [(1/3) × 2 + 1] ÷ 3 = 5/9 USD;
- RSI = 100 × (8/9) ÷ (8/9 + 5/9) = 800/13 ≈ 61.54.
The new loss increases the share of losses in the two smoothed averages, so RSI falls. Although the price drops only about 7.69%, RSI moves from 80 to about 61.54: a change in RSI points is not a percentage change in price.
What 50, 70, and 30 indicate
A reading of 50 means the smoothed average gain equals the smoothed average loss; above 50, the average gain is larger; below 50, the average loss is larger. This does not mean the price rose and fell the same number of times, nor that the price has returned to some starting point.
Common charts label readings above 70 as “overbought” and below 30 as “oversold.” These labels mean the indicator has entered a higher or lower zone, reflecting a larger share of gains or losses in the calculation. They do not prove that an asset is overvalued or undervalued, let alone that it should be sold or bought now.
In a sustained rise or decline, RSI can remain in these zones for a long time. Crossing a threshold for the first time does not mean the price has already turned; a decline from a high reading does not necessarily mean the price has fallen either. It may only mean that subsequent gains have weakened relative to losses.
Why RSI differs between two charts
RSI depends on the price inputs, the length of each period, the number of periods, and the calculation method. On a daily chart, 14 periods means 14 differences between daily closes; on a one-hour chart, it means 14 differences between hourly closes. The two do not cover the same stretch of time.
Even with the same number of periods, results can differ when trading venues have different traded prices, candlesticks are divided at different times, or a different price field is used. With fewer periods, the latest change carries more weight in Wilder smoothing, so the reading is usually more sensitive; with more periods, it is usually smoother. This is only the effect of a parameter on the calculation, not a conclusion about “which period is better.”
The starting point of the calculation also matters: the software first sets initial values for the two averages and then updates them recursively. When less historical data is included at the start, the initial values have more influence, and the reading may differ from one calculated with a longer history; using a simple average instead of Wilder smoothing also changes the displayed value. Comparing readings therefore takes more than checking the number “14.”
What RSI does not tell you
RSI only compresses past price changes into a reading. Smoothing retains the influence of older data, so it also responds to new changes with a lag; it does not directly incorporate trading volume, project use, asset supply, or security, nor can it verify whether quotes come from markets with sufficient trading.
A high reading only shows that gains account for a larger share of the calculation; it does not show why traders bought, how much money they committed, or that the price will definitely rise next. Likewise, a low reading cannot prove that a decline is about to end. The role of RSI in technical analysis is to describe price changes, not to replace judgments about value or to predict the future.
FAQ
What does it mean when the price makes a new high but RSI does not?
If the price's later high is above its earlier high while the corresponding RSI high is below the earlier RSI high, this mismatch is called a “divergence.” It means that when the price reached a higher high, the relative strength of gains versus losses did not reach a higher level in the indicator. Conversely, a lower price low paired with a higher corresponding RSI low is also a form of divergence.
A divergence describes the relationship between two sets of highs or lows; it does not prove that the price is about to reverse. Divergences can appear repeatedly in a sustained trend while the price keeps moving in its original direction.
If the price stays unchanged, is RSI always 50?
Not necessarily. If the existing average gain and average loss are not both 0 and the number of periods is greater than 1, each new flat period makes both shrink by the same proportion, so RSI keeps the reading it had before the flat period and does not automatically become 50. If the price has been completely unchanged since the calculation began, both initial averages are 0 and the formula becomes 0/0, so 50 cannot be derived directly; how this case is displayed depends on how the charting software handles it.
Related terms
Learn more about technical indicators, technical analysis, moving averages, and candlestick charts, or return to the cryptocurrency glossary.
Active digitale supuse volatilității și nu sunt asigurate. Nu reprezintă un sfat financiar / de investiție. Nu toate produsele și serviciile sunt oferite în toate regiunile. Se aplică excluderi și Termene și condiții.
© 2026 OKX. Acest articol poate fi reprodus sau distribuit în întregime sau pot fi utilizate extrase de 100 de cuvinte sau mai puțin din acest articol, cu condiția ca o astfel de utilizare să fie non-comercială. Orice reproducere sau distribuire a întregului articol trebuie și să precizeze în mod vizibil: „Acest articol este © 2026 OKX și este utilizat cu permisiune”. Extrasele permise trebuie să citeze numele articolului și să includă atribuirea, de exemplu „Numele articolului, [numele autorului, dacă este cazul],© 2026 OKX”. Unele conținuturi pot fi generate sau asistate de instrumente de inteligență artificială (AI). Nu sunt permise niciun fel de lucrări derivate sau alte utilizări ale acestui articol.









