HOME

TheInfoList



OR:

The relative strength index (RSI) is a
technical indicator In technical analysis in finance, a technical indicator is a mathematical calculation based on historic price, volume, or (in the case of futures contracts) open interest information that aims to forecast financial market direction. Technical in ...
used in the analysis of
financial market A financial market is a market in which people trade financial securities and derivatives at low transaction costs. Some of the securities include stocks and bonds, raw materials and precious metals, which are known in the financial markets ...
s. It is intended to chart the current and historical strength or weakness of a stock or market based on the closing prices of a recent trading period. The indicator should not be confused with
relative strength Relative strength is a ratio of a stock price performance to a market average (index) performance. It is used in technical analysis. It is not to be confused with relative strength index. To calculate the relative strength of a particular stock, ...
. The RSI is classified as a momentum
oscillator Oscillation is the repetitive or periodic variation, typically in time, of some measure about a central value (often a point of equilibrium) or between two or more different states. Familiar examples of oscillation include a swinging pendulum ...
, measuring the velocity and magnitude of price movements.
Momentum In Newtonian mechanics, momentum (more specifically linear momentum or translational momentum) is the product of the mass and velocity of an object. It is a vector quantity, possessing a magnitude and a direction. If is an object's mass an ...
is the rate of the rise or fall in price. The relative strength RS is given as the ratio of higher closes to lower closes, with closes here meaning averages of absolute values of price changes. The RSI computes momentum as the ratio of higher closes to overall closes: stocks which have had more or stronger positive changes have a higher RSI than stocks which have had more or stronger negative changes. The RSI is most typically used on a 14-day timeframe, measured on a scale from 0 to 100, with high and low levels marked at 70 and 30, respectively. Short or longer timeframes are used for alternately shorter or longer outlooks. High and low levels—80 and 20, or 90 and 10—occur less frequently but indicate stronger momentum. The relative strength index was developed by
J. Welles Wilder John Welles Wilder Jr. (June 11, 1935 – April 18, 2021) was an American mechanical engineer, turned real estate developer. He is best known, however, for his work in technical analysis. Wilder is the father of several technical indicators that ...
and published in a 1978 book, ''New Concepts in Technical Trading Systems'', and in '' Commodities'' magazine (now '' Modern Trader'' magazine) in the June 1978 issue.J. Welles Wilder, ''New Concepts in Technical Trading Systems'', It has become one of the most popular oscillator indices. The RSI provides signals that tell investors to buy when the security or currency is oversold and to sell when it is overbought. RSI with recommended parameters and its day-to-day optimization was tested and compared with other strategies in Marek and Šedivá (2017). The testing was randomised in time and companies (e.g.,
Apple An apple is an edible fruit produced by an apple tree (''Malus domestica''). Apple fruit tree, trees are agriculture, cultivated worldwide and are the most widely grown species in the genus ''Malus''. The tree originated in Central Asia, wh ...
, Exxon Mobil, IBM,
Microsoft Microsoft Corporation is an American multinational technology corporation producing computer software, consumer electronics, personal computers, and related services headquartered at the Microsoft Redmond campus located in Redmond, Washing ...
) and showed that RSI can still produce good results; however, in longer time it is usually overcome by the simple buy-and-hold strategy.


Calculation

For each trading period an upward change ''U'' or downward change ''D'' is calculated. Up periods are characterized by the close being higher than the previous close: : U = \text_\text - \text_\text :D = 0 Conversely, a down period is characterized by the close being lower than the previous period's close (note that D is nonetheless a positive number), : U = 0 : D = \text_\text - \text_\text If the last close is the same as the previous, both ''U'' and ''D'' are zero. The average ''U'' and ''D'' are calculated using an ''n''-period smoothed or modified moving average (SMMA or MMA) which is an exponentially smoothed Moving Average with ''α'' = 1/period. Some commercial packages, like AIQ, use a standard
exponential moving average In statistics, a moving average (rolling average or running average) is a calculation to analyze data points by creating a series of averages of different subsets of the full data set. It is also called a moving mean (MM) or rolling mean and is ...
(EMA) as the average instead of Wilder's SMMA. Wilder originally formulated the calculation of the moving average as: newval = (prevval * (period - 1) + newdata) / period. This is fully equivalent to the aforementioned exponential smoothing. New data is simply divided by period which is equal to the alpha calculated value of 1/period. Previous average values are modified by (period -1)/period which in effect is period/period - 1/period and finally 1 - 1/period which is 1 - alpha. The ratio of these averages is the ''relative strength'' or ''relative strength factor'': : RS = \frac If the average of ''D'' values is zero, then according to the equation, the RS value will approach infinity, so that the resulting RSI, as computed below, will approach 100. The relative strength factor is then converted to a relative strength index between 0 and 100: : RSI = 100 - The smoothed moving averages should be appropriately initialized with a simple moving average using the first ''n'' values in the price series.


