Developed by J. Welles Wilder and introduced in his 1978 book, New Concepts in Technical Trading Systems, the Relative Strength Index (RSI) is an extremely useful and popular momentum oscillator.

The RSI compares the magnitude of a stock's recent gains to the magnitude of its recent losses and turns that information into a number that ranges from 0 to 100. Like most indicators, the RSI only needs one stock to be computed.

Calculation

n = number of days

Average gain = (total gains/n)/(total losses/n)

For First RS = (Aver.Gain/Aver Loss)

RSI=100-(100/1+RS)

Interpretation

Overbought/Oversold

If the RSI rises above 30 it is considered bullish for the underlying stock.

If the RSI falls below 70, it is a bearish signal.

Trading Signals & Divergences

Buy and sell signals can also be generated by looking for positive and negative divergences between the RSI and the underlying stock.

Positive divergence

Buy when price and the Relative Strength Index are both rising.

Sell when the price and the RSI are both falling.

Negative divergence

Buy when price falls and but RSI does not fall instead goes up.

Sell when the price goes up and but RSI does not go up instead falls by good margin

The underlying stock will often reverse its direction soon after such a divergence.

To Calculate Formula in Excel For RSI

Column,Description, = Formula To Enter,Cell No. to Enter

A=Date

B=Open/Previous Close

C=High

D=Low

E=Close

F=Volumes

To compute Gain/Loss:

G = % Change, =E3-E2, In G3 & AutoFill (Copy)( Press Shift +D on Kybrd)

To compute Gain only:

H= Advance, =IF(G3>0,G3,0) ,In H3 & AutoFill (Copy)( Press Shift +D on Kybrd)

To compute Loss only:

I= Decline, =IF(G3<0,G3,0) ,In I3 & AutoFill (Copy)( Press Shift +D on Kybrd)

To compute Average Gain:

J=Average Losses,=AVERAGE(H3:H16),In J16 & AutoFill (Copy)( Press Shift +D on Kybrd)

To compute Average Loss:

K=Average Losses,=AVERAGE(I3:I16),In K16 & AutoFill (Copy)( Press Shift +D on Kybrd)

L=For First RS,= (Aver.Gain/Aver Loss)

L=RS,=ABS(J16/K16),In L16 & AutoFill (Copy)( Press Shift +D on Kybrd)

M=RSI(14 day),=100-(100/1+RS)

M=RSI,=IF(K16=0,100,100-(100/(1+L16))),In M16 & AutoFill (Copy)( Press Shift +D on Kybrd)

## 5 comments:

RSI picture

http://bp3.blogger.com/_rFxFyFsbzlw/Rzr98Fv7PfI/AAAAAAAAAK8/ssYGijXOQuY/s320/Rsi+copy.jpg

too small, cannot see anything,

can you upload again large picture??

Thank You.

sorry man,

i dont have larger picture...

i lost original backup during system restore :(

(p.s.will upload another picture,if possible without formula tags)

Guys,

Please help me. My MACD and signal line are both exactly the same. No crossovers... What does that mean?

thank you

Hi, you seem to be an Excel wizard!

Im wondering if you can help me?

I've read your posts regarding calculating the MACD, RSI, MA's and Bollinger Bands.

As part of a coursework I'm investigating the performance of those indicators against the classic 'buy and hold' strategy - using data from the FX market (major currency pairs).

However, even after reading books etc I'm having major trouble trying to compile the MS Excel code.

Is this something you could help with?

Please advise.

Ross

Mr. Ross Gordon,

can you please send me the requirements to my email id:

geniusjaggu at gmail.com

Post a Comment