Skip To Content
Exness TurboUp to +5% extra on your rebate for Exness trades closed within 5 minutes+5% extra on trades ≤ 5 minSee Details

Table of Contents

Read 0% · about 16 min left

  1. 1What Is The RSI Indicator? Wilder's Origins And The 14-Period RSI Formula
    1. The RSI Formula And Wilder's Smoothing
    2. Example: Calculating A 14-Period RSI From 15 Closing Prices
    3. Example: Calculating RSI On Real Gold Prices
  2. 2How To Use RSI: Overbought And Oversold At 70/30 And The 50 Line
  3. 3RSI Divergence: Regular, Hidden And How To Confirm It
  4. 4How To Add RSI On MT5 And Adjust The Settings By Timeframe
  5. 54 Common RSI Mistakes: From Picking Tops To Ignoring Risk Management
  6. 6Frequently Asked Questions (FAQ) About The RSI Indicator
  7. 7Conclusion

What Is The RSI Indicator? How To Use RSI, Overbought, Oversold And Divergence

Published 16 min read

What is the RSI indicator: how to use RSI, overbought, oversold and divergence

On an EUR/USD or gold chart in MetaTrader 5, an RSI reading above 70 tempts many traders to expect a drop. In a strong uptrend, though, RSI can stay above 70 for many candles while price keeps climbing. Understanding what the RSI indicator is matters more than memorising the 70/30 levels: RSI measures momentum, it does not issue buy or sell orders.

In this article, Backcom.io explains the 14-period formula, how to use RSI with overbought and oversold zones and the 50 line, how to read RSI divergence, the steps to set up RSI on MT5 and four common mistakes, with charts and real examples on gold and EUR/USD.

What Is The RSI Indicator? Wilder's Origins And The 14-Period RSI Formula

The RSI indicator (Relative Strength Index) is a momentum indicator introduced by J. Welles Wilder Jr. in 1978 in his book New Concepts in Technical Trading Systems. RSI compares the average gains and average losses of closing prices, then scales the result between 0 and 100.

The MT5 documentation lists RSI among the Oscillators and notes that Wilder recommended 14 periods. Source: Relative Strength Index in the MetaTrader 5 documentation.

Note: "14 periods" means 14 candles of the timeframe you are viewing, so 14 hours on H1 and 14 days on D1.

The RSI Formula And Wilder's Smoothing

RS is calculated as:

RS = Average gain ÷ Average loss

RSI is then:

RSI = 100 − 100 ÷ (1 + RS)

The calculation runs in three stages:

  • Split the changes: compare each close with the previous one and record the gain or the size of the loss in its own column.
  • Take the first averages: add up the 14 gains and the 14 losses separately, then divide each total by 14.
  • Smooth the later periods: combine the previous average with the current change.

For a 14-period RSI, the new average gain is:

New average gain = (Previous average gain × 13 + Current gain) ÷ 14

The average loss works the same way. StockCharts describes this as smoothing similar to an EMA, and the RSI.mq5 sample code shipped with MT5 uses the same method. If the two averages are equal, RSI is 50. If the average loss is 0, RSI is 100. See the Relative Strength Index article on StockCharts ChartSchool.

Example: Calculating A 14-Period RSI From 15 Closing Prices

This example uses hypothetical prices, not market data. Fifteen closes produce 14 changes, enough for the first RSI value.

Price No.CloseGainLoss
1100.0——
2102.02.00
3101.001.0
4102.51.50
5102.000.5
6103.01.00
7101.002.0
8104.03.00
9102.801.2
10105.12.30
11103.601.5
12107.64.00
13105.602.0
14108.63.00
15105.603.0
Total of 14 changes—16.811.2

