تجاوز إلى المحتوى
PipMentorSchool of forex
0/25 lessons0d streak0 XPResume →

دليل · 11 دقيقة قراءة · 2,331 words

Decoding RSI: How It's Calculated, and Why 70 Isn't a Universal Sell Signal

Many traders misinterpret the Relative Strength Index; understanding its step-by-step calculation reveals why simple overbought/oversold levels are insufficient for trading decisions.

Neatly organized wooden bookshelves filled with diverse books under warm lighting by Tima Miroshnichenko · pexels (PEXELS LICENSE)

أهم النقاط

  • RSI measures the speed and change of price movements, not price levels themselves.
  • The standard 14-period RSI relies on a specific smoothing method by J. Welles Wilder Jr., different from a simple moving average.
  • A high RSI value (e.g., above 70) indicates strong momentum, which can persist in strong trends, not an automatic sell signal.
  • RSI divergences, where price and indicator move in opposite directions, often provide more reliable signals than static levels.
  • Combining RSI with other technical analysis tools, like price action or support/resistance, yields better results.
  • The 'overbought' and 'oversold' labels are relative; a market can remain 'overbought' for extended periods during a strong rally.

The Misleading Simplicity of 'Overbought'

Imagine a stock soaring day after day, each closing price higher than the last. A common refrain in trading circles is that if the Relative Strength Index (RSI) climbs above 70, the asset is 'overbought,' and it's time to sell. If it dips below 30, it's 'oversold,' signaling a buying opportunity. This sounds beautifully simple, doesn't it? If only trading were always that straightforward. In reality, relying solely on these fixed thresholds for entry or exit can lead to costly mistakes. Markets, especially those in strong trends, can sustain 'overbought' or 'oversold' conditions for extended periods. Think of a powerful current in a river; it doesn't suddenly reverse just because it's been flowing fast for a while. It will continue its course until significant forces change its direction. The RSI is a momentum indicator, reflecting the speed and magnitude of recent price changes. It tells you how fast prices are moving and how consistently they are moving in one direction, not that they are about to turn around simply because they've moved a lot. A stock with strong upward momentum might have an RSI above 70 for weeks, continuing to climb significantly before any reversal appears. Selling purely because RSI crossed 70 in such a scenario would mean missing out on substantial gains. This fundamental misunderstanding of what RSI actually measures is where many new traders go wrong, treating it as a magic button rather than a piece of a larger puzzle.

Peeling Back the Layers: What RSI Actually Measures

To truly grasp the RSI's utility, we need to understand its core purpose. The Relative Strength Index is a momentum oscillator, developed by J. Welles Wilder Jr., and introduced in his 1978 book, New Concepts in Technical Trading Systems. His goal was to measure the speed and change of price movements. Unlike indicators that track price levels directly, like moving averages, RSI focuses on the internal strength of price action – specifically, the magnitude of recent gains versus recent losses. It's essentially a comparison: how much did prices move up recently, compared to how much they moved down? And it presents this comparison in an easy-to-read format, normalized to a scale from 0 to 100. This normalization is key because it allows traders to compare the momentum of different assets on the same scale, regardless of their price. The 'strength' in Relative Strength Index comes from this comparison of upward price movements to downward price movements over a specific period, usually 14 candles or bars. It’s not about how strong the asset is financially, or how much volume it has, but purely about the force behind its price swings. Understanding this distinction is crucial; RSI is a thermometer for momentum, not a balance scale for value.

The First Step: Calculating Average Gains and Losses

The standard RSI uses a 14-period lookback. This means it considers the price changes of the last 14 trading periods (e.g., 14 days for a daily chart, 14 hours for an hourly chart). The very first step in computing RSI involves identifying the 'gains' and 'losses' within these periods. A 'gain' occurs when the current closing price is higher than the previous closing price. A 'loss' occurs when the current closing price is lower than the previous closing price. If the closing price is unchanged, it counts as neither a gain nor a loss. For each of these 14 periods, we record the absolute value of the positive change (for gains) or the absolute value of the negative change (for losses), with the other value being zero. After we have these 14 individual gain and loss values, we calculate the initial average gain and initial average loss. This is simply the sum of all gains over the 14 periods, divided by 14, and the sum of all losses (as positive numbers) over the 14 periods, divided by 14. This is the foundation upon which the entire indicator rests, and getting these initial averages right is critical for the subsequent steps.

