TradeProfy
Loading global marketscrypto live · forex ECB

Popular & new

Most used

New this month NEW

New this month

Education and estimation only. TradeProfy is not a registered investment adviser in any country and does not recommend buying or selling any security, currency or crypto-asset. Leveraged trading can lose money quickly.

RSI indicator: how it works and how traders use it

The Relative Strength Index is one of the most used and most misread indicators. This guide shows the exact calculation, what the levels mean in trending and ranging markets, and how to test an RSI rule before trusting it.

Mantu KumarBy Reviewed 9 November 2026How we check our numbers

Key takeaways

  • RSI compares the size of recent gains with recent losses on a 0–100 scale, using Wilder’s smoothing.
  • Above 70 means recent closes were mostly up; it does not mean price must fall.
  • In trends, RSI shifts its range: pullbacks to 40–50 in uptrends are common setups.
  • Change thresholds when you change the length, and test both together.
  • RSI gives no stop or size: define the invalidation on the price chart and size from it.

What RSI measures

The Relative Strength Index (RSI) was introduced by J. Welles Wilder Jr. in his 1978 book New Concepts in Technical Trading Systems. It compares the size of recent up-moves with the size of recent down-moves and squeezes the result onto a scale from 0 to 100. A reading near 100 means almost all of the recent movement was upward; a reading near 0 means almost all of it was downward; 50 means gains and losses were about equal.

RSI does not look at volume, at the trend over months, or at news. It is purely a summary of the last few closes, which is why the same reading can mean very different things depending on the market around it.

The formula, step by step

Change = Closetoday − Closeyesterday
Gain = Change if positive, else 0 · Loss = −Change if negative, else 0
First average gain = sum of the first 14 gains ÷ 14 (same for losses)
Next average gain = (previous average gain × 13 + current gain) ÷ 14
RS = Average gain ÷ Average loss
RSI = 100 − 100 ÷ (1 + RS)

The “next average” line is Wilder’s smoothing. It is a type of exponential average with a slow weight of 1/14, so one big candle cannot swing RSI wildly, but a run of similar candles moves it steadily. Platforms that use a simple moving average of gains and losses instead (sometimes called Cutler’s RSI) give slightly different values. TradeProfy uses Wilder’s original method.

Worked example

Suppose over the last 14 days a market had average daily gains of 1.20 and average daily losses of 0.60. RS = 1.20 ÷ 0.60 = 2.0, and RSI = 100 − 100 ÷ 3 = 66.7. If the next day closes 1.00 higher, the new average gain is (1.20 × 13 + 1.00) ÷ 14 = 1.186 and the new average loss is (0.60 × 13 + 0) ÷ 14 = 0.557. RS becomes 2.13 and RSI rises to 68.0. A single up-day of normal size nudged RSI up by about one point.

What 70 and 30 really mean

Wilder suggested 70 and 30 as levels where a move may be stretched. Many traders call these “overbought” and “oversold”, but the words promise more than the indicator delivers. RSI above 70 says only that the recent closes were mostly up. In a strong uptrend that can stay true for weeks, and a trader who sold every time RSI crossed 70 would have been stepping in front of the trend again and again.

  • In a range, RSI extremes often line up with the edges of the range, and mean-reversion rules can work for a while.
  • In a trend, RSI tends to shift its whole range. In an uptrend it often swings between about 40 and 80; in a downtrend between about 20 and 60. A pullback to 40–50 in an uptrend is the more common setup than a drop to 30.
  • After a shock, RSI can hit extreme readings such as 10 or 90 and stay there, because the averages need many bars to catch up.

Settings: why 14?

Fourteen periods is a convention, not a law. Shorter settings (2 to 7) react quickly and are popular for short-term mean-reversion tests; longer settings (21 to 30) smooth more and cross the extremes less often. The thresholds have to move with the length: a 2-period RSI regularly reaches 5 or 95, so 30 and 70 mean little there. When you change one, change the other, and test both together.

LengthTypical useBehaviour
2–5Short-term pullback testsVery jumpy; extremes are frequent
14General purpose (Wilder’s default)Balanced; most chart sites default to it
21–30Swing and position tradingSmooth; fewer extreme readings

Divergence

A bearish divergence appears when price makes a higher high but RSI makes a lower high: the new high came on weaker average gains. A bullish divergence is the mirror image, a lower low in price with a higher low in RSI. Divergences are easy to see after the fact and much harder to trade in real time, because strong trends can show several divergences in a row before turning, or never turn at all. Treat a divergence as a reason to look more closely, tighten a stop or reduce size, not as a signal on its own.

Failure swings

Wilder put more weight on “failure swings” than on divergences. A bottom failure swing happens when RSI drops below 30, bounces, pulls back but stays above 30, and then breaks above its bounce high. The idea is that sellers could not push momentum back to the extreme. The pattern is defined purely on the RSI line, which makes it easy to code and test.

Three common mistakes

  1. Selling strength by default. “RSI is 75, so it must fall” is the most expensive misreading. Check the trend first, for example whether price is above its 200-day average.
  2. Ignoring the timeframe. RSI on a 5-minute chart and on a daily chart describe completely different things. A daily RSI of 30 can sit inside an hourly RSI of 80.
  3. Never testing. A rule such as “buy below 30, sell above 55” can be measured. Run it in the backtester on a few markets and periods before risking money, and include fees.

Combining RSI with risk management

RSI tells you nothing about where to put a stop or how much to buy. A sensible process is: identify the setup with RSI, place the stop where the idea is clearly wrong (for example below the recent swing low or 1.5 average true ranges away), then size the position from the stop distance. The Trade Planner does that last step for you and shows the win rate you would need after costs.

