RSI Indicator in Forex: Settings, Signals & Divergence

Intermediate5 min read
Multiple Graphs on a Laptop Screen
Image by Alesia Kozik on Pexels

What the RSI Measures

The Relative Strength Index (RSI) is a momentum oscillator introduced by J. Welles Wilder in 1978. It compares the size of recent gains with the size of recent losses and expresses the result on a scale from 0 to 100. A high reading means up-closes have dominated the lookback window; a low reading means down-closes have. It says nothing about value — only about how one-sided recent price changes have been.

The Formula, Step by Step

The standard setting is 14 periods. The calculation is:

  • RS = average gain ÷ average loss over the last 14 periods
  • RSI = 100 − 100 / (1 + RS)

Worked example: over 14 candles on EUR/USD, the up-closes total 84 pips and the down-closes total 42 pips. The average gain is 84 / 14 = 6 pips and the average loss is 42 / 14 = 3 pips, so RS = 6 / 3 = 2. RSI = 100 − 100 / (1 + 2) = 100 − 33.3 = 66.7.

When gains and losses are equal, RS = 1 and RSI = 50. For RSI to reach 70, RS must be 2.33 — average gains more than twice average losses. For RSI to fall to 30, RS must be 0.43. After the first value, Wilder’s smoothing is applied: the new average gain equals (previous average × 13 + current gain) / 14, and likewise for losses. This is why values depend slightly on how much chart history is loaded.

Overbought and Oversold: 70 and 30

By convention, readings above 70 are labelled overbought and readings below 30 oversold. The labels wrongly imply that price must reverse. “Overbought” only means recent gains have been much larger than recent losses — which is exactly what a strong uptrend looks like.

USD/JPY daily candlestick chart with an RSI 14 panel below, where RSI stays near or above 70 for weeks while price keeps rising
USD/JPY daily, RSI 14. RSI first went above 70 on 14 March 2022, yet price climbed from 118.18 to 131.35 and RSI stayed above 55 for 43 sessions (shaded). Selling at 70 would have meant fading the trend.

This is why RSI stays pinned in trends. In a persistent rally each pullback is small, so the average loss stays low and RS stays high. RSI can sit between 60 and 85 for days or weeks while price continues to climb. Selling simply because RSI crossed 70 means fading the strongest moves on the chart.

A more useful approach is to identify the market condition first, ideally with clear support and resistance zones marked, and then read the oscillator accordingly:

  • In a range, moves above 70 or below 30 near the range edges can support a fade back towards the middle.
  • In an uptrend, RSI often oscillates between roughly 40 and 80. Dips towards 40–50 mark pullbacks worth studying; readings of 70 are not sell signals.
  • In a downtrend, RSI often oscillates between roughly 20 and 60. Rallies towards 50–60 are where sellers tend to reappear.

Divergence

Divergence occurs when price and RSI disagree. Bearish divergence: price makes a higher high, but RSI makes a lower high — the latest push had less momentum behind it. Bullish divergence: price makes a lower low while RSI makes a higher low.

For example, GBP/USD peaks at 1.2700 with RSI at 78, pulls back, then rallies to 1.2740 with RSI reaching only 69. Price is 40 pips higher; momentum is lower. That is a warning that the trend is tiring, not an instruction to sell. Strong trends can print two or three divergences in a row before turning, so treat divergence as a reason to tighten stops or look for a reversal trigger — such as a bearish candlestick pattern at resistance or a break of the most recent swing low — rather than as an entry on its own.

The 50 Line as a Trend Filter

Because RSI = 50 marks the point where average gains equal average losses, the centre line works as a simple momentum filter: above 50, buyers have had the upper hand over the lookback window; below 50, sellers have. Many traders only take longs when the higher-timeframe RSI is above 50, and only shorts when it is below. It pairs naturally with moving averages: price above a rising 50 EMA with RSI above 50 is a consistent picture, while conflicting readings suggest a range or a transition.

Practical Rules

  • Keep the default 14 unless you have a tested reason to change it; shorter settings reach extremes far more often, longer ones rarely do.
  • Consider waiting for RSI to cross back below 70 or above 30 rather than acting on the first touch.
  • Never use an RSI reading alone as an entry. Combine it with structure, a level and a trigger.

Larry Connors’ RSI(2) pullback, a two-period version of this indicator, runs as live signals on ForexR; its backtest was close to break-even before costs and slightly negative after them.

On TradingView, the browser-based charting platform, RSI divergence scripts flag the disagreements described above, and momentum oscillator scripts let you compare RSI with similar tools. Treat any flag as a prompt to look, not a signal to trade.

Also check the higher timeframe: a 15-minute oversold reading inside a daily downtrend is usually just a pause, as the guide to multi-timeframe analysis explains. Expect erratic readings around major data releases, so consult the economic calendar before relying on any oscillator.

RSI describes momentum that has already occurred; it cannot tell you what happens next, and any signal can fail. Forex and CFDs carry a high risk of loss, so use a stop on every trade and only risk money you can afford to lose.

FAQ

What is the best RSI setting for forex?

The default 14 periods is the standard and a sensible starting point on any timeframe. Shorter settings such as 7 or 9 react faster and hit the 70 and 30 zones more often, producing more signals and more noise. Longer settings such as 21 are smoother but rarely reach the extremes.