Total gains of 16.8 and total losses of 11.2 give averages of 1.2 and 0.8, so RS = 1.5 and RSI = 60. The next two hypothetical prices give:

  • Price 16 at 106.2, up 0.6: average gain = (1.2 × 13 + 0.6) ÷ 14 = 1.1571, average loss = 0.7429, RS ≈ 1.5577 and RSI ≈ 60.90.
  • Price 17 at 105.2, down 1.0: average gain = 1.0745, average loss = 0.7612, RS ≈ 1.4115 and RSI ≈ 58.53.

If you used a simple average of the last 14 changes instead, price 16 would give an average gain of 1.1, an average loss of 0.8 and an RSI of about 57.89.

Example: Calculating RSI On Real Gold Prices

After the first RSI value, each new candle only needs the two previous averages and the change on that candle. Take COMEX gold futures (GC) on the daily chart: the Sep 19, 2025 session closed at 3,705.8 with an average gain of 16.24 and an average loss of 7.01. The Sep 22, 2025 session closed at 3,775.1, a gain of 69.3:

  • New average gain: (16.24 × 13 + 69.3) ÷ 14 = 20.03.
  • New average loss: (7.01 × 13 + 0) ÷ 14 = 6.51, because price did not fall that session.
  • RS and RSI: 20.03 ÷ 6.51 ≈ 3.08, so RSI ≈ 100 − 100 ÷ 4.08 ≈ 75.5 for that session.

Data: GC=F daily candles from Yahoo Finance, retrieved on Nov 3, 2026, calculated with Wilder's smoothing. Past prices for illustration, not a trade recommendation. Broker XAU/USD differs slightly from the futures contract, so your RSI will not match exactly.

How To Use RSI: Overbought And Oversold At 70/30 And The 50 Line

RSI indicator on the gold daily chart: RSI at or above 70 in 29 of 35 sessions in September and October 2025 while price rose from 3,592.2 to 4,359.4
RSI Above 70 For Weeks While Gold Kept Rising, D1
RSI below 30 on the gold daily chart in 2026: price was 6.29% higher 10 sessions after Mar 23 but 2.07% lower 10 sessions after 10 June
RSI Below 30 On Gold In 2026, D1

How to use RSI comes down to reading three levels, 70, 30 and 50, in the context of the trend. Most mistakes with RSI begin when a trader treats 70 as a sell button.

Overbought And Oversold Readings Are Not Sell Or Buy Orders

According to StockCharts, Wilder considered RSI above 70 overbought and below 30 oversold. The MT5 documentation adds that RSI often forms tops or bottoms before price does. To see what the overbought and oversold zones mean, convert RSI back to RS with RSI ÷ (100 − RSI):

RSI LevelMatching RSMeaning
804.00Average gain is 4 times the average loss
702.33Average gain is about 2.33 times the average loss
601.50The level from the formula example
501.00Gains and losses are balanced
300.43Average gain is about 43% of the average loss
200.25Average gain is a quarter of the average loss

There are three situations to tell apart:

  • Sideways price: StockCharts notes that 70/30 tends to be more useful when price is moving within a range.
  • Strong trend: RSI can stay overbought or oversold for many candles without price reversing.
  • Different thresholds: 80/20 reduces the number of touches, and StockCharts notes that short-term traders sometimes pair them with a 2-period RSI.

RSI touching 70 or 30 is a reason to look more closely, not an order to sell or buy.

Real Example: RSI Above 70 While Gold Kept Rising

On Sep 2, 2025, RSI on the gold daily chart crossed above 70 at 74.3, with a close of 3,592.2. In the 35 sessions from then until Oct 20, 2025, RSI was at or above 70 in 29 sessions, peaking at 82.8 on Oct 8, while price rose to 4,359.4, 21.36% higher. Selling the first time RSI crossed 70 would have meant standing against the whole rally.

RSI only left the overbought zone for good when price actually fell: on Oct 21, 2025 gold lost 5.74% and RSI dropped from 76.6 to 57.3. The signal of a change in direction came from the price drop, not from RSI already being high.

Real Example: RSI Below 30 Is Not A Buy Order Either

