EGY-AI Logo
EGY-AI
Live GA trading engine
๐Ÿ“ˆIntermediate5 min read

RSI โ€” Relative Strength Index

Understanding momentum, overbought, and oversold conditions

What is RSI?

The Relative Strength Index (RSI) is a momentum indicator that measures how fast and how much a price has been moving recently. It outputs a number between 0 and 100.

It was created by J. Welles Wilder in 1978 and is still one of the most widely used indicators in trading today โ€” both by human traders and algorithmic systems like EGY-AI.

The RSI scale

RSI is always between 0 and 100. The key levels to know:

0305070100
OversoldNeutralOverbought
70+
Overbought

The asset has been rising strongly. Some traders see this as a signal to sell or expect a pullback โ€” though the price can keep rising even above 70.

30โ€“70
Neutral

Normal trading range. No strong overbought or oversold signal. Most of the time BTC RSI sits here.

30โˆ’
Oversold

The asset has been falling strongly. Potential buy signal โ€” though a falling asset can keep falling past 30 too.

How RSI is calculated

RSI is based on the average gains vs average losses over a lookback period (usually 14 candles):

Step 1: calculate average gain and average loss over 14 periods
RS = Average Gain รท Average Loss
Step 2: convert to 0โ€“100 scale
RSI = 100 โˆ’ (100 รท (1 + RS))

When gains dominate โ†’ RS is large โ†’ RSI approaches 100.
When losses dominate โ†’ RS approaches 0 โ†’ RSI approaches 0.

How EGY-AI uses RSI

EGY-AI's genetic algorithm evolves two RSI parameters per strategy:

rsiPeriodHow many candles to look back. Smaller = more sensitive to recent moves. Larger = smoother, less noise.
rsiHighThe threshold above which the GA won't open a long position. Prevents buying into already-overbought conditions.

The GA evolves these values rather than fixing them at the textbook 70/30. Some market conditions reward a tighter threshold (60/40), others a looser one (80/20). The algorithm finds what works best on recent real data.

The RSI chart on the Trading page uses a live TradingView widget connected directly to Binance โ€” the same real data the GA bot is reading when it makes decisions.

RSI limitations

RSI is useful but not perfect. In strong trending markets, it can stay overbought (above 70) or oversold (below 30) for a long time without the price reversing. This is called a "sustained trend" and it catches many traders who blindly sell every time RSI hits 70.

This is one reason EGY-AI combines RSI with moving averages rather than using RSI alone โ€” multiple signals together are more reliable than any single indicator.

Key vocabulary

RSI
Relative Strength Index. A 0โ€“100 momentum indicator.
Momentum
The speed and magnitude of recent price movement.
Overbought
RSI above 70 โ€” asset has risen strongly, potential reversal zone.
Oversold
RSI below 30 โ€” asset has fallen strongly, potential bounce zone.
Period (14)
The number of candles RSI looks back over. 14 is the standard.
Divergence
When price makes a new high but RSI doesn't โ€” a potential reversal signal.