0% found this document useful (0 votes)
246 views28 pages

Encrypted Data Analysis

The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements, indicating overbought (above 70) and oversold (below 30) conditions. Developed by J. Welles Wilder, it uses a formula based on average gains and losses over a specified period, typically 14 days. RSI can also identify trends, divergences, and failure swings, making it a versatile tool in technical analysis.

Uploaded by

santro444
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
246 views28 pages

Encrypted Data Analysis

The Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements, indicating overbought (above 70) and oversold (below 30) conditions. Developed by J. Welles Wilder, it uses a formula based on average gains and losses over a specified period, typically 14 days. RSI can also identify trends, divergences, and failure swings, making it a versatile tool in technical analysis.

Uploaded by

santro444
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd

What Does Relative Strength Index - RSI Mean?

A technical momentum indicator that compares the magnitude of recent gains to recent losses in an attempt to determine overbought and oversold conditions of an asset. It is calculated using the following formula: RSI = 100 - 100/(1 + RS*) *Where RS = Average of x days' up closes / Average of x days' down closes.

As you can see from the chart, the RSI ranges from 0 to 100. An asset is deemed to be overbought once the RSI approaches the 70 level, meaning that it may be getting overvalued and is a good candidate for a pullback. Likewise, if the RSI approaches 30, it is an indication that the asset may be getting oversold and therefore likely to become undervalued.

Relative Strength Index (RSI)


Introduction
Developed J. Welles Wilder, the Relative Strength Index (RSI) is a momentum oscillator that measures the speed and change of price movements. RSI oscillates between zero and 100. Traditionally, and according to Wilder, RSI is considered overbought when above 70 and oversold when below 30. Signals can also be generated by looking for divergences, failure swings and centerline crossovers. RSI can also be used to identify the general trend. RSI is an extremely popular momentum indicator that has been featured in a number of articles, interviews and books over the years. In particular, Constance Brown's book, Technical Analysis for the Trading Professional, features the concept of bull market and bear market ranges for RSI. Andrew Cardwell, Brown's RSI mentor, introduced positive and negative reversals for RSI. In addition, Cardwell turned the notion of divergence, literally and figuratively, on its head. Wilder features RSI in his 1978 book, New Concepts in Technical Trading Systems. This book also includes the Parabolic SAR, Average True Range and the Directional Movement Concept (ADX). Despite being developed before the computer age, Wilder's indicators have stood the test of time and remain extremely popular.

Calculation
100 RSI = 100 - -------1 + RS RS = Average Gain / Average Loss

To simplify the calculation explanation, RSI has been broken down into its basic components: RS, Average Gain and Average Loss. This RSI calculation is based on 14 periods, which is the default suggested by Wilder in his book. Losses are expressed as positive values, not negative values. The very first calculations for average gain and average loss are simple 14 period averages.
y y

First Average Gain = Sum of Gains over the past 14 periods / 14. First Average Loss = Sum of Losses over the past 14 periods / 14

The second, and subsequent, calculations are based on the prior averages and the current gain loss:
y y

Average Gain = [(previous Average Gain) x 13 + current Gain] / 14. Average Loss = [(previous Average Loss) x 13 + current Loss] / 14.

Taking the prior value plus the current value is a smoothing technique similar to that used in exponential moving average calculation. This also means that RSI values become more accurate as the calculation period extends. SharpCharts uses at least 250 data points prior to the starting date of any chart (assuming that much data exists) when calculating its RSI values. To exactly replicate our RSI numbers, a formula will need at least 250 data points. Wilder's formula normalizes RS and turns it into an oscillator that fluctuates between zero and 100. In fact, a plot of RS looks exactly the same as a plot of RSI. The normalization step makes it easier to identify extremes because RSI is range bound. RSI is 0 when the Average Gain equals zero. Assuming a 14-period RSI, a zero RSI value means prices moved lower all 14 periods. There were no gains to measure. RSI is 100 when the Average Loss equals zero. This means prices moved higher all 14 periods. There were no losses to measure.

Here's an Excel Spreadsheet that shows the start of an RSI calculation in action. Note: The smoothing process affects RSI values. RS values are smoothed after the first calculation. Average Loss equals the sum of the losses divided by 14 for the first calculation. Subsequent calculations multiply the prior value by 13, add the most recent value and then divide the total by 14. This creates a smoothing affect. The same applies to Average Gain. Because of this smoothing, RSI values may differ based on the total calculation period. 250 periods will allow for more smoothing than 30 periods and this will slightly affect RSI values. [Link] goes back 250-days when possible. If Average Loss equals zero, a "divide by zero" situation occurs for RS and RSI is set to 100 by definition. Similarly, RSI equals 0 when Average Gain equals zero.