DayClose PriceDaily ChangeGain (if > 0)Loss (if < 0)
Day 1100.00N/A0.000.00
Day 2101.50+1.501.500.00
Day 3100.80-0.700.000.70
Day 4102.10+1.301.300.00
Day 5103.50+1.401.400.00
Day 6102.90-0.600.000.60
Day 7104.20+1.301.300.00
Day 8105.10+0.900.900.00
Day 9104.50-0.600.000.60
Day 10106.00+1.501.500.00
Day 11105.70-0.300.000.30
Day 12107.10+1.401.400.00
Day 13106.80-0.300.000.30
Day 14108.00+1.201.200.00
Initial 14-period price changes for RSI calculation

The Smoothing Factor: Wilder's Smoothed Averages

Once we have our initial 14-period average gain and average loss, the calculation takes a specific turn. This is the part most guides skip, often simplifying it to a simple moving average, which isn't quite right for Wilder's method. For all subsequent periods (from the 15th period onwards), Wilder employed a smoothed moving average to calculate the average gain and average loss. This isn't a traditional exponential moving average, but it shares a similar concept of weighting recent data more heavily while still considering historical data. The formula looks like this:

  • Smoothed Average Gain = ((Previous Average Gain * 13) + Current Gain) / 14
  • Smoothed Average Loss = ((Previous Average Loss * 13) + Current Loss) / 14

Notice the '13' and '14' in the formula. This effectively means that the 'Current Gain' or 'Current Loss' contributes 1/14th to the new average, while the 'Previous Average' contributes 13/14ths. This smoothing technique ensures that the RSI is less erratic than if a simple moving average were used, but it's also more responsive to recent price action than a purely arithmetic average. It's designed to keep the indicator flowing smoothly without being overly delayed. This iterative process continues for every period after the initial 14, continuously updating the average gain and average loss based on the new period's price change and the prior smoothed average. This is why when you first load RSI on a chart, you might see a few blank candles; the indicator needs enough data to complete its initial calculations.

Bringing it Together: The Relative Strength (RS) Calculation

With our smoothed average gains and smoothed average losses in hand, we can now calculate the core component of the Relative Strength Index: the Relative Strength (RS) itself. This is a straightforward ratio: Relative Strength (RS) = Smoothed Average Gain / Smoothed Average Loss. This ratio is the heart of the indicator, directly comparing the average magnitude of upward price movements to the average magnitude of downward price movements over the chosen period. A higher RS value indicates that the average gains are significantly larger than the average losses, suggesting strong upward momentum. A lower RS value means that average losses are outweighing average gains, pointing to downward momentum. For instance, if your Smoothed Average Gain is 1.0 and your Smoothed Average Loss is 0.5, your RS would be 2.0. This tells you that on average, the asset's price has been moving up twice as much as it has been moving down. This raw RS value can range from zero to infinity. If there are no losses in the period, the Smoothed Average Loss would be zero, leading to an undefined RS (or effectively infinity). If there are no gains, the Smoothed Average Gain would be zero, and the RS would be zero. This wide, unbounded range is why a final transformation step is necessary to make the indicator more user-friendly and interpretable.

A high RSI value indicates strong momentum, which can persist in strong trends; it's not an automatic sell signal.

The Final Stretch: From RS to RSI

The Relative Strength (RS) value, while informative, isn't immediately intuitive because it can range from zero to potentially very large numbers. To make it a practical oscillator, J. Welles Wilder Jr. normalized it into a scale between 0 and 100. This is where the Relative Strength Index (RSI) gets its final form using the following formula: RSI = 100 - (100 / (1 + RS)). Let's break down why this formula works. Adding '1' to the RS in the denominator ensures we never divide by zero, even if RS is zero. The '100 / (1 + RS)' part of the equation transforms the RS into a value between 0 and 100, but in an inverse relationship. If RS is very high (strong upward momentum), then '1 + RS' is also very high, making '100 / (1 + RS)' a very small number, close to zero. Subtracting this small number from 100 results in an RSI value close to 100. If RS is very low (strong downward momentum), then '1 + RS' is close to 1, making '100 / (1 + RS)' close to 100. Subtracting 100 from 100 results in an RSI value close to 0. This clever mathematical transformation makes the indicator easy to read and understand at a glance, allowing traders to quickly gauge momentum strength relative to its historical range without getting bogged down in complex numbers. It's this normalization that gives us the familiar 0-100 scale, making comparisons across different assets and timeframes feasible.