Does an RSI above 70 mean I should sell?

No. A reading above 70 only shows that recent gains have been much larger than recent losses, which is normal in a strong uptrend. RSI can stay above 70 for long periods while price keeps rising. Overbought readings are more useful in ranging markets, at clear resistance, and with a confirming price signal.

How reliable is RSI divergence?

Divergence is a warning that momentum is fading, not a timing signal. Strong trends can show several divergences in a row before price actually turns, so acting on divergence alone often means entering too early. Use it alongside a key level and a price trigger such as a break of the latest swing point.

Free RSI Scripts for TradingView

Open-source Pine scripts from the ForexR library that build on this indicator. Copy one into TradingView's Pine Editor to try it on your own chart.

Free Oscillator and Momentum Pine Scripts · How to add a script to TradingView

See RSI(2) pullback traded live

ForexR Signals publishes each trade before the entry, with its stop and three targets, and tracks it against live prices. Every win and loss stays on the record. Practice trades with no real money, not advice.

All signals and the full track record · Signals terms

Related on ForexR

Next lesson Stochastic Oscillator Explained: Settings, Signals and Strategy Continue

More Intermediate Guides

Support and Resistance in Forex: How to Draw Key Levels How to Draw Trend Lines and Channels in Forex (Step by Step) Supply and Demand Zones in Forex: How to Find and Trade Them Forex Candlestick Patterns: Pin Bars, Engulfing, Doji & More Forex Chart Patterns: Reversal & Continuation Explained Forex Breakout Trading: How to Trade Breakouts & Spot Fakeouts Moving Averages in Forex: SMA vs EMA, Crossovers & Trends MACD Indicator Explained: Settings, Signals & Divergence Stochastic Oscillator Explained: Settings, Signals and Strategy Divergence Trading: How to Spot Regular and Hidden Divergence Bollinger Bands Explained: Squeeze, Band Walks & Signals Ichimoku Cloud Explained: A Simple Guide to All Five Lines Forex Pivot Points: Formula, Levels & How to Trade Fibonacci Retracement in Forex: Levels, Drawing & Examples ATR Indicator in Forex: How to Measure Volatility Most Volatile Currency Pairs (and the Calmest): How to Trade Them Best Forex Indicators for Beginners: The 7 Worth Learning Stop-Loss Strategies in Forex: Placement, Sizing & Trailing Take-Profit Strategies: When and Where to Exit a Winning Trade Risk-Reward Ratio Explained: What It Is and How to Use It Position Sizing in Forex: How to Calculate the Right Lot Size Forex Risk Management: Position Sizing & the 1-2% Rule How to Create a Forex Trading Plan (Simple Template Included) Forex Trading Styles: Scalping, Day, Swing & Position Forex Scalping for Beginners: How It Works, Costs and Rules Day Trading Forex: A Realistic Beginner’s Guide and Routine Swing Trading Forex: How to Catch Moves Over Days, Not Minutes Types of Forex Brokers: ECN vs STP vs Market Maker Explained How to Choose a Forex Rebate Provider: 9 Checks to Make First Total Trading Cost Explained: EUR/USD vs Gold After Rebates EA Settings Explained: Lot Size, Magic Number, Stop-Loss & More How to Backtest an EA in the MT4 and MT5 Strategy Tester How to Choose a Safe Forex EA: A 12-Point Checklist Pine Script Indicators vs Strategies vs Libraries Explained Pine Script Basics: Write Your First TradingView Indicator Pine Script Inputs: How to Make Script Settings Adjustable How to Read a Pine Script Before You Trust It: A Checklist How to Edit a Pine Script: Colours, Lengths and Filters Pine Script Alerts: alertcondition(), alert() and Webhooks Pine Script Sessions and Time: Shade London, New York, Asia Pine Script request.security(): Multi-Timeframe Done Safely Repainting in TradingView: How to Spot a Script That Repaints Build a Moving Average Crossover Strategy in Pine Script AI Trading Tools Explained: What Helps and What Sells AI Trading Signals: What They Are and When to Trust One How to Read a Signal Track Record: Win Rate, R and Sample Size AI Market Analysis: How Machines Read the Forex Market AI Sentiment Analysis in Trading: News Data Explained Fundamental Analysis in Forex: What Moves Currencies Safe-Haven Currencies: Risk-On and Risk-Off Explained Gold and the US Dollar: Why They Usually Move Apart Gold and Interest Rates: Why Real Yields Drive the Price Is Gold an Inflation Hedge? What 50 Years of Data Say Gold as a Safe Haven: When It Works and When It Fails Gold Trading Strategies: 5 Setups to Test on XAU/USD Gold Scalping: Costs, Timeframes and Rules for XAU/USD Gold Technical Analysis: Levels, ATR and Round Numbers How to Trade Gold During News: NFP, CPI and Fed Days Gold Correlations: Dollar, Yields, Silver, AUD and Bitcoin Gold-Silver Ratio Explained: How to Read and Trade It Gold vs Bitcoin: Which Is the Better Store of Value? How to Choose a Broker for Gold Trading: 9 Things to Check

Choose a Regulated Broker

Put what you’ve learned to work with a regulated broker. Compare costs, platforms and licences side by side.

Compare top brokers