Parameters
The default look-back period for RSI is 14, but this can be lowered to increase sensitivity or raised to decrease sensitivity. 10-day RSI is more likely to reach overbought or oversold levels than 20-day RSI. The look-back parameters also depend on a security's volatility. 14-day RSI for internet retailer Amazon (AMZN) is more likely to become overbought or oversold than 14-day RSI for Duke Energy (DUK), a utility. RSI is considered overbought when above 70 and oversold when below 30. These traditional levels can also be adjusted to better fit the security or analytical requirements. Raising overbought to 80 or lowering oversold to 20 will reduce the number of overbought/oversold readings. Short-term traders sometimes use 2-period RSI to look for overbought readings above 80 and oversold readings below 20.

Overbought-Oversold
Wilder considered RSI overbought above 70 and oversold below 30. Chart 3 shows McDonalds with 14-day RSI. This chart features daily bars in gray with a 1-day SMA in pink to highlight closing prices because RSI is based on closing prices. Working from left to right, the stock became oversold in late July and found support around 44 (1). Notice that the bottom evolved after the oversold reading. The stock did not bottom as soon as the oversold reading appeared. Bottoming can be a process. From oversold levels, RSI moved above 70 in mid September to become overbought. Despite this overbought reading, the stock did not decline. Instead, the stock stalled for a couple weeks and then continued higher. Three more overbought readings occurred before the stock finally peaked in December (2). Momentum oscillators can become overbought (oversold) and remain so in a strong up (down) trend. The first three overbought readings foreshadowed consolidations. The fourth coincided with a significant peak. RSI then moved from overbought to oversold in January. The final bottom did not coincide with the initial oversold reading as the stock ultimately bottomed a few weeks later around 46 (3).

Like many momentum oscillators, overbought and oversold readings for RSI work best when prices move sideways within a range. Chart 4 shows MEMC Electronics (WFR) trading between 13.5 and 21 from April to September 2009. The stock peaked soon after RSI reached 70 and bottomed soon after the stock reached 30.

Divergences
According to Wilder, divergences signal a potential reversal point because directional momentum does not confirm price. A bullish divergence occurs when the underlying security makes a lower low and RSI forms a higher low. RSI does not confirm the lower low and this shows strengthening momentum. A bearish divergence forms when the security records a higher high and RSI forms a lower high. RSI does not confirm the new high and this shows weakening momentum. Chart 5 shows Ebay (EBAY) with a bearish divergence in August-October. The stock moved to new highs in September-October, but RSI formed lower highs for the bearish divergence. The subsequent breakdown in mid October confirmed weakening momentum.

A bullish divergence formed in January-March. The bullish divergence formed with Ebay moving to new lows in March and RSI holding above its prior low. RSI reflected less downside momentum during the February-March decline. The mid March breakout confirmed improving momentum. Divergences tend to be more robust when they form after an overbought or oversold reading. Before getting too excited about divergences as great trading signals, it must be noted that divergences are misleading in a strong trend. A strong uptrend can show numerous bearish divergences before a top actually materializes. Conversely, bullish divergences can appear in a strong downtrend - and yet the downtrend continues. Chart 6 shows the S&P 500 ETF (SPY) with three bearish divergences and a continuing uptrend. These bearish divergences may have warned of a short-term pullback, but there was clearly no major trend reversal.

Failure Swings
Wilder also considered failure swings as strong indications of an impending reversal. Failure swings are independent of price action. In other words, failure swings focus solely on RSI for signals and ignore the concept of divergences. A bullish failure swing forms when RSI moves below 30 (oversold), bounces above 30, pulls back, holds above 30 and then breaks its prior high. It is basically a move to oversold levels and then a higher low above oversold levels. Chart 7 shows Research in Motion (RIMM) with 10-day RSI forming a bullish failure swing.

A bearish failure swing forms when RSI moves above 70, pulls back, bounces, fails to exceed 70 and then breaks its prior low. It is basically a move to overbought levels and then a lower high below overbought levels. Chart 8 shows Texas Instruments (TXN) with a bearish failure swing in May-June 2008.

Trend ID
In Technical Analysis for the Trading Professional, Constance Brown suggests that oscillators do not travel between 0 and 100. This also happens to be the name of the first chapter. Brown identifies a bull market range and a bear market for RSI. RSI tends to fluctuate between 40 and 90 in a bull market (uptrend) with the 40-50 zones acting as support. These ranges may vary depending on RSI parameters, strength of trend and volatility of the underlying security. Chart 9 shows 14-week RSI for SPY during the bull market from 2003 until 2007. RSI surged above 70 in late 2003 and then moved into its bull market range (40-90). There was one overshoot below 40 in July 2004, but RSI held the 40-50 zone at least five times from January 2005 until October 2007 (green arrows). In fact, notice that pullbacks to this zone provided low risk entry points to participate in the uptrend.

