Skip to main content
PSX Algos

RSI (Relative Strength Index)

In one line

RSI is a momentum indicator on a 0–100 scale that shows whether a stock has been bought or sold too hard recently — below 30 is traditionally oversold, above 70 overbought.

The Relative Strength Index (RSI) is one of the most widely used momentum indicators. It compresses a stock's recent gains and losses into a single number between 0 and 100, telling you how strong the recent buying or selling has been. It was designed by J. Welles Wilder and is normally calculated over the last 14 trading days, written as RSI(14).

Reading the 0–100 scale

RSI rises as a stock strings together up days and falls as down days pile up. Because it is bounded between 0 and 100, it never runs off the chart the way price can — which is what makes the 30 and 70 lines such handy reference points.

A worked example

The figures below are illustrative, not live prices:

DayClose (PKR)RSI(14)Read
Mon104.062Healthy, not extreme
Tue99.044Cooling off
Wed94.029Oversold — below 30
Thu96.538Bouncing
Fri101.054Back to neutral
Illustrative RSI(14) as a stock sells off and then recovers.

On Wednesday RSI drops to 29 — below the 30 line — flagging an oversold condition. Over the next two days the stock recovers and RSI climbs back to the mid-50s. A mean-reversion trader would watch exactly this kind of dip-and-recover.

What RSI does not tell you

A common refinement is RSI divergence: price makes a new low but RSI makes a higher low, hinting that selling pressure is easing. It is a more advanced read, but it builds on the same 0–100 gauge.

Use RSI on PSX Algos

RSI is a built-in indicator in the PSX Algos strategy builder. The Mean reversion starter template already uses *RSI(14) below 30* as its entry. You can change the threshold, add a volume confirmation, then backtest the rule across a decade of PSX history — all without code.

Build an RSI strategy →

Frequently asked

What is RSI in simple terms?

RSI is a momentum gauge from 0 to 100. It shows whether a stock has been bought or sold too aggressively lately — below 30 is oversold, above 70 is overbought.

What RSI level is oversold?

An RSI reading below 30 is traditionally considered oversold. Some traders use a stricter level like 25 for volatile or thinly traded stocks.

Is a low RSI always a buy signal?

No. In a strong downtrend RSI can stay below 30 for a long time while the stock keeps falling. RSI works best with trend context, confirmation, and a stop-loss.

What period is RSI usually calculated over?

The standard is 14 trading days, written RSI(14). Shorter periods make it more sensitive and noisier; longer periods make it smoother and slower.

Related terms
Mean Reversion strategyMACDBollinger BandsSMA vs EMA
By PSX Algos · Updated 14 June 2026