Testing an RSI rule on TradeProfy

Open the backtester, choose “RSI mean reversion”, and try a few markets. On a market that spent the period in a range, the rule usually trades often and shows a high win rate with small average gains. On a market that trended strongly, the same rule often lags buy-and-hold badly, because it keeps selling early. That difference is the most useful lesson RSI can teach: the indicator works with the market’s character, not against it.

RSI across markets: what changes

The same 14-period setting behaves differently depending on how a market trades. Crypto trades 24 hours a day, every day, so a 14-day RSI on Bitcoin covers exactly two calendar weeks and includes weekends. A major currency pair trades about five days a week, and its daily moves are usually much smaller in percentage terms, so its RSI tends to stay closer to the middle and reach 70 or 30 less often. Individual stocks gap overnight and around earnings, which can push RSI to an extreme in a single session.

MarketWhat a 14-day RSI coversPractical note
Crypto (BTC, ETH)14 calendar days, weekends includedLarge swings; extremes are common in strong trends
Major forex pairsAbout 2.8 calendar weeks of weekdaysSmaller daily ranges; extremes are rarer and often matter more
StocksAbout 2.8 weeks of sessionsEarnings gaps can move RSI 15–20 points in one day

A five-step checklist before acting on RSI

  1. Name the regime. Is price above or below its 200-day average, and is that average rising or falling? Write it down.
  2. Pick the reading that fits the regime. In an uptrend, look for pullbacks into the 40–50 area; in a range, the 30 and 70 levels; in a downtrend, rallies into 50–60.
  3. Define the invalidation. Where on the price chart, not on the RSI line, would the idea be clearly wrong? That is the stop.
  4. Size from the stop. Enter the stop in the Trade Planner and let it work out the size for the risk you choose.
  5. Log the outcome. Record the RSI value at entry and the result in R in the journal. After 30 or more trades you will know whether the reading helps your own trading.

Reading the RSI line on TradeProfy charts

When you add RSI in Advanced Charts, it opens in its own pane with the 30 and 70 levels marked. Hover over any bar to see the exact value. The chart read-out in the side panel also reports the latest RSI along with where price sits against its 50- and 200-period averages, so you can check the regime and the momentum reading together without switching tools. The screener lists the daily RSI of every tracked crypto pair, and you can filter for readings below 30 or above 70 to see which markets are currently stretched; it is a starting list for your own analysis, not a list of trades.

Test an RSI rule on real dataRun RSI mean reversion on any crypto pair, with fees and slippage, and compare it with buy-and-hold.
Open the backtester →

Key terms

Wilder smoothing
An exponential average with weight 1 ÷ N, used for RSI and ATR.
Overbought / oversold
Common names for RSI above 70 or below 30; descriptions of recent momentum, not valuations.
Divergence
Price and RSI making highs or lows in opposite directions.
Failure swing
An RSI-only reversal pattern defined by a failed return to an extreme and a break of the prior RSI swing.
Regime
The character of a market over a period: trending up, trending down or ranging.
Education only. This guide explains how an indicator or method works. It is not a recommendation to buy or sell anything, and past patterns do not predict future prices. Trading, especially with leverage, can lose money quickly.

RSI questions readers ask

Is RSI a leading or lagging indicator?

It is built only from past closes, so it reacts to price rather than predicting it. Because it measures the pace of recent moves, it can flatten before price turns, which is why some traders call it leading, but it gives no guarantee of a turn.

Why does my RSI differ from another website?

Platforms seed the averages differently and load different amounts of history. Wilder smoothing needs many bars to settle, so a chart with 100 bars can show a slightly different value from one with 1,000 bars.

Can RSI be used on crypto and forex?

Yes. The calculation only needs closing prices. Crypto trades every day, so a 14-day RSI covers two calendar weeks; on a weekday-only market it covers almost three.

What is a good RSI setting for day trading?

There is no single best setting. Shorter lengths react faster but give more false extremes. Pick a length, set thresholds to match, and test on the timeframe you trade, including costs.

Does RSI work on its own?

Rarely. Most traders use it with a trend filter, a clear stop level and a position-sizing rule. On its own it only describes recent momentum.

Is RSI an indicator or an oscillator?

Both. RSI is a momentum indicator that oscillates between 0 and 100, so it is usually classed as an oscillator.

Is the RSI indicator accurate or reliable?

RSI measures something real (how one-sided recent closes have been) and is calculated exactly, but it does not predict turns on its own. In strong trends it can stay above 70 or below 30 for weeks. Its value comes from combining it with trend, levels and a plan.

How does the RSI indicator work?

It compares the average size of up closes with the average size of down closes over 14 periods, using Wilder’s smoothing, and scales the result to 0–100. Values near 100 mean mostly up closes; near 0, mostly down closes.

Is RSI free on TradingView?

Yes, RSI is a built-in indicator on TradingView’s free plan and on most trading platforms. TradeProfy’s charts and live crypto screener also show it free.

Which RSI setting is best?

14 is the standard. Shorter settings react faster and give more extreme readings; longer settings are smoother. Test a setting in the backtester before relying on it.

Mantu Kumar, founder of TradeProfy

Written and maintained by Mantu Kumar

Mantu builds the TradeProfy calculators and checks every formula with worked examples. Each page lists its data sources and assumptions. TradeProfy explains costs and maths but never tells you what to buy or sell.

Read Mantu’s profile · How we check our numbers