Three oversold readings on gold in 2026:

  • Mar 23, 2026, RSI 27.7 at 4,407.3: 10 sessions later price was at 4,684.7, 6.29% higher, although it was 2.29% lower at one point along the way.
  • Jun 10, 2026, RSI 25.9 at 4,133.3: price bounced to 4,381.4 on Jun 17, then turned back. Ten sessions later it was at 4,047.6, 2.07% lower, and 3.81% lower at the worst point.
  • Jun 24, 2026, RSI 29.6 at 4,008.8: RSI fell below 30 again just 9 sessions after the previous reading, at a price 3.01% lower. This time price was 3.29% higher 10 sessions later.

Across two years of data (November 2024 to November 2026), the gold daily chart had 17 entries into the 70/30 zones with a full 10 sessions of follow-up, and price moved in the reversal direction in only 6 of them. The zone above 70 accounted for 14 entries, of which 4 reversed. The gold H4 chart showed 52 reversals in 115 entries, and EUR/USD daily 9 in 14. Markets differ and the daily samples are small, so the numbers only show that 70/30 alone is not a trade signal.

The 50 Line And RSI Ranges In Trending Markets

The 50 line is the centreline. RSI above 50 means the average gain is larger than the average loss, so RS is above 1. According to Constance Brown, as cited by StockCharts, the range RSI moves in also depends on the trend:

  • Uptrend: RSI tends to stay between 40 and 90, with 40–50 often acting as support.
  • Downtrend: RSI tends to stay between 10 and 60, with 50–60 often acting as resistance.

StockCharts illustrates this with the 14-day RSI of the US Dollar Index in 2009: during the downtrend, the 50–60 zone capped rebounds several times before RSI broke higher in December.

A real example on the gold daily chart: from Sep 10, 2026 to Oct 30, 2026, price fell 11.54% and RSI rose above 50 in only 1 of 37 sessions, peaking at 50.3 on Sep 18. Before that, a rebound on Sep 3 lifted RSI to 56.9, inside Constance Brown's 50–60 zone, before it turned lower. In the other direction, from Aug 20, 2025 to Oct 20, 2025 price rose 28.65% and RSI stayed above 50 in 42 of 43 sessions, with a low of 49.8. Both are clear trend periods chosen for illustration, not every market phase.

RSI Divergence: Regular, Hidden And How To Confirm It

RSI divergence on the gold daily chart: the price high rose from 3,201.6 to 3,509.9 while RSI fell from 79.5 to 75.2, and price was 2.57% lower 10 sessions after confirmation
Bearish RSI Divergence On Gold, D1
Failed RSI divergence on the EUR/USD daily chart: the price high rose from 1.1575 to 1.1635 while RSI fell from 75.8 to 66.0, yet price was 2.25% higher 10 sessions later
Bearish RSI Divergence That Failed On EUR/USD, D1

RSI divergence happens when price and the RSI line do not make new highs or lows in the same direction. For more cases, see our guide to RSI divergence: regular vs hidden.

How Do Regular And Hidden Divergence Differ?

Compare two highs or two lows at the same points in time:

Divergence TypePriceRSICommon Reading
Regular bearishHigher highLower highBuying momentum is fading
Regular bullishLower lowHigher lowSelling momentum is fading
Hidden bullishHigher lowLower lowThe uptrend may continue
Hidden bearishLower highHigher highThe downtrend may continue

According to Charles Schwab's article on chart divergences, divergence often appears before a trend reversal is confirmed. Naming conventions such as "positive" or "negative" divergence are not standardised, so identify it by the shape of the highs and lows.

Why RSI Divergence Is Only A Warning That Needs Price Confirmation