DayClose PriceDaily ChangeGainLossAvg Gain (Smoothed)Avg Loss (Smoothed)RSRSI
Day 1-13........................
Day 14108.00+1.201.200.000.9570.3073.11775.76
Day 15109.50+1.501.500.001.0000.2853.50977.78
Day 16110.00+0.500.500.000.9640.2643.65278.50
Day 17109.20-0.800.000.800.8960.3092.90074.34
Day 18110.50+1.301.300.000.9250.2873.22376.33
Day 19109.80-0.700.000.700.8600.3152.73073.18
Day 20111.20+1.401.400.000.9000.2933.07275.44
Step-by-step RSI calculation from smoothed averages

Beyond the Numbers: Understanding RSI's Behavior

The computed RSI value doesn't exist in a vacuum. Its true power lies in understanding its behavior within market contexts. A key insight is that RSI can stay 'overbought' (above 70) or 'oversold' (below 30) for extended periods during strong trends. This is the single most important reason why treating 70 as an automatic sell signal is flawed. During a powerful uptrend, prices consistently close higher, generating more gains than losses, which naturally pushes and keeps the RSI high. The momentum is simply too strong to immediately reverse. Similarly, in a strong downtrend, RSI can remain in 'oversold' territory as prices continue to drop. This tells us that the market is expressing conviction in one direction. Instead of signaling an imminent reversal, a sustained high or low RSI often confirms the strength of the prevailing trend. A more advanced and often more reliable signal from RSI comes from looking for divergences. A bearish divergence occurs when the price makes a higher high, but the RSI makes a lower high. This suggests that the upward momentum is weakening, even though the price is still climbing. It's like a car pushing to go faster, but the engine is losing power. A bullish divergence is the opposite: price makes a lower low, but RSI makes a higher low, indicating that selling pressure is waning. These divergences can be powerful early warnings of a potential trend reversal, offering a more nuanced perspective than simply looking at fixed levels.

RSI in Action: Using It with Other Tools

Think of RSI as a piece of a larger machine. It's a fantastic gauge for momentum, but it's rarely effective as a standalone indicator. Its true strength emerges when combined with other forms of technical analysis. For instance, using RSI in conjunction with support and resistance levels can significantly improve trade timing. If a stock reaches a strong resistance level and the RSI is showing bearish divergence, that's a much more compelling sell signal than an RSI above 70 alone. Similarly, when a stock approaches a key support level and the RSI forms a bullish divergence, it offers a more reliable buying opportunity. Price action itself is another powerful ally. Observing candlestick patterns or chart formations alongside RSI readings provides additional confirmation. A strong bearish engulfing candle appearing at a resistance zone with an overbought RSI and bearish divergence paints a clearer picture for a potential short entry. Different timeframes also impact RSI's interpretation. An RSI that looks overbought on a 15-minute chart might be simply returning to the mean on a daily chart, which is still in a strong uptrend. Always consider the larger market context and higher timeframes when evaluating RSI signals. Remember, the goal is to build a confluence of evidence for a trade idea, not to rely on a single data point. The FCA provides guidance on understanding various financial products, including CFDs, which traders often use with indicators like RSI, emphasizing the need for thorough analysis.

Advanced RSI Applications and Caveats

Beyond the basic overbought/oversold and divergence concepts, RSI offers a few more nuanced applications. Traders sometimes look for 'failure swings' within the RSI itself. A bearish failure swing occurs when RSI moves above 70, pulls back, then attempts to move higher but fails to surpass its previous peak, and then drops below its previous low. This can provide an earlier signal than a traditional divergence. Similarly, trendlines can be drawn on the RSI indicator itself. A break of a trendline on the RSI can sometimes foreshadow a trendline break on the price chart. This is the part most guides skip: RSI is not predictive; it's descriptive. It tells you what has happened to momentum, not what will happen. It's a speedometer, not a crystal ball. Its indications are reflections of past price changes. In practice, the default 14-period setting is a good starting point, but traders often experiment with different lengths. A shorter period, like 9, makes the RSI more sensitive and volatile, generating more signals but also more false ones. A longer period, like 21, makes it smoother but less responsive, potentially delaying signals. Adjusting the period can dramatically change its sensitivity, so backtesting your chosen settings on your specific asset is crucial. The CFTC also offers resources on understanding forex trading basics, which, while not specific to RSI, underline the importance of understanding the tools you employ.

Tailoring RSI for Your Trading Style

