Opens in a new tab
Skip to content
Find my broker

How To Use The RSI Successfully

Learn Wilder RSI(14): the recursive formula, RSI(7/14/21) extreme-zone rates, Constance Brown 40–90 and 10–60 trend ranges, failure swings, and stops.

If you’re new to trading with the Relative Strength Index (RSI), this guide shows you how to read it, choose a setting, and decide when to wait. RSI compares recent gains and losses in closing prices on a scale from 0 to 100. Check the price trend before acting on a reading above 70 or below 30, because RSI can stay high or low while the trend continues.

J. Welles Wilder Jr. created RSI and published it in his 1978 book, New Concepts in Technical Trading Systems (as documented by StockCharts ChartSchool and TradingView).

The textbook shortcut—“sell above 70, buy below 30”—breaks down quickly when a currency pair, index, or commodity enters a sustained directional trend. Using a 5,000-bar EUR/USD hourly MetaTrader 5 sample, this guide explains Wilder’s recursive formula, shows how uptrends and downtrends shift RSI’s average level by more than 10 points, and outlines practical rules for divergences, failure swings, and stop placement.

How to read RSI before making a trade

Start with Wilder’s standard setting of 14 bars, written RSI(14), where one bar is one candle on the chart. A reading above 70 is called overbought, and one below 30 is called oversold. Check the price trend and wait for the candle to close before acting on either reading.

More info: How the RSI formula works

Wilder’s RSI turns the ratio of smoothed average upward closes to average downward closes into a bounded 0-to-100 oscillator. Understanding Wilder’s recursive smoothing explains why RSI reacts smoothly once warmed up instead of jumping wildly on single bars.

For Wilder’s standard lookback length n = 14, the exact calculation runs in three steps:

  1. Separate bar-to-bar closing changes: On each closed bar, compute Gain = max(Close[t] - Close[t-1], 0) and Loss = max(Close[t-1] - Close[t], 0).
  2. Apply Wilder’s recursive moving average (RMA): Seed bar n with the simple average of the first n gains and losses, then update recursively on each new bar: AvgGain[t] = (AvgGain[t-1] × (n - 1) + Gain[t]) / n and AvgLoss[t] = (AvgLoss[t-1] × (n - 1) + Loss[t]) / n.
  3. Map onto 0 to 100: Compute Relative Strength RS = AvgGain / AvgLoss and map RSI = 100 - (100 / (1 + RS)). When AvgLoss = 0 and AvgGain > 0, RSI equals 100 (and when AvgGain = 0 and AvgLoss > 0, RSI equals 0); when AvgGain = AvgLoss > 0, RSI equals 50.

RSI uses only changes in closing prices, not candle wicks or volume. The best trading oscillators comparison shows how it differs from tools such as Stochastic and Williams %R, which also use candle highs and lows. The chart below shows 20 real EUR/USD hourly candles from 19 August 2026 (UTC), in which the price rises from 1.15736 to 1.16767. Wilder’s 14-bar RSI starts at 45.25, peaks at 89.97 and ends at 83.79. It reads above 70 on each of the last 14 of these hourly bars while the price keeps rising.

Two-pane EUR/USD hourly chart from 19 August 2026 (UTC): the top pane shows 20 real candlesticks rising from 1.15736 to 1.16767, and the lower Wilder RSI(14) pane rises from 45.25 above 70, peaking at 89.97, finishing at 83.79, and staying above 70 for 14 bars

More info: EUR/USD hourly sample and Wilder RSI(14) calculation

Candles and sample tables use a 5,000-bar EUR/USD hourly MetaTrader 5 trade-server sample from 4 December 2025 (15:00) to 24 September 2026 (22:00), recorded in trade-server time three hours ahead of UTC at capture; historical daylight-saving changes are not modelled. Wilder RSI(14) in the chart is computed from bar 1 of the full 5,000-bar history before displaying the 20-bar UTC window on 19 August 2026 (00:00 to 19:00 UTC).

How RSI(7), RSI(14), and RSI(21) change signal frequency