RSI divergence is easy to misread in a strong trend. StockCharts shows the SPY ETF producing three bearish divergences while its uptrend carried on. You can look for confirmation through:

  • Reversal candles: Charles Schwab suggests waiting for a suitable candlestick pattern, which you can look up with our candlestick patterns tool.
  • A break in structure: watch for price breaking support, resistance or the latest high or low in the direction the divergence suggests.
  • Extreme context: StockCharts notes that divergence carries more weight after RSI has been overbought or oversold.

Divergence tells you momentum is changing, not when price will turn. Wait for price to confirm before you consider a trade.

Real Example: The Same Divergence, Two Different Outcomes

Bearish divergence on the gold daily chart: on Apr 2, 2025 price made a high of 3,201.6 with RSI at 79.5. On Apr 22, 2025 price made a higher high at 3,509.9, but RSI reached only 75.2. The high was confirmed by five candles on Apr 29, when price closed at 3,333.6. Ten sessions later (May 13) price was at 3,247.8, 2.57% lower, but it had been up to 3.44% higher in between, so a seller on confirmation still sat through a move against them.

Bearish divergence on the EUR/USD daily chart: on Apr 21, 2025 price made a high of 1.1575 with RSI at 75.8. On Jun 12, 2025 price made a higher high at 1.1635 with RSI at only 66.0, a wider RSI gap than in the gold example. Yet price did not fall: 10 sessions after the high was confirmed (Jun 19), it was at 1.1774, 2.25% higher.

Using the same rules (highs and lows with five candles on each side, and no more than 60 candles between the two extremes), two years of data gave 6 divergences on the gold daily chart with 3 correct, 38 on gold H4 with 18 correct, and 4 on EUR/USD daily with none correct. The daily samples are tiny, but they show that divergence is a reason to look harder, not to enter.

Data: Yahoo Finance (GC=F, EURUSD=X), retrieved on Nov 3, 2026, own calculations. Past results do not guarantee future results.

How To Add RSI On MT5 And Adjust The Settings By Timeframe

Setting up RSI on MT5 needs no external file: RSI is one of the Oscillators among the 38 indicators built into the desktop version. Follow five steps:

  • Open the Navigator: press Ctrl+N, go to Indicators → Oscillators → Relative Strength Index, then double-click it or drag it onto the chart. You can also use Insert → Indicators.
  • Set the Parameters: keep Period 14 and Apply to: Close so it calculates from closing prices. Apply to offers nine options, and Style changes the line.
  • Adjust the Levels: keep 30 and 70, then click Add to include 50.
  • Check Visualization: choose the timeframes on which RSI should appear.
  • Save and edit: click OK. To change the settings later, open the Indicator List with Ctrl+I, select RSI and choose Properties.

Source: MetaTrader 5 guide to attaching technical indicators.

Note: RSI on the current candle can change with the live price until the candle closes. Use closed candles when you log trades or compare two charts.

MT4 also lets you add RSI through the Navigator or Insert → Indicators. Custom MT4 indicators do not run on MT5, as our MT4 vs MT5 comparison explains.

Keep RSI 14 Or Change The Period By Timeframe?

Wilder recommended 14 periods, and the MT5 documentation notes that 9 and 25 are also popular. According to StockCharts, shorter periods are more sensitive and reach 70/30 more often. You can test four principles:

  • Use 14 as the baseline: observe the default before changing it.
  • Revisit the thresholds: with shorter periods, 80/20 may be worth testing.
  • Separate by timeframe: the Visualization tab lets each RSI with a different period appear only on the timeframes you choose.
  • Test on a demo: record results after costs in a journal before using real money.

A scalping trader may want a more sensitive RSI, but trading more often also makes costs add up faster.

4 Common RSI Mistakes: From Picking Tops To Ignoring Risk Management

Using RSI carefully means reading the indicator alongside the trend, price structure and the amount of risk you can accept.

Picking Tops And Bottoms In A Strong Trend

Selling as soon as RSI is above 70, or buying as soon as it is below 30, can put you against the trend: in the gold daily example above, RSI was at or above 70 in 29 of 35 sessions while price rose 21.36%. Treat the overbought and oversold zones as context and wait for price to confirm a change in direction.