The effectiveness of RSI, like any tool, depends heavily on how it fits your specific trading style and the market environment. A trend trader, for instance, might use RSI not to predict reversals, but to confirm the strength of an existing trend. They might look for RSI to remain consistently above 50 in an uptrend, or below 50 in a downtrend, only considering a pullback when RSI approaches 30 (in an uptrend) as a potential buying opportunity for continuation, rather than an outright reversal. A range-bound trader, on the other hand, might find the traditional 70/30 or 80/20 levels more useful for identifying potential turning points at the edges of a well-defined trading range. Here, an RSI above 70 near a strong resistance level in a ranging market could be a viable short entry signal. The 'overbought' and 'oversold' labels are purely descriptive, signifying extreme momentum. Some traders even adjust these zones, preferring 80/20 or even 90/10 in highly volatile or strongly trending markets to filter out weaker signals. The key is that there is no one-size-fits-all setting. You must test and observe how RSI behaves on the assets you trade and within your chosen timeframe. The Investor.gov site, while focused on stocks, offers general advice on understanding investment tools, reinforcing the idea of personalized strategy development. Ultimately, successful use of RSI comes from a deep understanding of its calculation and a thoughtful integration into a broader, well-defined trading strategy that you've thoroughly tested.

اقرأ المصدر الأساسي

تحقق من ذلك لدى الجهة التنظيمية، وليس لدينا

لقطات شاشة للصفحات الرسمية التي تستند إليها القواعد في هذا الدليل. افتحها بنفسك — فكلمات الجهة التنظيمية نفسها دائمًا ما تكون أفضل من ملخص لها.

Investor.gov's explanation of margin accounts
Investor.gov's explanation of margin accountsافتح الأصل
The CFTC's forex fraud advisory for consumers
The CFTC's forex fraud advisory for consumersافتح الأصل

الأسئلة المتكررة

What is the standard period for RSI calculation?The standard period for RSI calculation, as introduced by J. Welles Wilder Jr., is 14 periods. This can be 14 days, 14 hours, or any other timeframe depending on the chart you are using.
Why is 70 not always a sell signal for RSI?An RSI reading above 70 simply indicates strong upward momentum. In a powerful uptrend, an asset can remain 'overbought' for extended periods as prices continue to climb, making an early sell based solely on RSI 70 a missed opportunity.
What is an RSI divergence?An RSI divergence occurs when price and the RSI indicator move in opposite directions. For example, if price makes a higher high but RSI makes a lower high (bearish divergence), it signals weakening upward momentum, potentially preceding a reversal.
How does RSI differ from a simple moving average?RSI measures the speed and change of price movements (momentum) and is smoothed using Wilder's specific formula. A simple moving average, in contrast, tracks the average price over a period and is a trend-following indicator, not a momentum oscillator.
Can I change the RSI settings?Yes, you can adjust the lookback period for RSI. A shorter period (e.g., 9) makes it more sensitive, while a longer period (e.g., 21) makes it smoother. You can also customize the overbought/oversold thresholds from the standard 70/30.
What does 'Relative Strength' mean in RSI?Relative Strength (RS) is the core component of RSI, calculated as the ratio of the smoothed average gain to the smoothed average loss over a specific period. It quantifies the average magnitude of upward price changes relative to downward price changes.

المصادر

من أين جاء هذا

  1. FCA — Contract for difference productsfca.org.uk
  2. CFTC — Forex trading basics for consumerscftc.gov
  3. Investor.gov — Margin: borrowing money to pay for stocksinvestor.gov

بقلم Daniel Okafor

Curriculum Author. نقدم تعليماً منظماً ومبسطاً في الفوركس باللغة الإنجليزية للأشخاص الذين يتعلمون من الصفر. الفهم أولاً، دائماً — وليس نصيحة مالية أبداً. الدورة التدريبية نفسها موجودة في الـ المناهج.

واصل التعلم

إلى أين يقود هذا الدليل لاحقاً

الأدلة الأقرب إلى هذا الدليل، بالترتيب الذي تبني عليه. كل منها قراءة كاملة بحد ذاتها، ولا يفترض أي منها أنك انتهيت من هذه الصفحة.

  1. Unpacking the Moving Average: What it Really Tells You, Line by LineA moving average isn't just a line on a chart; it's a dynamic average of past prices, recalculated with each new data point…
  2. The Engulfing Candle: Mechanics Rather Than MagicLearn the straightforward mechanics of bullish and bearish engulfing candlestick patterns and how to incorporate them into a…
  3. Simple vs. Exponential Averaging: How to See the Difference on Your ChartUncover the critical distinction between simple and exponential moving averages, and learn how their unique responses to price…
  4. Your Daily Guide to Market Movement: Understanding ATRKnowing how much a currency pair typically moves in a day is crucial for traders, and the Average True Range (ATR) indicator…
  5. The Truth About Long Wicks: What They Tell You, and What They Don'tLearn to interpret candlestick wicks as a visual record of price rejection and market sentiment, but understand their crucial…