Changing the RSI setting changes how often it reads above 70 or below 30, even on the same price chart. The chart below shows, for the same 4,979 hourly EUR/USD bars, the share of bars that closed with RSI outside each pair of limits. With the 30 and 70 limits, the shorter 7-bar setting spent the most time outside them and the longer 21-bar setting the least; moving the 14-bar limits out to 20 and 80 made such readings rarer still. More readings outside the limits mean more possible signals, but also more false alarms.

Horizontal bar chart comparing RSI extreme-zone bar share across 4,979 EUR/USD hourly bars: RSI(7) at 30/70 spent 23.32% of bars in extremes, RSI(14) at 30/70 spent 9.68%, RSI(21) at 30/70 spent 5.34%, and RSI(14) at 20/80 spent 1.69%

More info: extreme-zone bar counts across 4,979 common bars

Across 4,979 common bars after indicator warmup in the EUR/USD hourly sample: RSI(7) beyond 30/70 = 1,161 of 4,979 bars (23.32%); RSI(14) beyond 30/70 = 482 of 4,979 (9.68%); RSI(21) beyond 30/70 = 266 of 4,979 (5.34%); RSI(14) beyond 20/80 = 84 of 4,979 (1.69%).

The table below lists mean RSI values alongside exact oversold, overbought, and combined extreme counts for each setting:

Extreme-zone bar frequency across 4,979 EUR/USD hourly bars by RSI setting
RSI Setting Mean RSI Oversold Bars (%) Overbought Bars (%) Combined (%)
RSI(7) 30/70 48.88 635 (12.75%) 526 (10.56%) 23.32% (1,161)
RSI(14) 30/70 49.06 233 (4.68%) 249 (5.00%) 9.68% (482)
RSI(14) 20/80 49.06 31 (0.62%) 53 (1.06%) 1.69% (84)
RSI(21) 30/70 49.18 132 (2.65%) 134 (2.69%) 5.34% (266)

Cutting the period from 14 down to 7 multiplies extreme readings by 2.41x—jumping from 9.68% of bars to 23.32% (nearly one in every four bars reading above 70 or below 30). Widening RSI(14) thresholds to 20/80 narrows signals to just 1.69% of bars (84 readings across nearly ten months of hourly trading). For ultra-short mean-reversion pullbacks, compare Wilder’s RSI with ConnorsRSI, developed by Larry Connors and the team at Connors Research (as documented by StockCharts ChartSchool), in the Connors RSI guide.

How uptrends and downtrends shift RSI ranges

As StockCharts ChartSchool cites from Constance Brown’s Technical Analysis for the Trading Professional, RSI tends to move inside a 40–90 bull market range during uptrends and a 10–60 bear market range during downtrends (with the 50–60 zone often acting as resistance). Splitting the 4,801 bars after the 200-bar Simple Moving Average (SMA, the average of the last 200 closes) warms up in this EUR/USD hourly sample shows that shift clearly. The table below compares RSI(14) distributions when price closed above versus below its 200-bar SMA:

RSI(14) distribution split by price above or below the 200-bar SMA (4,801 EUR/USD hourly bars)
Trend Filter Bars Mean RSI <30 >70 40–90 10–60
Above SMA(200) 2,177 54.78 0.23% 9.46% 92.74% 69.09%
Below SMA(200) 2,624 43.89 8.61% 0.76% 62.88% 92.57%

The shift is pronounced: average RSI moved by 10.89 full points between uptrends (54.78) and downtrends (43.89). Whenever price closed above its 200-bar SMA, 92.74% of bars stayed inside Constance Brown’s 40–90 bull corridor and RSI dropped below 30 on only 0.23% of bars. Below the 200-bar SMA, 92.57% of bars stayed inside the 10–60 bear corridor and RSI exceeded 70 on just 0.76% of bars.

Why naked overbought shorts and oversold buys can fail without context