On the flip side, RSI tends to fluctuate between 10 and 60 in a bear market (downtrend) with the 50-60 zone acting as resistance. Chart 10 shows 14-day RSI for the US Dollar Index ($USD) during its 2009 downtrend. RSI moved to 30 in March to signal the start of a bear range. The 4050 zone subsequently marked resistance until a breakout in December.

Positive-Negative Reversals
Andrew Cardwell developed positive and negative reversals for RSI, which are the opposite of bearish and bullish divergences. Cardwell's books are out of print, but he does offer seminars detailing these methods. Constance Brown credits Andrew Cardwell for her RSI enlightenment. Before discussing the reversal technique, it should be noted that Cardwell's interpretation of divergences differs from Wilder. Cardwell considered bearish divergences as bull market phenomenon. In other words, bearish divergences are more likely to form in uptrends. Similarly, bullish divergences are considered bear market phenomenon indicative of a downtrend. A positive reversal forms when RSI forges a lower low and the security forms a higher low. This lower low is not at oversold levels, but usually somewhere between 30 and 50. Chart 11 shows MMM with a positive reversal forming in June 2009. MMM broke resistance a few weeks later and RSI moved above 70. Despite weaker momentum with a lower low in RSI, MMM held above its prior low and showed underlying strength. In essence, price action overruled momentum.

A negative reversal is the opposite of a positive reversal. RSI forms a higher high, but the security forms a lower high. Again, the higher high is usually just below overbought levels in the 50-70 area. Chart 12 shows Starbucks (SBUX) forming a lower high as RSI forms a higher high. Even though RSI forged a new high and momentum was strong, the price action failed to confirm as lower high formed. This negative reversal foreshadowed the big support break in late June and sharp decline.

Conclusions
RSI is a versatile momentum oscillator that has stood the test of time. Despite changes in volatility and the markets over the years, RSI remains as relevant now as it was in Wilder's days. While Wilder's original interpretations are useful to understanding the indicator, the work of Brown and Cardwell takes RSI interpretation to a new level. Adjusting to this level takes some rethinking on the part of the traditionally schooled chartists. Wilder considers overbought conditions ripe for a reversal, but overbought can also be a sign of strength. Bearish divergences still produce some good sell signals, but chartists must be careful in strong trends when bearish divergences are actually normal. Even though the concept of positive and negative reversals may seem to undermine Wilder's interpretation, the logic makes sense and Wilder would hardly dismiss the value of putting more emphasis on price action. Positive and negative reversals put price action of the underlying security first and the indicator second, which is the way it should be. Bearish and bullish divergences place the indicator first and price action second. By putting more emphasis on price action, the concept of positive and negative reversals challenges our thinking towards momentum oscillators.

Using with SharpCharts


RSI is available as an indicator for SharpCharts. Once selected, users can place the indicator above, below or behind the underlying price plot. Placing RSI directly on top of the price plot

accentuates the movements relative to price action of the underlying security. Users can apply "advanced options" to smooth the indicator with a moving average or add a horizontal line to mark overbought or oversold levels.

Suggested Scans

ERSI Oversold in Uptrend: This scan reveals stocks that are in an uptrend with oversold RSI. First, stocks must be above their 200-day moving average to be in an overall uptrend. Second, RSI must cross below 30 to become oversold. RSI Overbought in Downtrend: This scan reveals stocks that are in a downtrend with overbought RSI turning down. First, stocks must be below their 200-day moving average to be in an overall downtrend. Second, CCI must cross above 70 to become overbought.

Further Study
Book: New Concepts in Technical Trading Systems by Welles Wilder. From the creator, this book features a chapter on RSI that discloses the formula and five things RSI can tell us. This classic also covers the Parabolic SAR, the Average Directional Index (ADX), Average True Range (ATR) and more. Book: Technical Analysis for the Trading Professional by Constance Brown. Brown takes RSI to a new level with bull market and bear market ranges, positive and negative reversals, and projections based on RSI. Some methods of Andrew Cardwell, her RSI mentor, are also explained and refined in this book.

What Does Rate Of Change Mean? The speed at which a variable changes over a specific period of time. Rate of change is often used when speaking about momentum, and it can generally be expressed as a ratio between a change in one variable relative to a corresponding change in another. Graphically, the rate of change is represented by the slope of a line.

