How to Calculate the RSI Indicator in Excel - YouTube

Channel: Mark Ursell

[1]
Hello this is Mark from Tradinformed.com
[3]
and welcome to this video on how to calculate
[8]
the RSI Indicator. The RSI is the relative
[13]
strength index and it is a type
[16]
of momentum indicator the RSI literally
[21]
calculates the strength of the most recent close
[24]
compared to a set number a previous periods.
[27]
And we use the RSI to measure
[30]
and identify changes in the market trend
[34]
Now we're going to calculate the RSI indicator
[37]
and in the spreadsheet on the screen and I've got some historic data
[42]
already loaded onto the spreadsheet. I'm going to start here in this first column
[49]
and call it upward movement and the next column
[53]
I'm going to call it downward movement. And in the upward movement column what I want to identify
[61]
is that if the current close is greater than the previous close
[64]
then measure the difference between them. And likewise in
[68]
downward movement column I want to identify if
[71]
the current close is lower than the previous close
[75]
then again identify the difference and we do this by using an IF Statement
[81]
And I'm going to say = IF the current Close
[85]
greater than the previous close then
[89]
calculate the difference between these prices
[92]
and if not then do nothing
[95]
And likewise in here
[99]
we will then say = IF the current Close is
[102]
lower than the previous close and again
[106]
calculate the difference between them and if not
[111]
then do nothing. So we can drag these down to the
[117]
cells below. And the next two columns I'm going to work out the
[122]
average of these 2 movements. I'm going to put it here
[126]
the average upward movement and here the average downward movement
[136]
And I'm going to set a set number of
[140]
periods, this is a variable of the RSI Indicator and I'm
[143]
going to start off with 14 so I'm going to measure down 14 cells
[150]
and put in here =
[153]
Average and we take the average of these 14
[158]
periods. And I'm going to do the same
[163]
for the downward movement here. The cell below I'm going to use
[168]
a slightly different formula to calculate the next average
[171]
and this is previous average multiplied
[176]
by the number of periods -1
[180]
plus the current upward movement. And I take
[186]
all of that and divide it by the number of periods
[190]
periods. And go back into this
[194]
cell and because I specified cell U2
[198]
is an absolute reference cell. And I press F4
[202]
to make it a fixed cell
[206]
I do the same here, I take the previous average
[210]
multiply it by the number of periods
[213]
-1 and I'm going to add
[217]
to it the current downward movement and divide all of it
[223]
by the number period and again I'll go back into this
[228]
press F4
[231]
OK so these can now be copied down to the cells below.
[236]
This next column we're
[241]
going to work out the relative strength and this is simply the
[246]
current average upward movement divided by the current average downward
[251]
movement. And in our
[257]
final cell we're going to work out the RSI
[261]
the formula we use for this is =100
[264]
- 100
[268]
divided by the relative strength
[271]
+ 1. We put brackets around
[278]
this sum here
[284]
And then we can copy them down to the cells below by clicking on the bottom right hand corner
[288]
okay so there we have the RSI indicator
[292]
calculated in Excel if you're interested
[296]
in using indicators, technical indicators to
[300]
backtest your own trading strategies you may want to have a look
[304]
at my eBook course "How to Backtest
[307]
a Trading Strategy in Excel" there is a link on the screen to
[310]
get more information about this. Thank you very much
[316]
for more information about trading and backtesting using
[320]
Excel please visit:
[323]
www.Tradinformed.com