Skip to main content
ForexNews24
Momentum

RSI indicator: settings and signals

Relative Strength Index

RSI measures the ratio between the strength of gains and the strength of losses over the last N bars and normalizes it onto a 0–100 scale.

What the indicator looks like on a real chart

Price1.13191.15121.17041.18971.2090RSI(14)010070 — overbought5030 — oversold
Closing priceRSI(14)
RSI lives in its own pane on a 0–100 scale and has no relation to the price scale. Note the stretches of sustained trend: the indicator pins above 70 for a long time without causing a reversal — the main reason mechanical trading from overbought zones loses money.

Data: EUR/USD, daily bars, 2025-06-16 — 2026-07-20. The indicator is computed over 400 bars; the chart shows the last 180. Quote source: Binance Spot REST API (api.binance.com/api/v3/klines).

Try it yourself: how the period changes the signals

RSI on real data · EUR/USDloading data…
Overbought: Oversold:
7030

Drag the slider: a short period gives many "signals" and many false ones; a long one — few and late. No period is "correct" — they are easy to fit to the past. Data — EUR/USD (daily bars), 1D.

Effectiveness by market regime
RegimeScore
Trending market41
Range68
High volatility39
Low volatility57

What the indicator actually measures

Wilder built RSI as an answer to a problem with plain momentum: the price difference over N bars scales with the price level itself and makes it impossible to compare different instruments. RSI solves this by dividing average gains by average losses, so the resulting value is dimensionless and reads the same on any asset and any timeframe.

A detail that often gets missed: the calculation uses not a simple average but Wilder smoothing — each new value shifts the accumulated average by only 1/N. Because of this RSI has a long memory: a single anomalous bar keeps influencing the indicator dozens of bars later, and after a strong impulse the value returns to 50 slowly and reluctantly.

Hence the key property: in a sustained trend RSI does not oscillate around the midpoint but pins itself to the top or bottom of the scale and stays there for weeks. This is not a malfunction but a direct consequence of the formula — if there are almost no losses, the denominator is small and the value has to be high.

Formula

RSI = 100 − 100 / (1 + RS), where RS = average gain / average loss over N periods

RS is the ratio of average gain to average loss. When the two are equal, RS equals one and RSI returns exactly 50. When there are no losses at all, the denominator goes to zero and the indicator is 100 by definition — which is exactly what happens on pullback-free impulses.

Standard settings

14
Period (standard)
70 / 30
Overbought / oversold
7
Period for scalping
Standard parameters
ParameterValue
Period (standard)14
Overbought / oversold70 / 30
Period for scalping7

Period 14 is Wilder's original value, chosen for daily bars as half of a monthly cycle. Shortening it to 7 doubles the sensitivity and the number of signals; lengthening to 21–25 gives rarer but steadier entries. The 70/30 levels are not a law but a convention: in a strong trend they are shifted to 80/40 or 60/20 so the indicator does not signal against the direction of the move.

Implementation code (Python)

rsi.py
def compute_rsi(close, period=14):
delta = close.diff()
gain = delta.clip(lower=0).rolling(period).mean()
loss = (-delta.clip(upper=0)).rolling(period).mean()
rs = gain / loss
return 100 - (100 / (1 + rs))

When the indicator stops working

Limitations
  • In a trending market the overbought zone stops being a reversal signal: the indicator can hold above 70 for the entire trend.
  • On low timeframes noise causes constant entries into and exits from the zones, and Wilder smoothing cannot filter them out in time.
  • After a gap or a news spike the value is distorted throughout the whole smoothing period.

Common mistakes in use

  • Selling only because RSI is above 70. In a trend this is the most expensive mistake: being overbought in a rising market is the norm, not an anomaly.
  • Treating divergence as a standalone signal. A discrepancy between price and RSI indicates only a weakening of momentum, but momentum can weaken indefinitely without a reversal.
  • Tuning the period against history until the signals look pretty. That is curve fitting: an indicator with period 14 and one with period 11 differ in noise, not in quality.
  • Comparing absolute RSI values across timeframes, forgetting that daily RSI(14) and hourly RSI(14) describe completely different horizons.

Who needs this and why

RSI is useful for those who have already established the market direction by another method and are looking for a moment to enter within that direction. As a standalone signal generator it is weak, but as a "do not buy at the top of an impulse" filter it works well.

Frequently asked questions

Why does RSI show overbought while price keeps rising?

Because RSI measures the ratio of gains to losses, not the proximity to a top. If the market rises without pullbacks, the average loss is close to zero, and a high value is a mathematical consequence of the rise rather than a prediction of a reversal. In a strong trend the indicator holds above 70 for weeks.

Which period is better — 14, 9 or 21?

It depends on what you are filtering. 14 is the default compromise. A period of 7–9 is needed when it matters to catch fast intraday pullbacks, and it produces noticeably more false signals. A period of 21–25 cuts noise but the signal arrives later. There is no universally best value, and tuning it on past data is a straight path to overfitting.

Does RSI work on crypto the same way as on forex?

The calculation is identical, but the crypto market is more volatile and runs without weekends, so the indicator reaches extreme zones more often and stays there longer. The 70/30 thresholds familiar from currency pairs usually have to be widened on crypto.

Other «Momentum» indicators

From research to application

In our Allocation product we implemented these algorithms with all the nuances covered across the portal.

Learn about Allocation