The table shows how far EUR/USD moved on average in this sample, in pips, from the close of the hourly bar where RSI(14) crossed a level to the close 6 or 12 hourly bars later. One pip is 0.0001 on EUR/USD. A short trade gains when the price falls and a long trade gains when it rises, so positive values mean the price moved in the direction of the example trade and negative values mean it moved against it. “% Fav” is the share of examples in which the price moved in the trade’s direction, and “Signals” is the number of examples. “With” and “Against” show whether the example trade follows or goes against the trend: price above the 200-bar SMA counts as an uptrend, and price below it as a downtrend. The figures exclude the broker’s bid-ask spread and slippage. They show how small the moves were when a trade sold as soon as RSI crossed above 70 or bought as soon as it crossed below 30, without waiting for price confirmation.

Forward close-to-close EUR/USD moves after fresh RSI(14) crosses (before spreads; not a strategy test)
Fresh Signal Trend Filter Signals 6-Bar Pips (% Fav) 12-Bar Pips (% Fav)
Short: Cross > 70 Against (>SMA200) 39 -6.23 (46.15%) +0.37 (58.97%)
Short: Cross > 70 With (<SMA200) 10 +0.54 (50.00%) +7.31 (60.00%)
Long: Cross < 30 Against (<SMA200) 64 +0.74 (56.25%) +0.61 (56.25%)
Long: Cross < 30 With (>SMA200) 3 +14.03 (100.00%) +23.10 (100.00%)
Long: Cross < 40* With (>SMA200) 60 Not tracked -1.52 (48.33%)
Short: Cross > 60* With (<SMA200) 55 Not tracked -5.05 (47.27%)

*Mid-range threshold crosses (40 and 60) were measured at 12 bars only, without a candle confirmation trigger.

After fresh RSI(14) crosses above 70 while price sat above the 200-bar SMA (n = 39), close-to-close price moved an average of 6.23 pips against a short fade (-6.23 pips) over the next 6 bars (46.15% favorable direction) and averaged only +0.37 pips in the fade direction at 12 bars—smaller than the sample’s 1.3-pip median spread. After fresh crosses below 30 below the 200-bar SMA (n = 64), 12-bar forward upside averaged only +0.61 pips before spread. Meanwhile, with-trend extreme counts (n = 3 and n = 10) are too small for statistical inference, and raw crosses of 40 or 60 averaged -1.52 and -5.05 pips at 12 bars. Many traders wait for a confirmation trigger (such as RSI reclaiming 40 upward alongside a closed higher-low candle) rather than reacting to the first touch.

Wilder failure swings, divergences, and practical confirmation rules

StockCharts ChartSchool notes that Wilder also used RSI via divergences (when price and RSI move in opposite directions), failure swings, and 50-line crossovers. Pairing failure swings and divergences with higher-timeframe trend direction turns RSI from a premature fade signal into a cleaner confirmation filter.

  • Bullish Failure Swing (Bottom Confirmation): (1) RSI drops below 30; (2) RSI rebounds above 30 to form an interim peak (“fail point”); (3) RSI pulls back without breaking back below 30; (4) RSI breaks above the interim fail point. A break at step 4 can signal that internal momentum has turned upward, helping avoid buying too early into a falling market.
  • Bearish Failure Swing (Top Confirmation): (1) RSI rises above 70; (2) RSI drops below 70 to form a low; (3) RSI rebounds but stays below 70; (4) RSI falls below the low from step 2.
  • Regular vs Hidden Divergence: Regular bullish divergence (price makes a lower low while RSI prints a higher low) warns of selling exhaustion at major support; hidden bullish divergence (price prints a higher low inside an uptrend while RSI dips to a lower low) can align pullback entries with the dominant trend.
  • Clean Indicator Pairing: Avoid stacking RSI with Stochastic, Williams %R, or CCI—in the 4,975-bar EUR/USD sample, RSI(14) correlated near 0.80 with both Slow Stochastic (0.7980) and Williams %R (0.8002), and 0.8506 with CCI(20), so their readings overlapped heavily. Pair RSI instead with clean market structure, a higher-timeframe moving average, or multi-cycle momentum like the KST strategy guide.

Step-by-step RSI execution and risk management checklist