Investopedia explains Rate Of Change Rate of change is often illustrated by the Greek letter delta. Many traders pay close attention to the speed at which one variable changes relative to another. For example, option traders study the relationship between the rate of change in the price of an option relative to a small change in the price of the underlying asset, known as an options delta. Read more: [Link]

Rate of Change (ROC)


Introduction
The Rate-of-Change (ROC) indicator, which is also referred to as simply Momentum, is a pure momentum oscillator that measures the percent change in price from one period to the next. The ROC calculation compares the current price with the price "n" periods ago. The plot forms an oscillator that fluctuates above and below the zero line as the Rate-of-Change moves from positive to negative. As a momentum oscillator, ROC signals include centerline crossovers, divergences and overbought-oversold readings. Divergences fail to foreshadow reversals more often than not so this article will forgo a discussion on divergences. Even though centerline crossovers are prone to whipsaw, especially short-term, these crossovers can be used to identify the overall trend. Identifying overbought or oversold extremes comes natural to the Rate-ofChange oscillator.

Calculation
ROC = [(Close - Close n periods ago) / (Close n periods ago)] * 100

Click here for download this spreadsheet example.

The table above shows the 12-day Rate-of-Change calculations for the Dow Industrials in May 2010. The yellow cells show the Rate-of-Change from April 28th to May 14th. It is actually 13 trading days, but the close on the 28th acts as the starting point on the 29th. The blue cells show the 12-day Rate-of-Change from May 7th until May 25th.

Interpretation
As noted above, the Rate-of-Change indicator is momentum in its purest form. It measures the percentage increase or decrease in price over a given period of time. Think of its as the rise (price change) over the run (time). In general, prices are rising as long as the Rate-of-Change remains positive. Conversely, prices are falling when the Rate-of-Change is negative. ROC expands into positive territory as an advance accelerates. ROC dives deeper into negative territory as a decline accelerates. There is no upward boundary on the Rate-of-Change. The sky is the limit for an advance. There is, however, a downside limit. Securities can only decline 100%, which would be to zero. Even with these lopsided boundaries, Rate-of-Change produces identifiable extremes that signal overbought and oversold conditions.

Trend Identification

Even though momentum oscillators are best suited for trading ranges or zigzag trends, they can also be used to define the overall direction of the underlying trend. There are approximately 250 trading days in a year. This can be broken down into 125 days per half year, 63 days per quarter and 21 days per month. A trend reversal starts with the shortest timeframe and gradually spreads to the other timeframes. In general, the long-term trend is up when both the 250-day and 125-day Rate-of-Change are positive. This means that prices are higher now than they were 12 and 6 months ago. Long positions taken 6 or 12 months ago would be profitable and buyers would be happy.

Chart 2 shows IBM with the 250-day, 125-day, 63-day and 21-day Rate-of-Change. There have been three big trends in the last three years. The first was up as the 250-day Rate-of-Change was largely positive until September 2008 (1). The second was down as the indicator turned negative from October 2008 until September 2009 (2). The third is up as the indicator turned positive in

late September 2009 (3). Even though the big uptrend remains in force, IBM flattened out on the price chart and this affected the 125-day and 63-day Rate-of-Change. The 63-day Rate-ofChange (quarterly) has been flirting with negative territory since February (4). The 125-day Rate-of-Change (six month) dipped into negative territory for the first time since April 2009 (5). This shows some deterioration in IBM that serves as an alert to watch the stock carefully. A break below the six month trading range would be a bearish development (6).

Overbought/Oversold Extremes
There are basically three price movements: up, down and sideways. Momentum oscillators are ideally suited for sideways price action with regular fluctuations. This makes it easier to identify extremes and forecast turning points. Security prices can also fluctuate when trending. For example, an uptrend consists of a series of higher highs and higher lows as prices zigzag higher. Pullbacks often occur at regular intervals based on the percentage move, time elapsed or both. A downtrend consists of lower lows and lower highs as prices zigzag lower. Counter trend advances retrace a portion of the prior decline and usually peak below the prior high. Peaks can occur at regular intervals based on the percentage move, time elapsed or both. The Rate-ofChange can be used to identify periods when the percentage change nears a level that foreshadowed a turning point in the past.

Chart 3 shows Aetna (AET) with an uptrend from April 2009 until April 2010. Notice how the stock zigzagged up with a series of higher highs and higher lows. Because the overall trend was

