Relative Strength Index (RSI)

RSI
Indicator

MomentumSeparate panelFree on ChartLabs

RSI compares the size of recent gains with recent losses and turns the result into a score from 0 to 100. It shows when momentum is stretched, fading or turning.

Created by J. Welles Wilder Jr., 1978. Reviewed by the ChartLabs team, updated Nov 2026.

Example market1hIndicatorsAtlas AIRSIchartlabs.co/charts
Atlas reads it

RSI is under 30. Selling is stretched. Watch for a move back above 30.

RSI 13.3 · MA 15.9

Atlas reads it

RSI is under 30. Selling is stretched. Watch for a move back above 30.

RSI 13.3 · MA 15.9

Illustration on simulated data.

Relative Strength Index (RSI)What is the RSI indicator?

RSI draws one purple line in its own panel, with a yellow moving average and dashed levels at 70, 50 and 30. The band between 30 and 70 is shaded, and the line fills green above 70 and red below 30.

When most of the last 14 bars closed higher, and by more than the down bars fell, RSI climbs toward 100. When losses dominate, it sinks toward 0.

Readings above 70 mean buyers have pushed hard. Below 30 means sellers have. Neither is a signal on its own: strong trends can stay stretched for a long time.

Bull and bear ranges

In uptrends RSI tends to hold between 40 and 80. In downtrends it tends to stay between 20 and 60. A shift in range can say more than a single 70 or 30 reading.

RSI or Stochastic RSI?

RSI measures momentum of price. Stochastic RSI measures where RSI sits inside its own recent range, so it moves faster and hits the extremes more often.

RSI signalsSix patterns to know.

1Bearish lean

Overbought

RSI above 70. Momentum is stretched to the upside. Many traders wait for it to turn back under 70.

2Bullish lean

Oversold

Many traders wait for RSI to cross back above 30 instead of buying the first dip under it.

3Bullish

Centerline cross

RSI crossing 50 shows which side controls momentum. Many traders use it as a trend filter.

Holds 60 to 80
4Bullish

Trend stays hot

In a strong uptrend RSI can hold between 60 and 80 for a long time. That is strength, not a top.

Higher highLower high
5Bearish

Bearish divergence

Price makes a higher high while RSI makes a lower high. Momentum is fading behind the move.

Lower lowHigher low
6Bullish

Bullish divergence

Price makes a lower low while RSI makes a higher low. Selling is losing force. Hidden divergence is the reverse pattern inside a trend and points to continuation.

RSI formulaHow it is calculated.

Avg gaint=Avg gaint−1×13+Gaint14RS=Avg gainAvg lossRSI=100−1001+RS
STEP 1

Split the changes

Compare each close with the one before it and split the changes into gains and losses.

STEP 2

Smooth both averages

Smooth both with Wilder's method: new average = (previous average x 13 + today's value) / 14. The first value is a plain 14-bar average.

STEP 3

Compare and scale

Divide average gain by average loss, then map it onto 0 to 100.

Worked example from the chart above

BarCloseChangeAvg gainAvg lossRSI
170,617.7+36.438.345.845.5
270,631.6+13.936.542.546.2
370,674.2+42.637.039.548.3
470,610.4-63.734.341.245.4
570,519.0-91.431.944.841.6
Bar
1
Close
70,617.7
Change
+36.4
Avg gain
38.3
Avg loss
45.8
RSI
45.5
Bar
2
Close
70,631.6
Change
+13.9
Avg gain
36.5
Avg loss
42.5
RSI
46.2
Bar
3
Close
70,674.2
Change
+42.6
Avg gain
37.0
Avg loss
39.5
RSI
48.3
Bar
4
Close
70,610.4
Change
-63.7
Avg gain
34.3
Avg loss
41.2
RSI
45.4
Bar
5
Close
70,519.0
Change
-91.4
Avg gain
31.9
Avg loss
44.8
RSI
41.6

