๐RSI (Relative Strength Index) Guide: The Momentum Kingโs Application
This article was produced by the Quantitative Trading Lab at https://www.itrade.icu. Visit for more benefits.
I. Basic Concept
RSI (Relative Strength Index) is a commonly used momentum indicator, introduced by technical analyst J. Welles Wilder in 1978.
Its core purpose is to measure the strength of price gains versus losses over a certain period, helping identify whether the market is overbought or oversold.
Key Concept: Momentum
Momentum in RSI refers to the strength of price movements over a given period โ how fast and how strongly prices rise or fall.
Think of it like a car accelerating or decelerating: strong momentum means strong directional movement.
II. Calculation Details
RSI calculation can be broken down into the following steps:
โ
Step 1: Calculate the price change per candle
Compute the difference between the current close and the previous close:
change_t = close_t - close_(t-1)Separate into gain and loss:
If price rises,
gain > 0,loss = 0If price falls,
gain = 0,loss > 0If unchanged,
gain = loss = 0
โ
Step 2: Compute average gain and average loss
Use a moving average over N periods (default 14) to smooth the values.
Initial values (first 14 candles) use simple average (SMA):
From the 15th candle onward, apply Wilderโs smoothing (exponential smoothing):
This smoothing method responds closer to market dynamics and is more stable.
โ
Step 3: Compute Relative Strength (RS)
It measures the ratio of upward vs. downward momentum.
โ
Step 4: Compute RSI
Convert RS to RSI (range 0โ100):
Interpretation:
Strong upward momentum (RS โ โ) โ RSI โ 100
Strong downward momentum (RS โ 0) โ RSI โ 0
Balanced momentum (RS = 1) โ RSI = 50 (neutral)
๐ RSI Calculation Example (Period 14)
Below is a complete example of calculating RSI with a 14-period setting:
โ
Input: Closing Prices (20 candles)
โ
Calculation Steps (N=14)
โ
Preview Results (Last 5 Rows)
Sample Output:
15
46.00
-0.28
0.00
0.28
0.5664
0.2750
67.47
16
46.03
0.03
0.03
0.00
0.5380
0.2550
67.83
17
46.41
0.38
0.38
0.00
0.5474
0.2364
69.41
18
46.22
-0.19
0.00
0.19
0.5073
0.2353
68.32
19
45.64
-0.58
0.00
0.58
0.4705
0.2632
64.13
Note: RSI14 is computed starting from the 15th candle.
III. Trading Signals
> 70
Overbought
Possible short-term pullback or reversal
< 30
Oversold
Possible rebound or bottoming
Around 50
Neutral
Market has no clear trend
Further confirmation can use price action, support/resistance, or candlestick patterns.
IV. Advantages & Disadvantages of RSI
โ
Advantages
1. Highly sensitive, suitable for range-bound markets
Highly sensitive, suitable for range-bound marketsRSI responds quickly to price changes. In sideways markets, overbought (>70) and oversold (<30) signals are particularly effective.
โ Practical example:
In range-bound markets, RSI approaching 30 and rebounding can be a good buy signal.
RSI reaching 70 and then falling can be a short-term sell signal.
This works well for stable cryptocurrencies like BTC and ETH in sideways trading ranges.
2. Divergence signals can warn of turning points
Divergence signals can warn of turning pointsRSI can show bullish/bearish divergences to anticipate reversals:
Bearish divergence: Price makes a new high, RSI does not โ upward momentum weakening, potential reversal.
Bullish divergence: Price makes a new low, RSI does not โ potential bottoming signal.
This is one of RSIโs most valuable applications.
โ Disadvantages
1. Prone to false signals when used alone
Prone to false signals when used aloneIn noisy or unclear markets, RSIโs overbought/oversold signals often mislead.
Example:
RSI < 30 indicates oversold, but price continues falling.
Such false signals are especially common in strong downtrends.
2. Fails in Strong Trending Markets
RSI is an oscillator, and in strong trends it often gives counter-trend signals while the price continues along the trend.
๐ Example:
In a strong bullish trend, RSI can stay between 70โ90 for an extended period.
If one shorts when RSI > 70, this is usually fighting the trend, which can lead to significant losses.
Therefore, in trending markets, RSI must be combined with trend confirmation, moving averages, or channel systems to filter signals.
3. Cannot Determine Trend Direction
RSI is essentially a momentum indicator, measuring the strength of price moves, but it cannot indicate whether the trend is reversing or continuing.
For example:
RSI rising could be a short-term rebound.
RSI falling could just be a pullback, not necessarily a trend reversal.
Thus, RSI should be used together with MACD, EMA, trendlines, or other trend-following tools to determine trend direction.
โ
Recommended Usage Summary
Range-bound
Use RSI overbought/oversold levels as primary signals
Uptrend
Use RSI divergence as a supplementary exit signal
Downtrend
Use RSI divergence as a low-buy warning, but cautiously
Stock/coin selection
RSI < 30 and rebound as a selection factor (with trend filter)
V. RSI Divergence: Principles, Algorithm, and Practical Application
Divergence occurs when price movement and RSI move in opposite or inconsistent directions. This usually indicates weakening momentum and may signal a trend reversal.
I. Two Types of RSI Divergence
Bearish Divergence (Top)
Price makes new high, RSI does not
Upward momentum weakening โ potential downward reversal
Strong bearish signal
Bullish Divergence (Bottom)
Price makes new low, RSI does not
Downward momentum weakening โ potential upward reversal
Strong bullish signal
Textual Illustrations
Bearish Divergence Example:
Bullish Divergence Example:
II. Detailed Explanation (with Example)
Divergence occurs when price and RSI move in opposite directions, indicating weakening trend momentum and a potential reversal signal.
Bearish Divergence
Price makes new high, RSI does not
Bullish momentum weakening โ possible fall
Bullish Divergence
Price makes new low, RSI does not
Bearish momentum weakening โ possible rebound
III. Simulated Data Example
โถ Bearish Divergence
T1
98
70
T2
100
73
T3
102
68 โ RSI peak
T4
105
65 โ RSI starts falling (bearish divergence)
Explanation:
Price keeps making new highs (100 โ 105)
RSI peaks at T2 (73) and fails to reach a new high afterward (68 โ 65)
Price new high, RSI lower โ Bearish divergence
๐ Signal Meaning: Bullish momentum is weakening; trend may pull back, often appearing at the end of an uptrend.
โถ Bullish Divergence
T1
50
30
T2
48
28
T3
45
32 โ RSI bottom
T4
43
35 โ RSI rises while price makes new low (bullish divergence)
Explanation:
Price makes new lows (50 โ 43)
RSI does not reach a new low at the bottom (T4), instead rises 28 โ 32 โ 35
Price new low, RSI rising โ Bullish divergence
๐ Signal Meaning: Bearish momentum weakening; trend may rebound, often at the end of a downtrend.
IV. Core Logic of RSI Divergence
Divergence โ Reversal. It is a warning signal.
Divergence shows momentum lagging behind price, i.e., RSI does not support continuation of the trend.
Essentially, it reflects the conflict between price inertia and weakening momentum.
Best used in combination with volume changes, candlestick patterns, and support/resistance levels to confirm reversals.
โ
Usage Recommendations
โ Volume (high volume)
Divergence + volume โ more reliable reversal
โ Support/Resistance
Divergence at key levels โ stronger signal
โ Candlestick patterns
Confirm with hammer, engulfing, star patterns
โ Moving averages
Confirm trend structure around divergence
โ Risk Warning
RSI divergence is not an immediate reversal signal, only indicates momentum weakening.
It may lag or fail (especially in strong trends with sustained divergence).
Always combine with trend structure to determine the main direction; do not use divergence alone to top/bottom trade.
If you want, I can continue translating the RSI advanced usage with Freqtrade strategy integration next, keeping it in the same style as your KDJ guide.
Do you want me to do that?
Hereโs the English translation of your advanced RSI techniques and strategy section, keeping the structure and practical examples intact:
VI. Advanced RSI Techniques
๐ฏ 1. Dynamic Threshold Adjustment: Volatility-Adaptive RSI
Traditional RSI thresholds are usually set as:
Overbought: RSI > 70 (potential pullback)
Oversold: RSI < 30 (potential rebound)
However, different coins or stocks have very different volatility, and fixed thresholds may cause many false signals or missed opportunities.
โ
Optimization Method:
Adjust thresholds dynamically based on the asset's volatility:
High-volatility coin
80 / 20 (stricter)
Trending asset
70 / 30 (default)
Low-volatility stablecoin
60 / 40 (more sensitive)
๐ Example:
A volatile altcoin may frequently move ยฑ10% in a single day. Using RSI < 30 could trigger premature "oversold" alerts. Adjusting the threshold to RSI < 20 ensures only extreme panic conditions trigger oversold signals, providing more robust entries.
โ ๏ธ Notes:
Dynamic thresholds can be determined using Bollinger Band width, historical ATR, StdDev, etc.
Avoid using the same thresholds across all assets indiscriminately.
๐ฏ 2. RSI + EMA Filter: Eliminating Counter-Trend Signals
RSI can capture overbought/oversold levels but often produces false signals in range-bound or early reversal phases.
โ
Improvement Method:
Introduce an EMA (e.g., EMA20 or EMA50) as a trend filter. Activate RSI signals only when trend direction aligns.
๐ Strategy Rule Example:
Only consider long entries when RSI < 30 AND price > EMA20 (uptrend).
Only trigger exit or short signals when RSI > 70 AND price < EMA20 (downtrend).
๐ Practical Benefits:
Avoid exiting early in an uptrend due to "RSI overbought"
Filter out counter-trend RSI signals, improving win rate
๐ฏ 3. Multi-Timeframe RSI Confluence: Confirming Trend Strength
Different RSI timeframes reflect different momentum levels:
1h RSI โ short-term sentiment
4h RSI โ medium-term trend
Daily RSI โ macro trend
โ
Application Method:
Check whether RSI across multiple timeframes converge in the same direction to assess signal reliability.
๐ Example:
1h
28
Oversold
4h
32
Approaching oversold
Daily
45
Neutral
โ Multi-timeframe RSI all low โ asset broadly in a low region โ consider scaling in gradually.
โ ๏ธ Notes:
Confluence โ perfect sync; allow for lag and structural offsets
Avoid too many timeframes to prevent โanalysis paralysisโ
๐ง Summary
Dynamic Threshold
Adapt to different volatility assets
Flexibility
RSI + EMA
Avoid counter-trend signals
Trend filtering
Multi-Timeframe Confluence
Improve directional confirmation
Multi-level confirmation
VII. RSI Practical Strategy
The RsiEmaStrategy combines oversold rebound signals (RSI < 30) with trend confirmation (price above EMA50), representing a cautious and conservative trend-reversal approach.
๐ Backtest Report: RsiEmaStrategy
RsiEmaStrategy2024-06-01 โ 2024-08-01
๐ Strategy Name
RsiEmaStrategy
๐ Total Trades
5
๐งฎ Average Trade Return
+0.51%
๐ฐ Total P&L (USDT)
+8.205 USDT
๐ Total ROI
+0.82%
โฑ Avg Holding Time
22h 36m
โ Win Rate
80.0% (4W / 1L)
๐ Max Drawdown
0 USDT / 0.00%
๐งช Tip: Combine with Bollinger Bands, MACD, or other indicators to further refine entries and exits.
IX. Summary
RSI is a classic and widely-used momentum indicator. It performs well in range-bound markets, effectively identifying overbought/oversold zones and potential reversal points.
However, in strong trending markets, RSI signals can become distorted, and using it alone may lead to premature entries or exits.
Recommendation: Combine RSI with trend-following tools (EMA, MACD, Bollinger Bands) or price action logic to enhance signal stability and reliability.
If you want, I can also translate the entire guide into a polished โtrader-friendly English articleโ, keeping all diagrams, examples, and tips intact, ready for publication.
Do you want me to do that?
Last updated