Using RSI On Its Own As A Trading System

RSI is calculated only from price, so it cannot tell you whether a support zone will hold. StockCharts recommends combining indicators with other tools to reduce false signals. RSI divergence also needs checking against price highs and lows, support, resistance or candlestick patterns. Two indicators calculated from the same price and pointing the same way are not two independent pieces of evidence.

Reading RSI On A Low Timeframe And Ignoring The Higher One

An oversold RSI on H1 may only reflect a short pullback while the D1 trend is still falling hard. StockCharts gives an example of filtering the trend with the 200-day SMA before reading an oversold RSI. Look one or two timeframes higher before judging the one you trade.

Trading RSI Signals Without Working Out Stop Loss And Lot Size

Suppose a 1,000 USD account risks 1% per trade, so the maximum loss is 10 USD under the 1% money management rule. With a 50 pip Stop Loss on EUR/USD and a hypothetical pip value of 10 USD per lot, 10 ÷ (50 × 10) = 0.02 lot. You can check the result with the position size calculator.

Frequently Asked Questions (FAQ) About The RSI Indicator

What RSI Level Is Overbought And What Is Oversold?

According to Wilder, above 70 is overbought and below 30 is oversold. The 80/20 levels reduce the number of touches, especially with a shorter RSI period. The overbought and oversold zones only describe momentum, so read them together with the trend and the 50 line.

Does RSI Work On Gold?

Yes. RSI uses the same formula for XAU/USD and EUR/USD when the input is the closing price, and each instrument's volatility affects how often it reaches 70/30. On two years of daily gold futures data, 17 entries into the 70/30 zones led to only 6 reversals after 10 sessions. No RSI setting has been shown to suit every gold chart, so test on a demo and keep your own journal.

How Do You Add RSI On MT5 For Mobile?

On Android, tap Indicators in the top bar of the chart or in the circular menu, then choose Oscillators → Relative Strength Index. On iPhone, open Indicators and tap the chart window title to choose the indicator. After adding RSI on the MT5 mobile app, use the same Period and Apply to settings as on desktop.

Why Is The RSI Value On MT5 Different From Other Platforms?

Differences can come from the averaging method, the length of historical data, the price feed or the candle closing time. The hypothetical example above shows two averaging methods differing by about three points. Compare the same symbol, the same timeframe and the same closed candle.

Should You Combine RSI With MACD?

You can, but two indicators calculated from price are not two independent confirmations. RSI uses changes in closing prices, while MACD uses moving averages of price. Also look at price structure, support, resistance and the higher-timeframe trend, and test any combination on a demo first.

Conclusion

Understanding what the RSI indicator is helps you treat it as a measure of momentum. When you apply how to use RSI and read RSI divergence, consider the 70, 30 and 50 levels together with the higher-timeframe trend and confirmation from price.

A hypothetical cost example: 20 trades a month × 0.10 lot of EUR/USD × a 1 pip spread × 10 USD per pip for 1 lot = 20 USD, before commission and swap. You can compare per-lot rebates in the forex rebate table by broker. Backcom.io is an independent introducing broker (IB/affiliate) of these brokers; rebates are paid from the commission the broker pays Backcom.io — see the risk disclaimer.

Disclaimer: This content is compiled for information only and is not investment advice or a trading recommendation. RSI and divergence do not guarantee results. The 15-price RSI calculation and the lot calculation use hypothetical figures, while the gold and EUR/USD charts use past prices.

Was this article helpful?

Share

Join The Backcom.io Community

Get the latest on trading rebates, trading tips, and broker deals — and connect with thousands of traders worldwide.

Follow us:

Backcom App

Track Your Rebates Every Day

Every rebate is visible by broker and by day. Manage your wallet and withdrawals in one place.

Open Backcom App
View all