Even a sharp divergence or confirmed failure swing fails during central-bank rate announcements, inflation surprises, or thin rollover liquidity sweeps. Placing RSI inside a five-step plan supports disciplined risk control during trending squeezes.

  1. Identify the Trend Direction First: Check price relative to the 200-period moving average and recent RSI swings—if RSI repeatedly holds above 40 inside Constance Brown’s 40–90 bull range, many traders treat the market as an uptrend and skip counter-trend shorts.
  2. Wait for Structure + Confirmation Close: Require RSI to reclaim 40 (or complete a failure swing) on a closed candle at clear horizontal support, a swing level, or a moving-average zone—avoid entering mid-candle while RSI is still moving.
  3. Anchor Stop-Loss to Price Structure, Not RSI: Place hard stops beyond the recent swing low or high plus an Average True Range (ATR, average bar-to-bar range) buffer, because RSI can stay depressed while price keeps falling.
  4. Size Every Position to Fixed Fractional Risk: Following IG Academy’s risk-control guideline of keeping risk below 1% of account equity per trade idea, size every trade with the position size calculator, check reward-to-risk ratios in the risk-reward calculator, and verify per-pip exposure in the pips calculator.
  5. Keep Execution Costs Tight: Compare low-spread regulated venues in the best forex brokers guide and review full drawdown limits in the risk management handbook.

Sources: J. Welles Wilder Jr. (New Concepts in Technical Trading Systems, 1978, via StockCharts ChartSchool and TradingView); StockCharts ChartSchool (Relative Strength Index and ConnorsRSI); MetaTrader 5 trade-server sample (EUR/USD hourly, 4 December 2025 to 24 September 2026); Constance Brown (Technical Analysis for the Trading Professional, via StockCharts ChartSchool); IG Academy (Controlling risk).

Frequently asked questions about the RSI indicator

What are the best RSI settings for day trading vs swing trading?

Wilder’s default 14-period setting remains a balanced baseline across intraday and daily charts; across 4,979 EUR/USD hourly bars, RSI(14) spent 9.68% of bars beyond 30/70, RSI(7) jumped to 23.32% (more than double), and RSI(21) narrowed extremes to 5.34% for slower swing views.

Why can RSI stay overbought above 70 for days during strong uptrends?

Because RSI measures the ratio of smoothed average gains to losses over recent closes, a steady uptrend with small pullbacks keeps average gains far above average losses for long stretches. Across 4,801 EUR/USD hourly bars, 92.74% of above-SMA(200) bars stayed inside Constance Brown’s 40–90 bull corridor, and after 39 fresh crosses above 70 while price was above the 200-bar SMA, the next 6 bars moved an average of 6.23 pips against a short fade (-6.23 pips).

What is an RSI failure swing and what can it signal?

An RSI failure swing occurs when RSI exits an overbought or oversold extreme, makes a secondary pullback that fails to re-enter the extreme zone, and then breaks past its prior swing point. A completed failure swing can signal that internal momentum has reversed, helping traders avoid acting too early while a trend is still accelerating.

Should I use RSI together with Stochastic or CCI on the same chart?

Usually not. Combining RSI with Stochastic Oscillator, Williams %R, or CCI adds little independent information because all four measure recent price momentum; in a 4,975-bar EUR/USD hourly sample, their values correlated with RSI(14) at roughly 0.80 to 0.85, which can create false confirmation. Pair a single RSI panel with clean price structure, a higher-timeframe moving average like the 200-period SMA, or a multi-cycle momentum tool instead.

Does RSI divergence guarantee a market reversal?

No. Regular divergence only signals that the pace of price momentum is slowing—not that a trend has ended. Strong macro trends can print several consecutive bearish or bullish divergences before reversing. Require a concrete price trigger, such as a trendline break, swing-structure shift, or RSI failure swing, paired with a hard stop-loss.

Keep reading

Forex Broker Regulators Ranked: Tier 1 to Offshore

Paper Trading: How to Practise With Virtual Money

Trading Glossary: Forex and CFD Terms Explained