RSI settingsEvery setting, explained.

SettingDefaultRangeWhat it changes
RSI Length141 to 5,000 (typical 2 to 50)Shorter is jumpier. RSI 2 is a popular short-term setting.
SourceCloseAny price, or volumeWhich values feed the calculation.
MA Length141 to 5,000How smooth the yellow simple moving average on top of RSI is.
Levels70 / 50 / 30AnyMany traders raise them to 80 / 20 in strong trends.
Setting
RSI Length
Default
14
Range
1 to 5,000 (typical 2 to 50)
What it changes
Shorter is jumpier. RSI 2 is a popular short-term setting.
Setting
Source
Default
Close
Range
Any price, or volume
What it changes
Which values feed the calculation.
Setting
MA Length
Default
14
Range
1 to 5,000
What it changes
How smooth the yellow simple moving average on top of RSI is.
Setting
Levels
Default
70 / 50 / 30
Range
Any
What it changes
Many traders raise them to 80 / 20 in strong trends.
146 trips into a zone
70503070,20866,82563,44360,06164,803.7

Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.

RSI strategiesUse it in 3 setups.

Cross back above 30

IfRSI 14crosses above30exit whenRSI 14crosses below 70

Waiting for the cross back above 30 avoids buying while selling is still accelerating.

The 50 line as a filter

Only long whileRSI 14is above50

Above 50, buyers control momentum. Many traders only take longs on that side.

Higher highLower high

Divergence as a warning

Ifprice makes a higher highandRSIa lower highthentighten the stop

Divergence warns that momentum is fading. It is a reason for caution, not an exit by itself.

Test a rule in the Strategy TesterFree with 1 year of history. Past results do not guarantee future results.

RSI mistakesCommon mistakes.

Holds 60 to 80

Shorting every reading above 70

In a strong uptrend RSI can stay above 70 while price keeps rising. Wait for it to turn back down.

Ignoring the higher timeframe

An oversold 5 minute RSI inside a daily downtrend is usually a pause, not a bottom.

Higher highLower high

Treating divergence as an instant reversal

Divergence warns that momentum is fading. Price can keep going for a while before it turns.

RSI combinationsPair it with these.

RSI FAQQuestions traders ask.

What does RSI 70 mean?

Momentum is stretched to the upside. Gains have outweighed losses by a wide margin over the last 14 bars. It is a reading, not a sell signal.

What are the best RSI settings for day trading?

14 is the standard. Some day traders use 7 to 9 for faster signals, with levels at 80 and 20 to cut noise.

RSI 14 or RSI 2?

RSI 14 shows broader momentum. RSI 2 is very fast and is used for short pullback trades inside a trend.

Is RSI leading or lagging?

RSI is built from past closes, so it lags price. Divergence can warn early that momentum is fading.

Does RSI work on crypto?

Yes. Crypto trends hard, so many traders move the levels to 80 and 20 and focus on the 50 line and divergence.

What is RSI divergence?

Price makes a higher high but RSI makes a lower high, or the reverse. Hidden divergence is the opposite pattern inside a trend and points to continuation.

What is a failure swing?

RSI climbs above 70, pulls back, fails to make a new high, then breaks below its pullback low. Wilder treated it as a stronger signal than a plain 70 or 30 reading.

Why is my RSI different from TradingView?

Usually the source, length or smoothing differs, or the chart has a different amount of history loaded. ChartLabs uses Wilder smoothing seeded with a 14-bar average, the same as TradingView.

Does RSI repaint?

No. RSI on closed bars never changes. The live bar updates until it closes.

Who created RSI?

J. Welles Wilder Jr. introduced RSI in 1978 in New Concepts in Technical Trading Systems.

Related indicatorsMore momentum tools.

All momentum indicators

Try RSI on a live chart.
Free. No download.

Works in your browser and on iPhone too.

Example market1h
RSI (14, close, 14)