up, the Rate-of-Change indicator was used to identify short-term oversold levels as a chance to partake in the bigger uptrend. Short-term overbought signals were ignored because the bigger trend was up. Based on the May-June bounces, -10% was set as the oversold boundary. Movements below this level indicated that prices were at a short-term extreme. Overbought and oversold settings depend on the volatility of the underlying security. A more volatile stock may use -15% for oversold, while a less volatile stock may use -5%. Oversold readings serve as an alert to be ready for a turning point. Prices are oversold, but have yet to actually turn. Remember, a security can become oversold and remain oversold as the decline continues. A 20-day moving average was overlaid to identify an actual upturn. After ROC became oversold in early October, AET moved above its 20-day SMA in late October to confirm an upturn (1). The second oversold reading occurred in early February and AET moved above its 20-day SMA in late February (2).

Chart 4 shows Microsoft (MSFT) in a downtrend from November 2007 until March 2009. This example uses a 20-day Rate-of-Change to identify oversold levels within a bigger downtrend. The number of time periods depends on the individual security and the desired trading timeframe. The late December high occurred with an overbought reading above +10%. This means Microsoft was up over 10% in a 20-day period, which is about a month. That's a pretty good bounce within a bigger downtrend. The next overbought reading did not occur until April when the Rate-of-Change again exceeded +10%. MSFT broke trendline support in May to signal a continuation of the downtrend. The next overbought reading occurred in early August 2008. It

took a while, but the stock eventually broke support at 24 in mid September and again in early October.

Chart 5 shows Abercrombie & Fitch (ANF) within a trading range from October 2006 to February 2008. The 20-day Rate-of-Change indicator sets overbought at +10% and oversold at 10%. The overbought and oversold levels identify extremes quite well, but timing the actual turn is more difficult because of the volatility. The next chart reduces this volatility by using a exponential moving average in place of the price plot.

Chart 6 shows ANF as a 10-day EMA (black) and the actual price plot is invisible. A 30-day EMA has been overlaid as a signal line. Furthermore, the 20-day Rate-of-Change is shown with a 5-day SMA to smooth out the fluctuations. There are fewer overbought and oversold readings using the 5-day SMA. Focusing only on the buy signals, the green dotted line shows when ROC exceeds -10% and the green arrow shows when the 10-day EMA crosses above the 30-day SMA. The oversold readings are usually early, but the moving average crossovers are usually late. Such is life with technical analysis. The point here is to reduce whipsaws by smoothing the data. SharpCharts subscribers can click the chart to see and save the settings. A 10-day EMA was used because it is faster than a 10-day SMA. A 30-day SMA was used because it is slower than a 30day EMA. Speeding up the shorter moving average and slowing down the longer moving average makes for slightly quicker signals.

Conclusions
The Rate-of-Change oscillator measures the speed at which prices are changing. An upward surge in the Rate-of-Change reflects a sharp price advance. A downward plunge indicates a steep price decline. Even though chartists can look for bullish and bearish divergences, these

formations can be misleading because of sharp moves. Sustained advances often start with a big surge out of the gate. Subsequent advances are usually less sharp and this causes a bearish divergence to form in the Rate-of-Change oscillator. It is important to remember that prices are constantly increasing as long as the Rate-of-Change remains positive. Positive readings may be less than before, but a positive Rate-of-Change still reflects a price increase, not a price decline. Like all technical indicator, the Rate-of-Change oscillator should be used in conjunction with other aspects of technical analysis.

ROC and SharpCharts


Rate-of-Change can be set as an indicator above, below or behind a security's price plot. Once the indicator is chosen from the drop down list, the default parameter setting appears (12). This parameter can be adjusted to increase or decrease sensitivity. Users can add a moving average by clicking "advanced options" and choosing an overlay. A moving average can be used as a signal line or to simply smooth the data. Horizontal lines can also be added to mark overbought or oversold levels. Click here for a live example of Rate-of-Change.

Suggested Scans
Oversold Rate-of-Change: This scan reveals stocks with a positive 125-day Rate-of-Change and an oversold 21-day Rate-of-Change (below -8%). Once these criteria are met, a bullish signal is triggered when the stock closes above the 20-day SMA. Overbought Rate-of-Change: This scan reveals stocks with a negative 125-day Rate-of-Change and an overbought 21-day Rate-of-Change (above 8%). Once these criteria are met, a bearish signal is triggered when the stock closes below the 20-day SMA.

Further Study
Book: Technical Analysis of the Financial Markets by John J. Murphy. This book has a chapter devoted to momentum oscillators and their various uses. Murphy covers the pros and cons as well as some examples specific to Rate-of-Change. Book: Technical Analysis Explained by Martin Pring. This book shows the basics of momentum indicators by covering divergences, crossovers and other signals. There are two more chapters covering specific momentum indicators with plenty of examples

You might also like