- Even though RSI is widely used to signal price reversals, the formula and signal testing reveal that this momentum oscillator is well-suited for trend-following and momentum strategies, which research shows can be profitable and outperform.
- The RSI Bull Range indicator ensures trend consistency by requiring RSI to hold above 40 on pullbacks.
- The RSI Bull Momentum indicator captures upside leadership by requiring RSI to regularly exceed 70.
Abstract
Investors and traders typically use the Relative Strength Index (RSI) to identify turning points in security prices. This strategy, however, discounts the true nature of the indicator and limits its potential. An RSI breakdown reveals that its power lies in its ability to identify consistent uptrends with strong momentum. Some practitioners use RSI ranges to identify existing trends and RSI extremes to signal momentum shifts. These approaches, however, do not quantify how long RSI should hold its range, how regularly RSI should reach a momentum milestone and, most importantly, if RSI range and momentum indications have predictive value.
The goal of this paper is to systematically test RSI range and momentum signals using stocks in the S&P 500. Moreover, this paper will show that the RSI range alone is inadequate because it does not always capture upside momentum. The RSI range measures trend consistency well, but a momentum component is needed to uncover the strongest uptrends. After quantifying and testing, this paper will show that signals combining RSI range and momentum can foreshadow sizable advances with good success rates. As such, these signals can be part of a successful investing strategy that combines trend-following and momentum.
Trend Theory and RSI
J. Welles Wilder Jr. developed the Relative Strength Index (RSI) and introduced it in his classic book, New Concepts in Technical Trading. Wilder used RSI as a momentum oscillator to identify turning points or reversals in security prices. While it is possible to time reversals using RSI, reversal strategies do not utilize the inherent strengths of the indicator.
Despite its label as a momentum oscillator, RSI is a natural trend indicator. RSI is bound between 0 and 100 with 50 as the mid-point. As the RSI formula reveals, RSI is above 50 when the Average Gain is greater than the Average Loss. Conversely, RSI is below 50 when the Average Gain is less than the Average Loss. Thus, prices are generally rising when RSI remains above 50 and generally falling when RSI remains below 50. The further above 50, the larger the Average Gain relative to the Average Loss, and the stronger the uptrend. Conversely, the further below 50, the larger the Average Loss relative to the Average Gain, and the stronger the downtrend.
Chart 1 shows Comcast (CMCSA) and 14-day RSI to illustrate a shift in RSI and price direction. Comcast moved lower from late February to early May and RSI remained below 50 for the most part (red). A shift occurred in early June as prices moved higher and RSI crossed above 50. Prices moved higher from early June to September and RSI remained largely above 50 (green).
Chart 1: CMCSA - RSI Directional Shift
The zone around 50 defines the battle for trend consistency. For an uptrend to be truly consistent, pullbacks should be limited and the trend should stay in motion. This is where the RSI range comes into play, especially the lower end of the range. Adding a cushion to the midpoint, declines are considered normal pullbacks within a larger uptrend as long as RSI holds above 40. Note that a buffer is needed to allow for normal pullbacks and reduce whipsaws. A price decline that pushes RSI below 40 indicates that the uptrend is losing consistency. Thus, RSI can be a good fit for trend-following strategies.
Research shows that time-series momentum, a form of trend-following, works in the U.S. stock market. Stocks showing positive returns over a twelve-month period are more likely to have positive returns in the future. As with trend-following, time-series momentum assumes that a trend in motion will stay in motion. In other words, the chances of further gains are higher when a security is already in an uptrend. D’Souza et al. found that “the existence of time-series stock momentum has been a persistent phenomenon in the U.S. equity markets throughout the 88-year period since 1927.”
Some practitioners use RSI ranges to identify the price trend. Andrew Cardwell of Cardwell RSI Edge uses bullish and bearish ranges to define price trends. According to Cardwell, RSI typically ranges from 40 to 80 during an uptrend and 20 to 60 during a downtrend. RSI finds support and reverses in the 40-50 zone during a normal pullback. A move to 30 suggests something more than just a pullback. A break below the bullish range indicates a downtrend is starting, and it is time to apply the bearish-range rule.
Chart 2 shows Illumina (ILMN) trending higher as RSI ranged between 40 and 80 (green shading). The October break below 40 ended this bull range. Chart 3 shows BorgWarner (BWA) trending lower as RSI ranged between 20 and 60 (red shading).
Chart 2: ILMN - RSI Bull Range (40 to 80)
Chart 3: BWA - RSI Bear Range (20 to 60)
Constance Brown asserts that momentum oscillators such as RSI and the Stochastic Oscillator do not “travel between 0 and 100.” Brown argues that RSI finds support in the 40-50 zone during an uptrend and resistance in the 80-90 zone. Conversely, RSI meets resistance in the 55-65 zone during a downtrend and finds support in the 20-30 zone. Brown suggests wider ranges than Cardwell: 40 to 90 for a bullish range and 20 to 65 for a bearish range.
Momentum Theory and RSI
RSI also has a clear momentum component. When analyzing past winners, it is easy to find stocks with strong momentum that outperformed for extended periods. More often than not, these stocks became overbought numerous times as their uptrends persisted. “Overbought” readings occur when RSI moves above 70. Stocks like Apple, Best Buy, Boeing, Mastercard, Nvidia, Tiffany and Valero more than doubled from June 2016 to June 2018, a mere two years. This diverse group of stocks had one thing in common: RSI became “overbought” by moving above 70 on a regular basis.
Chart 4 shows Boeing (BA) with 14-day RSI moving above 70 regularly from October 2016 to January 2018. The stock was indeed overbought by the traditional definition, but these overbought readings reflected strong upside momentum and the stock subsequently outperformed for an extended period.
Chart 4: BA - RSI Strong Momentum (above 70)
What exactly does overbought mean? Greg Morris notes that overbought and oversold are “the most overused and misunderstood terms when talking about the markets.” Indeed, overbought conditions present traders and investors with a paradox. Consider when RSI moves above 70. One investor might use an overbought signal to prepare for a reversal, while another could view strong upside momentum as a prerequisite for further gains.
RSI moves above 70 and becomes “overbought” when prices move higher, usually sharply higher. Such an advance signals strong upside price momentum and RSI quantifies this momentum by moving into the upper end of its range. Moreover, RSI values above 70 are relatively rare and show exceptional strength.
The distribution of RSI values confirms the 20 year uptrend in stocks and the uniqueness of values above 70. Threshold testing reveals that the majority of RSI values exceeded 50 for stocks in the S&P 500 from 7/1/1998 to 7/2/2018. In fact, Chart 5 shows that 56.7% of RSI values exceeded 50 during this twenty-year test period, while 43.3% were below 50. These numbers make sense because the S&P 500 Total Return Index advanced 247%, generating a 6.4% compound annual return, over this same period. The S&P 500 was also above its 200-day simple moving average 70% of the time.
Chart 5: Distribution of RSI Values between 0 and 100
Chart 5 also reveals that RSI values below 30 and above 70 are exceptional. RSI fell below 30 just 3.5% of the time, and exceeded 70 just over 6% of the time. Stocks with RSI values above 70 are in an elite group and they can be considered momentum leaders. Accordingly, RSI values above 70 can be used in momentum strategies that focus on the strongest stocks. On the flip side, stocks with RSI values below 30 can be viewed as serious underperformers.
Research shows that momentum strategies generate positive returns and consistently outperform. The momentum anomaly indicates that stocks that have outperformed tend to continue outperforming, while stocks that have underperformed tend to continue underperforming. Research from Jegadeesh and Titman showed that stocks that outperformed over three- to twelve-month time horizons continued to outperform. An updated paper by Jegadeesh and Titman showed that this momentum strategy still worked on U.S. stocks overall, though it suffered a setback in 2009.
Practitioners have also found that high RSI levels can be bullish and lead to further price gains. In a presentation to the CMT Association, David Cox, CMT, CFA, showed how a surge above 70 can signal the start of a new uptrend. After an extended downtrend and RSI values below 30, an RSI surge above 70 reflects a clear shift in price dynamics. Using Apple (AAPL) as an example, Cox showed RSI moving from a deeply oversold condition to an overbought condition. Chart 6 shows this downtrend reversing to an uptrend when RSI surged above 70, which showed strong upside momentum. Chart 7 shows Eversource Energy (ES) becoming “oversold” as RSI dipped below 30 in February and June 2018. The sharp move from below 30 to above 70 signaled a clear shift in momentum and further gains followed.
Chart 6: AAPL - RSI Surge and Trend Reversal
Chart 7: ES - RSI Surge and Trend Reversal
Testing, Methodology and Data
Wilder suggested 14 days when calculating RSI and this setting will be used throughout the paper. With 14-day RSI as the base indicator, this paper will test five signal groups: bull range, bear range, bull momentum, bear momentum and bull range-momentum.
- RSI Bull Range: RSI fluctuates between 40 and 100 over N days
- RSI Bear Range: RSI fluctuates between 0 and 60 over N days
- RSI Bull Momentum: highest high value of RSI is greater than 70 over N days
- RSI Bear Momentum: lowest low value of RSI is less than 30 over N days
- RSI Bull Range-Momentum: combination of 1 and 3 over N days
Each test group covers five lookback periods (N days): 25, 50, 75, 100 and 125 (trading days). For example, the 25-day RSI Bull Range test triggers a signal when 14-day RSI has fluctuated between 40 and 100 for at least 25 days; the signal ends when RSI moves below 40, breaking the range. The next test, 50-day RSI Bull Range, triggers a signal when 14-day RSI has fluctuated between 40 and 100 for at least 50 days; the signal ends when RSI moves below 40.
Tests used historical constituents in the S&P 500 to prevent survivorship bias. That is, the study used components in the index at the time of testing. For example, testing before 12/23/2013 did not include Facebook (FB) because it was not yet part of the S&P 500. Similarly, testing after 12/20/2013 did not include Teradyne (TER) because it was removed from the S&P 500 (replaced by Facebook). This also means signals ended when a stock was removed from the S&P 500. Stock data were adjusted for capital reconstructions, special dividends and ordinary dividends.
The testing period used daily price data extending from 7/1/1998 to 7/2/2018, encompassing twenty years and four market cycles. This period includes the bear markets in 2001-2002 and 2008-2009, and the bull markets of 2003-2007 and 2009-2018. The latter bull run also includes the flash-crash in May 2011, high volatility from July to October 2011 and an extended correction from July 2015 to February 2016.
For testing purposes, the system measures the percentage change in the stock price for the duration of the signal. Signals are generated on the close, while entries and exits are based on the next open. Commissions and slippage are not considered. The price change is simply the open price at entry less the open price at exit. This difference is then divided by the open price at entry to calculate the percentage change.
The performance metrics focus on the Success Rate, the Average Advance, the Average Decline and the Profit/Loss Ratio. A successful signal occurs when there is an advance after a bullish signal and a decline after a bearish signal. A failed signal occurs when there is a decline after a bullish signal and an advance after a bearish signal. The Success Rate is the percentage of successful signals (out of total signals).
The size of the subsequent advance or decline captures the magnitude of the success or failure, while the Profit/Loss Ratio measures the degree of success. An advance after a bullish signal is deemed a profit, while a decline is deemed a loss. Similarly, a decline after a bearish signal is deemed a profit, while an advance is deemed a loss. Thus, the Profit/Loss Ratio compares the magnitude of the successful signals to the magnitude of the failed signals.
The Success Rate and Profit/Loss Ratio should be considered together, not separately. The Success Rate shows how often the signals worked, while the Profit/Loss Ratio reflects the degree of success. Together, these two indicators provide insight on the true potential of the signals. Signals with relatively low Success Rates (below 35%) and low Profit/Loss Ratios (below 1.2) do not show potential, while signals with relatively high Success Rates (above 50%) and high Profit/Loss Ratios (above 2) show potential.
Testing RSI Bull and Bear Ranges
The first test analyzes the RSI Bull Range, which extends from 40 to 100. Though Cardwell and Brown set upper limits from 80 to 90, the true maximum is 100. The ability to fluctuate between 40 and 100 keeps RSI in the top 60% of its theoretical range.
Chart 8 shows F5 Networks (FFIV) with the 75-day RSI Bull Range indicator (red/green) and RSI (blue) with a gray line at 40. The RSI Bull Range indicator moves to +1 (green) when RSI fluctuates between 40 and 100 for at least 75 days. The indicator moves to -1 (red) when RSI moves below 40 and breaks the range. The green arrow shows the beginning signal and the red arrow shows the ending signal. FFIV advanced 29.9% after the bullish signal for a success (profit). In contrast, Chart 9 shows a failed bullish signal (loss) for TripAdvisor (TRIP), which fell 11.1% between signals.
Chart 8: FFIV - RSI Bull Range
Chart 9: TRIP - RSI Bull Range
Table 1 shows results when applying RSI Bull Range signals to stocks in the S&P 500 over the test period. The Success Rate ranged from 34% to 37%, which means less than 40% of stocks advanced after triggering bullish signals. Despite these low Success Rates, the Profit/Loss Ratios ranged from 2.35 to 2.52, which are quite high. This means the average profit from a signal was more than twice the average loss. Thus, the RSI Bull Range signals show promise with high Profit/Loss Ratios, but merit caution because of Success Rates below 40%.
Table 1: Performance Metrics for RSI Bull Range Test
The second test analyzes the RSI Bear Range, which extends from 0 to 60. Again, this test uses the theoretical lower limit. RSI remains in the lower 60% of its range when it fluctuates between 0 and 60.
Chart 10 shows Dish Network (DISH) with the 75-day RSI Bear Range indicator and RSI with a horizontal line at 60. The RSI Bear Range indicator moves to -1 (red) when RSI does not move above 60 for a least 75 days. This bearish signal (red arrow) remains in play as long as RSI fails to break above 60. The indicator moves to +1 (green) when RSI moves above 60 and breaks the range (green arrow). DISH declined 30.4% for a successful bearish signal (profit). Chart 11 shows a failed bearish signal (loss) for Cerner (CERN), which subsequently advanced 17.7%.
Chart 10: DISH - RSI Bear Range
Chart 11: CERN - RSI Bear Range
Table 2 shows results when applying RSI Bear Range signals to all stocks in the S&P 500 over the test period. The Success Rates ranged from 25% to 28%, which means less than 30% of stocks declined after the bearish indicator triggered a signal. The Profit/Loss Ratios were all above 1.2 as prices tended to fall after the RSI Bear Range signals, but the Profit/Loss Ratios fell from 2.11 to 1.28 as the lookback period extended. Thus, performance deteriorated significantly as time extended. Overall, the Profit/Loss Ratios are not high enough to justify the extremely low Success Rates.
Table 2: Performance Metrics for RSI Bear Range Test
Testing RSI Bull and Bear Momentum
Testing now turns from range signals to momentum signals. This third test analyzes performance when RSI exceeds 70 over different lookback periods. RSI values above 70 show strong upside momentum and suggest outperformance. The signal ends when RSI fails to exceed 70 over the lookback period, which suggests waning upside momentum.
Chart 12 shows PNC Financial Services (PNC) with the RSI Bull Momentum indicator and RSI with a horizontal line at 70. The RSI Bull Momentum indicator moves to +1 (green) when RSI exceeds 70 and remains at 1 as long as the highest high of RSI is above 70 over the lookback period, which is 75 days. The indicator moves to -1 (red) when the highest high of RSI fails to exceed 70 over a 75-day period. PNC advanced 15.4% for a successful bullish signal (profit). Chart 13 shows eBay (EBAY) declining 15% for a failed bullish signal (loss).
Chart 12: PNC - RSI Bull Momentum
Chart 13: EBAY - RSI Bull Momentum
Table 3 applies RSI Bull Momentum signals to all stocks in the S&P 500 over the test period. The Success Rates jump out because they range from 52% to 58% and exceed 50% in every instance. Thus, more than 50% of stocks advanced after the signals. The Profit/Loss Ratios ranged from 1.37 to 2.11, and rose as the lookback period extended from 25 days to 125 days. Also, notice how the Average Advance increased as the lookback period extended. Overall, the RSI Bull Momentum signals show promise with Success Rates above 50% and sizable gains (Average Advances), but warrant caution because the Average Declines weigh on the Profit/Loss Ratios.
Table 3: Performance Metrics for RSI Bull Momentum Test
The fourth test analyzes performance when RSI moves below 30 over different lookback periods. RSI values below 30 reflect strong downside momentum and point to underperformance. The signal ends when RSI fails to move below 30 over the lookback period, which implies less downside momentum.
Chart 14 shows Henry Schein (HSIC) with the 75-day RSI Bear Momentum indicator and RSI with a horizontal line at 30. The indicator moves to -1 (red) when the lowest low of RSI is below 30 over the last 75 days. This triggers a bearish signal that lasts until RSI fails to move below 30 over a 75-day period. An ending signal occurs when the RSI Bear Momentum indicator moves to +1 (green). HSIC declined 14.3% for a successful bearish signal (profit). Chart 15 shows Occidental Petroleum (OXY) advancing 23.7% for a failed bearish signal (loss).
Chart 14: HSIC - RSI Bear Momentum
Chart 15: OXY - RSI Bear Momentum
Table 4 shows the results of applying RSI Bear Momentum signals to all stocks in the S&P 500 over the test period. The Success Rates ranged from 31% to 39%, but fell as the lookback period extended. Less than 40% of stocks declined after the bearish indicator triggered a signal. The Average Decline was larger than the Average Advance at every lookback period, but the Profit/Loss Ratios were barely above 1. The RSI Bear Momentum signals do not show potential because the Success Rates were low and the Profit/Loss Ratios were barely above 1.
Table 4: Performance Metrics for RSI Bear Momentum Test
A Combination with Predictive Value
Overall, the bullish indicators show potential, but the bearish indicators do not. The Bear Range signals suffer from low Success Rates (below 35%) and the relatively low Profit/Loss Ratios. The Bear Momentum signals have the lowest Profit/Loss Ratios and relatively low Success Rates. The Bull Range signals have high Profit/Loss Ratios (above 2.30), but low Success Rates (below 40%). In contrast, the Bull Momentum signals show high Success Rates (above 50%), but relatively low Profit/Loss Ratios.
The results suggest that RSI Bull Range and RSI Bull Momentum are complementary indicators that should be combined. The RSI Bull Range indicator places a momentum floor at 40 to contain price declines. The RSI Bull Momentum indicator, in contrast, focuses on price advances by ensuring they are strong enough to push RSI above 70 on a regular basis. The RSI Bull Range indicator takes care of trend consistency, while the RSI Bull Momentum indicator ensures strong upward momentum. It is a powerful combination.
Chart 16 shows Harris Corp (HRS) with the combined indicator and RSI with horizontal lines at 40 and 70. The RSI Bull Range-Momentum indicator moves to 1 and turns gray when either the RSI Bull Range or Bull Momentum indicators trigger a signal. The indicator moves to 2 and turns green when both indicators have triggered signals. Thus, a move to 2 means the lowest low value of RSI did not dip below 40 over the last 75 days AND the highest high value of RSI moved above 70 over the last 75 days.
Chart 16: HRS - RSI Bull Range-Momentum
Chart 17: KR - RSI Bull Range-Momentum
A move to 2 generates an entry signal that remains in effect until BOTH indicators reverse their signals. This means the lowest low value of RSI dipped below 40 and the highest high value of RSI did not exceed 70 over the 75-day lookback period (indicator turns red). The trend lost consistency because RSI broke the bull range AND stopped showing strong upside momentum because RSI failed to exceed 70. Chart 16 shows Harris Corp (HRS) advancing +26.8% for a successful bullish signal (profit). Chart 17 shows Kroger (KR) declining 16.7% for a failed bullish signal (loss).
Table 5 shows the results when applying RSI Bull Range-Momentum signals to all stocks in the S&P 500 over the test period. The Success Rates ranged from 45% to 58% and exceeded 50% when the lookback period was 75 days or longer. The Profit/Loss Ratios ranged from 1.95 to 2.4 and exceeded 2 when the lookback period was 75 days or longer. Overall, the results steadily improved as the lookback period extended. This suggests that longer lookback periods are better suited for trend- momentum strategies.
Table 5: Performance Metrics for RSI Bull Range-Momentum Test
Chart 18 shows a scatter plot with the results for each of the five tests. The Success Rates are shown on the y-axis and the Profit/Loss Ratios are on the x-axis. A horizontal line at 50% delineates the Success Rate, while a vertical line at 2 delineates the Profit/Loss Ratio. These lines create four performance quadrants that we can use to compare the test results.
The Bear Momentum results (BearM - red circle) appear in the lower-left quadrant because they have the lowest Profit/Loss Ratios and relatively low Success Rates. The Bear Range results (BearR - triangle) are also mostly in the lower left quadrant because of the low Success Rates (below 30%) and the relatively low Profit/Loss Ratios. Only the 25-day Bear Range signal showed a Profit/Loss Ratio above 2.
Chart 18: Scatter Plot for Success Rates and Profit/Loss Ratios
The Bull Range results (BullR - green oval) are in the lower-right quadrant because they have high Profit/Loss Ratios (above 2.30) and low Success Rates (below 40%). The Bull Momentum results (BullM - rectangle) are mostly in the upper-left quadrant because of the high Success Rates (above 50%) and low Profit/Loss Ratios. The 125-day Bull Momentum signal is the only result with a Profit/ Loss Ratio above 2.
The RSI Bull Range-Momentum results with lookback periods of 75 days or more show the most predictive value. The 25-day and 50-day Bull Range-Momentum signals ended up in the left quadrant with Success Rates just below 50% and Profit/Loss Ratios just below 2. Performance greatly improved as the lookback period increased from 75 to 125 days. These results landed in the upper right quadrant with high Success Rates and high Profit/Loss Ratios (green shading). Clearly, the longer RSI Bull Range-Momentum signals show potential for inclusion in a trend-momentum strategy. The 125-day RSI Bull Momentum results also landed in the upper right quadrant and show potential.
Conclusions
Even though RSI is widely used to signal price reversals, the formula and signal testing reveal that this momentum oscillator is well-suited for trend-following and momentum strategies, which research shows can be profitable and outperform. The RSI Bull Range indicator ensures trend consistency by requiring RSI to hold above 40 on pullbacks. The RSI Bull Momentum indicator captures upside leadership by requiring RSI to regularly exceed 70. Threshold testing in S&P 500 stocks over the twenty-year testing period shows that RSI exceeded 70 just 6.3% of the time. Thus, stocks with RSI values above 70 show exceptional upside momentum.
Taken together, the evidence shows that RSI range and momentum signals can foreshadow sizable advances with a good success rate, especially when the lookback period extends from 75 to 125 days. The RSI Bull-Momentum signals were less successful at the 25-day and 50-day lookback periods, which suggests, perhaps, that there is some short-term mean-reversion at work. The performance metrics improved dramatically as the lookback period extended from 75 days to 125 days, which covers periods from three-and-a-half to six months. These longer lookback ranges point to a trend-momentum sweet spot that investors can use to profit and outperform.
Test results show that bullish signals work better than bearish signals. This is partly due to the upward bias in the S&P 500 Index over the twenty-year testing period. Despite the upward bias, the index experienced significant declines along the way. As such, investors may also consider the broad market environment when implementing a trend-momentum strategy. Bilello and Gayed found that volatility and risk increase when the S&P 500 is below its 200-day moving average. They also showed that volatility declines and conditions favor outperformance when the S&P 500 is above its 200-day moving average. Thus, adding a market timing mechanism to this RSI strategy could, in fact, reduce drawdowns during broad market declines and enhance returns during broad market advances.
End Notes
Thanks to Cesar Alvarez of AlvarezQuantTrading.com for consulting on the AmiBroker code and results. https://alvarezquanttrading.com
Performance metrics were generated with signal tests using AmiBroker 6.2 Professional Edition. https://www.amibroker.com
Data used in AmiBroker was provided by Premium Data. https://premiumdata.com
Appendix 1: Subset sample RSI Calculation for Biogen (BIIB)
Appendix 2: Sample Calculation of Weighted Average (subset)
Appendix 3: Performance Metrics Overview
Shared content and posted charts are intended to be used for informational and educational purposes only. The CMT Association does not offer, and this information shall not be understood or construed as, financial advice or investment recommendations. The information provided is not a substitute for advice from an investment professional. The CMT Association does not accept liability for any financial loss or damage our audience may incur.