What Is the Relative Strength Index (RSI)?

The RSI is a momentum oscillator developed by J. Welles Wilder. It compares the magnitude of recent gains to recent losses over a specified period, producing a value that oscillates between 0 and 100. Traders commonly use a 14‑period RSI, but the period can be adjusted to suit different timeframes or trading styles.

The core idea behind the RSI is that price moves are not perfectly random; when a market has moved strongly in one direction, it often experiences a pullback. The RSI quantifies that pullback potential.

Calculating the RSI

The calculation follows three main steps:

  1. Compute the average gain and average loss over the chosen period. For a 14‑period RSI:

    Average Gain = (Sum of all gains in the period) ÷ 14

    Average Loss = (Sum of all losses in the period) ÷ 14

  2. Calculate the Relative Strength (RS):

    RS = Average Gain ÷ Average Loss

  3. Convert RS to the RSI value:

    RSI = 100 – (100 ÷ (1 + RS))

After the initial 14 periods, Wilder’s smoothing method is used:

Average Gain (new) = ((Previous Average Gain × 13) + Current Gain) ÷ 14
Average Loss (new) = ((Previous Average Loss × 13) + Current Loss) ÷ 14

This smoothing gives the RSI a more stable, lag‑free feel while still reacting quickly to recent price changes.

Interpreting Overbought and Oversold Levels

The RSI is most useful when interpreted against two threshold levels:

  • Overbought: RSI above 70
  • Oversold: RSI below 30

These levels are not hard rules; they are guidelines. A value above 70 suggests that the market has risen too quickly and may be due for a correction. Conversely, a value below 30 indicates a steep decline that could reverse.

Key points for interpretation:

  • Divergence – When price makes a new high (or low) but the RSI does not, it signals a weakening trend.
  • Centerline cross – A move from below 50 to above 50 (or vice versa) can indicate a shift in momentum.
  • Swing highs/lows – The RSI can confirm whether a swing high is truly overbought or a swing low is truly oversold.

Simple RSI‑Based Entry and Exit Rules

Below are two straightforward setups that combine RSI levels with price action to create clear entry and exit signals.

1. RSI Reversal Strategy

Step Action
1 Wait for the RSI to cross above 70 (overbought) or below 30 (oversold).
2 Confirm the reversal with a price pattern (e.g., a bullish/bearish engulfing candle or a double top/bottom).
3 Enter a short position when the RSI crosses above 70 and a bullish reversal pattern forms; enter a long position when the RSI crosses below 30 and a bearish reversal pattern forms.
4 Place a stop‑loss just beyond the most recent swing high (for shorts) or swing low (for longs).
5 Target a risk‑reward ratio of 1:2 or use a trailing stop once the trade moves in favor.

2. RSI Trend‑Following Strategy

Step Action
1 Identify the prevailing trend using a moving average (e.g., 50‑period SMA).
2 Look for the RSI to dip below 30 in an uptrend or rise above 70 in a downtrend.
3 Enter a long trade when the RSI moves above 30 while price is above the moving average; enter a short trade when the RSI moves below 70 while price is below the moving average.
4 Use a stop‑loss a few pips below/above the recent swing high/low.
5 Consider taking partial profits at a 1:1.5 risk‑reward level and trail the remaining position.

Both setups rely on the RSI’s ability to signal potential turning points while anchoring decisions to price structure, reducing false signals.

Practical Tips and Common Pitfalls

  1. Avoid over‑reliance on RSI alone – Combine it with trend filters, chart patterns, or other oscillators to confirm signals.
  2. Watch for smoothing lag – The RSI’s smoothing can delay reaction to sudden market moves; use a shorter period (e.g., 9) if you need quicker signals.
  3. Adjust thresholds for volatile markets – In highly volatile pairs, consider raising the overbought level to 80 and lowering the oversold level to 20 to avoid whipsaws.
  4. Beware of whipsaws near the extremes – When the RSI stays near 70 or 30 for extended periods, price may oscillate within that band; use a trend filter to avoid entering during a strong trend.
  5. Test your strategy on historical data – Even the most logical rules can fail in certain market regimes; back‑testing helps identify weaknesses before risking capital.

By mastering the RSI’s calculation, interpretation, and practical application, traders can enhance their ability to spot overbought and oversold conditions and make more informed entry and exit decisions.