Interpretation


Basic configuration

The RSI is presented on a graph above or below the price chart. The indicator has an upper line, typically at 70, a lower line at 30, and a dashed mid-line at 50. Wilder recommended a smoothing period of 14 (see
exponential smoothing Exponential smoothing is a rule of thumb technique for smoothing time series data using the exponential window function. Whereas in the simple moving average the past observations are weighted equally, exponential functions are used to assign expo ...
, i.e. ''α'' = 1/14 or ''N'' = 14).


Principles

Wilder posited that when price moves up very rapidly, at some point it is considered overbought. Likewise, when price falls very rapidly, at some point it is considered oversold. In either case, Wilder deemed a reaction or reversal imminent. The level of the RSI is a measure of the stock's recent trading strength. The slope of the RSI is directly proportional to the velocity of a change in the trend. The distance traveled by the RSI is proportional to the magnitude of the move. Wilder believed that tops and bottoms are indicated when RSI goes above 70 or drops below 30. Traditionally, RSI readings greater than the 70 level are considered to be in overbought territory, and RSI readings lower than the 30 level are considered to be in oversold territory. In between the 30 and 70 level is considered neutral, with the 50 level a sign of no trend.


Divergence

Wilder further believed that divergence between RSI and price action is a very strong indication that a market turning point is imminent. Bearish divergence occurs when price makes a new high but the RSI makes a lower high, thus failing to confirm. Bullish divergence occurs when price makes a new low but RSI makes a higher low.


Overbought and oversold conditions

Wilder thought that "failure swings" above 50 and below 50 on the RSI are strong indications of market reversals. For example, assume the RSI hits 76, pulls back to 72, then rises to 77. If it falls below 72, Wilder would consider this a "failure swing" above 70. Finally, Wilder wrote that chart formations and areas of support and resistance could sometimes be more easily seen on the RSI chart as opposed to the price chart. The center line for the relative strength index is 50, which is often seen as both the support and resistance line for the indicator. If the relative strength index is below 50, it generally means that the stock's losses are greater than the gains. When the relative strength index is above 50, it generally means that the gains are greater than the losses.


Uptrends and downtrends

In addition to Wilder's original theories of RSI interpretation, Andrew Cardwell has developed several new interpretations of RSI to help determine and confirm trend. First, Cardwell noticed that uptrends generally traded between RSI 40 and 80, while downtrends usually traded between RSI 60 and 20. Cardwell observed when securities change from uptrend to downtrend and vice versa, the RSI will undergo a "range shift." Next, Cardwell noted that bearish divergence: 1) only occurs in uptrends, and 2) mostly only leads to a brief correction instead of a reversal in trend. Therefore, bearish divergence is a sign confirming an uptrend. Similarly, bullish divergence is a sign confirming a downtrend.


Reversals

Finally, Cardwell discovered the existence of positive and negative reversals in the RSI. Reversals are the opposite of divergence. For example, a positive reversal occurs when an uptrend price correction results in a higher low compared to the last price correction, while RSI results in a lower low compared to the prior correction. A negative reversal happens when a downtrend rally results in a lower high compared to the last downtrend rally, but RSI makes a higher high compared to the prior rally. In other words, despite stronger momentum as seen by the higher high or lower low in the RSI, price could not make a higher high or lower low. This is evidence the main trend is about to resume. Cardwell noted that positive reversals only happen in uptrends while negative reversals only occur in downtrends, and therefore their existence confirms the trend.


Cutler's RSI

A variation called Cutler's RSI is based on a
simple moving average In statistics, a moving average (rolling average or running average) is a calculation to analyze data points by creating a series of averages of different subsets of the full data set. It is also called a moving mean (MM) or rolling mean and is ...
of ''U'' and ''D'',Cutler's RSI page
at Aspen Graphics Technical Analysis Software
instead of the exponential average above. Cutler had found that since Wilder used a smoothed moving average to calculate RSI, the value of Wilder's RSI depended upon where in the data file his calculations started. Cutler termed this Data Length Dependency. Cutler's RSI is not data length dependent, and returns consistent results regardless of the length of, or the starting point within a data file. : RS = \frac Cutler's RSI generally comes out slightly different from the normal Wilder RSI, but the two are similar, since SMA and SMMA are also similar.


See also

* Stochastic Oscillator *
MACD MACD, short for moving average convergence/divergence, is a trading indicator used in technical analysis of securities prices, created by Gerald Appel in the late 1970s. It is designed to reveal changes in the strength, direction, momentum, a ...
, moving average convergence/divergence * True strength index, a similar momentum-based indicator


References


External links

{{technical analysis Technical indicators