Clarity Markets
ENEnglish
More languages coming soon
Opens in a new tab

Relative strength index (RSI)

A momentum oscillator that compares recent gains with recent losses and shows the result on a scale from 0 to 100.

What the RSI is.

A single line under the price chart that measures the speed and size of recent price moves.

The relative strength index, or RSI, is a momentum oscillator. Momentum is how fast price is moving. An oscillator is a line that swings between fixed limits.

The RSI compares the size of recent up moves with the size of recent down moves. The answer is drawn as a line between 0 and 100.

Readings above 70 are usually called overbought, and readings below 30 oversold. These words describe a fast move. They do not mean price has to turn.

RSI below a price chart, rising above 70 near a high and falling below 30 near a lowOverbought on RSIOversold on RSIPrice7030RSI (14)RSI below a price chart, rising above 70 near a high and falling below 30 near a lowOverbought on RSIOversold on RSIPrice7030RSI (14)
Illustration on generated prices, not a real market. Price above, RSI (14) below, with the band between 30 and 70 shaded. The RSI climbs above 70 as price rallies to a high, then drops below 30 as price falls to a low.
TypeMomentum oscillator, drawn in its own window below price
Built fromThe average gain and average loss over the last 14 periods
Created byJ. Welles Wilder Jr., in 1978
Best known forThe 70 and 30 levels, and divergence
On MetaTrader 5Insert, then Indicators, then Oscillators, then Relative Strength Index

How it is calculated.

Four steps, repeated on every new bar. Your platform does the maths for you.

01

Split each move into a gain or a loss.

Compare each close with the one before. A higher close counts as a gain, and a lower close counts as a loss.

02

Average the gains and the losses.

Take the average gain and the average loss over the last 14 periods. Wilder smoothed these averages, so each new bar only nudges them.

03

Divide one by the other.

The average gain divided by the average loss gives the relative strength, or RS. The larger the gains compared with the losses, the higher the RS.

04

Turn it into a 0 to 100 scale.

The formula below squeezes RS into a range from 0 to 100. If every move was a gain, the RSI reads 100. If every move was a loss, it reads 0.

RS = average gain ÷ average loss, over 14 periods
RSI = 100 − 100 ÷ (1 + RS)
Wilder smoothing: new average = (previous average × 13 + latest gain or loss) ÷ 14

How to read it.

Four ways traders use the RSI. Each works better alongside other evidence.

ReadingWhat it describesWhat it does not mean
Above 70Gains have far outweighed losses over the period.That price has to fall.
Around 50Gains and losses have been about the same size.That the market has no trend at all.
Below 30Losses have far outweighed gains over the period.That price has to rise.

Overbought and oversold.

Above 70, recent gains dominate. Below 30, recent losses dominate. In a sideways market, these readings sometimes come before a pause or a turn.

Strong trends stay stretched.

In a powerful uptrend, the RSI can sit above 70 for weeks. Selling only because it reads overbought can mean standing in front of the trend.

Divergence.

Divergence is when price and the RSI disagree. Price makes a higher high while the RSI makes a lower high. It suggests the move is losing momentum.

Failure swings.

Wilder also watched the RSI line on its own. Above 70, it falls back, fails to make a new high, then breaks its recent low. The mirror image applies below 30.

Common mistakes.

Where traders new to the RSI most often go wrong.

Selling every reading above 70. In a strong uptrend, overbought can stay overbought for a long time.

Buying every reading below 30. A falling market can keep falling while the RSI stays low.

Trading divergence on its own. It can last for many bars before price turns, and sometimes price does not turn at all.

Shortening the period without rethinking the levels. A 5-period RSI reaches 70 and 30 far more often than a 14-period one.

Ignoring the timeframe. An RSI on a 5-minute chart and one on a daily chart describe very different moves.

Using it on MetaTrader 5.

The RSI is one of MT5’s built-in indicators, on desktop, web and mobile.

01

Open a chart.

In MetaTrader 5, open the instrument and timeframe you want to study.

02

Add the indicator.

Go to Insert, then Indicators, then Oscillators, and choose Relative Strength Index.

03

Check the settings.

The default period is 14, applied to the close. The 70 and 30 levels are already drawn, and you can change them on the Levels tab.

04

Save it as a template.

Right-click the chart, choose Templates, then Save Template, so the same set-up opens on other charts.

The RSI describes how price has moved. It does not predict what price will do next. Practise on the free demo first, and use risk management, such as a stop-loss, on every live trade. This guide is for education only and is not investment advice.

Questions, answered.

What traders ask most about the RSI.

01Who created the RSI?
J. Welles Wilder Jr. introduced it in 1978, in his book New Concepts in Technical Trading Systems. He also created the ADX, the ATR and the Parabolic SAR.
02What period should I use?
Start with 14, the period Wilder used and the MT5 default. Shorter periods make the line jumpier. Longer periods make it smoother and slower.
03Does overbought mean price will fall?
No. Overbought only means recent gains have been large compared with recent losses. In a strong trend, that can continue for a long time.
04How is the RSI different from the stochastic oscillator?
Both are momentum oscillators that run from 0 to 100. The RSI compares gains with losses. The stochastic places the close within the recent high-low range.
05Can I practise with it first?
Yes. The free MT5 demo has the RSI and live prices, with practice money instead of yours.

Practise it on a demo.

Add the RSI to a chart on a free MT5 demo and watch how it behaves before you trade with real money.

Trading CFDs on a live account puts your capital at risk and you can lose money. A demo does not.

CFDs are complex instruments and come with a high risk of losing money rapidly due to leverage. 80% of retail investor accounts lose money when trading CFDs.