Questions
When the RSI-Indicator was sending the oversold signal, which position do you take either Long or Short?
When the RSI-Indicator was sending the overbought signal, which position do you take either Short or Long?
And, when the RSI-Indicator was sending the divergence(convergence) signal, which position do you take either Short or Long?

Introduction
My answers of that simple questions are Short, Long, and Short(Long). Those are very simple questions about a RSI-Indicator. And it is this articles main theme. If we want to find out that answer, we should make a strategy and should be back-test it for getting some samples. But, it sounds tough? Actually, no, not at all. It is very easy for users of the Dukascopy's JForex platform. It’s designed for traders interested in automated trading and developing and testing trading strategies based on the JAVA programming language. So anybody can easily make the Strategies, Indicators, or Plugins, and test it. And important thing is that automated trading strategy can be used for not only daily trading but the simple research. But unfortunately this advantage have been often overlooked… Anyway, in this study, we going to answer the first questions by totally depend on that advantage.

What is RSI?
At first, we explains what is RSI. Wikipedia said,
The relative strength index (RSI) 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 RSI is classified as a momentum oscillator, measuring the velocity and magnitude of directional price movements. Momentum is the rate of the rise or fall in price.
By Wikipedia.

And, in this study, we use the Dukascopy’s default RSI-Inidicator which was setting period as 26.

Trading Rules

Next, we explain briefly about trading rules of strategy which was using for getting sample data. It's a kind of the breakout trading strategy. Point is that it is a counter type strategy. When last bar's close price was hit the MinMax Line, then it take a position which is against the breakout direction. Period of MinMax Line is 26. Stop Loss is 0.5% of the entry price. Take Profit is 0.1% of the entry price. Check the chap.2 of this articles for more details.









Data Analysis
All right then, let’s move onto the main subject of this study. Look at the right graph and the following table.

*Important: RSI values in this study are all adjusted to same direction. The RSI values of the Long position (orders which was breakout the min line) is already all inverted (100-RSI value). Simply put, it's almost same as absolute value of RSI - 50. So, 0 means no trend, 100 means overtrend (overheats).*


0~49
50~54
55~59
60~64
65~69
70~74
75~79
80~100
2004
328
2326
5328
3758
1898
765
184
39
2005
424
2203
4870
3877
2162
978
291
83
2006
335
2186
4753
3768
1948
835
240
74
2007
389
2332
5286
4001
1840
727
231
52
2008
282
1846
4183
3788
2157
831
252
38
2009
276
1962
4391
4381
2060
723
129
38
2010
323
1939
4402
4253
2208
874
206
30
2011
308
1739
4188
3947
2219
805
233
35
2012
344
1720
3956
3601
2050
808
255
41
2013
357
1949
4124
3405
1868
736
219
55
2014
353
2006
4413
3602
1885
674
249
77
Total
3719
22208
49894
42381
22295
8756
2489
562


That table shows numbers of total orders per year. These values are arranged according to the RSI value. If you look at this distribution, it's clear there are some tendency. There are many orders which RSI value is between 50 and 70. Especially orders between 55 and 65 are so many. Look at the right graph, it is for 60% of the total orders. In contrast, number of orders which RSI value is more than equals to 80 are extremely low.









And the following table shows numbers of total gain pips per year.


0~49
50~54
55~59
60~64
65~69
70~74
75~79
80~100
2004764.35800.279197027.1679.5593.4-400.9-404.2
2005-216-3568.6-4410.8-1618.8-4894.7-4716.3-2671.2-1296.5
2006536.9-142.4-2695.7522.874.8-1902.7-4953.8
200751.8517.36716.4-1212.1-1978.6-253.9562.4-68.3
2008533.7-34997.2946.52110.2-1532.6-766.9-478
20092774044.911212934.4-1401.51291-1400-19.5
2010744.4-592.1-3291-7825.3-4076.6-2176-750-184.8
20111546.418224877.7-2408.2802.7-757.1-1474.1-205.2
2012499.2-139.2-5428.2-2979.9-6822.5-1950423.5239.4
20131061.72530.27359.46721.44050.81508.44.8-472.9
2014274954.4644.45208.62249.8231.2-578-121
Total
6073.410877.712909.47316.5-9206.1-9664.6-7099.4-4051.2

But at this rate, it's little bit difficult to understand. So we transformed(total gain pips / number of total order) that value to average gain pips per 1 order. The table after dividing is as below.


0~49
50~54
55~59
60~64
65~69
70~74
75~79
80~100
20042.332.491.491.870.360.78-2.18-10.36
2005-0.51-1.62-0.91-0.42-2.26-4.82-9.18-15.62
20061.6-0.07-0.570.140.04-2.28-0.20.73
20070.130.221.27-0.3-1.08-0.352.43-1.31
20081.89-0.190.020.250.98-1.84-3.04-12.58
200912.060.260.67-0.681.79-10.85-0.51
20102.3-0.31-0.75-1.84-1.85-2.49-3.64-6.16
20115.021.051.16-0.610.36-0.94-6.33-5.86
20121.45-0.08-1.37-0.83-3.33-2.411.665.84
20132.971.31.781.972.172.050.02-8.6
20140.780.480.151.451.190.34-2.32-15.78
Total
1.630.490.260.17-0.41-1.1-2.85-7.21
Putting it simply, most profitable RSI value is less than 50, and it gained 1.63 pips per 1 trade. Worst RSI value is more than 80, and it lost 7.21 pips per 1 trade. On the row of total in the table, you can see that numbers are lined up neatly. As you can see, the result of trade is correlate closely with RSI value. The stronger RSI-Indicator's overheat signals, the worse trading result. This sample strategy is counter type. So in other words, the RSI-Indicator's high level overheat signals suggest that there is high possibility of trend continue to expand.







Look at right graph. We did divide a previous table into 2 groups. Group A is contained the orders which RSI value is less than 65. Group B is contained the orders which RSI value is not less than 65.
You'll notice that, in this 11 years, eleven out of eleven, when RSI value was less than 65, counter strategy gained more pips than other group.

Conclusion 1:
When the RSI-Indicator was sending the oversold signal, which position do you take either Long or Short? This study’s answer is Short, sell it more!

When the RSI-Indicator was sending the overbought signal, which position do you take either Short or Long? This study’s answer is Long, buy it more!

Basically, when the RSI send the signal of overheats, we should not take a position to the direction against the price trend. Please don't misunderstanding the messages from RSI indicator. His oversold signal is not the buy signal. Overbought signal is not the sell signal.

F.Y.I.
The RSI value of the opposite point has something meaning?
*Opposite point is opposite point of the break out point. In another words, trend-start point. E.g. Upper break's opposite position is that bar which has lowest close price of last 26 bars. Downer break's opposite position is that bar which has highest close price of last 26 bars.*
The table as below is numbers of total orders per year.


0~39
40~44
45~49
50~54
55~59
60~64
65~69
70~100
20044197051952382343672378738244
20054117491826373344272408976358
20063186731813374639722317969331
20072686962018408542992257888347
20083407011752346835962242944334
20093146401992348137782601917237
20103557711862352140602406904356
20113757231814332336242493809313
20122656881656336434282285845244
20132254761748320536762154836393
20142517141728334038632135940288
Total
354175362016139089430902567697663445

Of course these RSI values are adjusted to same direction. The RSI values of the short position (orders which was breakout the max line) is already all inverted (100-RSI value). And the following table is shown numbers of total gain pips per year.


0~3940~4445~4950~5455~5960~6465~6970~100
20041193.8818.55259.76851.74076.35036.1-368.3-889.4
2005-1599.6327.5-1042-7957.9-7698.9-4295-1242.9115.9
20061042.71107.71216.5-1978.8-1440.7-1663.9-1584.9-300.1
2007945.9-914.81636.63891.3-971.6-137.41387.3-1502.3
2008-909.1-1425.92405.42822.2-6736.32783.41221.7399.7
20091303-1221138.1-4822.449044048.26.9391.5
2010236-1991.82127.1-8338.5-3871.3-5513.71175.4-1974.6
201176.4-593.218795786.9-1485.5-197.8602.7-1864.3
2012-0.5-3695.7190.3-6880-5084.1-864.9-752.3929.5
2013-567.42241.72299.18432.97499.83879.332.6-1054.2
2014379.5227.62657.62476.3-52.52277-80.4-115.7
Total2100.7-4020.419767.4283.7-10860.85351.3397.8-5864

And after transformed(total gain pips / number of total order) that value to average gain pips per 1 order is the right graph. It's shows average gain pips. Group A is contained the orders which RSI value is less than 50. Group B is contained the orders which RSI value is not less than 50. As you can see, anyway, it seems that when there aren't strong trend in the break point or the trend start point, counter strategy is better.







Divergence / Convergence

Next, we explain about trading result of divergence and convergence. What is Divergence or Convergence? Those signasl are means that the trend line of the RSI goes to the opposite direction to the trend line of the Price. That is, the situation is like this, in spite of the price trend expanding, the RSI's heat is decreasing.

E.g.
Please look at the right graphs, the first one is image of the divergence situation. the RSI value goes down against upper trend of the price. We call this situation "Divergence".
On the other hand, look at the second graph, it is image of the convergence situation, The RSI value goes up against downer trend of the price. We call this situation "Convergence".

And, the criterion of Divergence and Convergence in this study is the following situation. The Price broke out the last 26 bars highest( lowest) value, but the RSI not succeeded to break the last 26 bars highest(lowest) value.

The following table explains stats of the NoDC (no divergence or convergence signaled) orders and the DC (divergence or convergence signaled) orders.


NoDC



DC



Orders
Pips
AVG

Orders
Pips
AVG
20049532129051.35
50949073.41.78
20059702-18806.9-1.94
5186-4586-0.88
20069351-6720.4-0.72
47883118.90.65
20079747890.10.09
51113444.90.67
20089487-812.5-0.09
38901373.60.35
200998336937.80.71
4127-90.5-0.02
20109830-15703.8-1.6
4405-2447.6-0.56
201195693216.20.34
39059880.25
20129079-12598-1.39
3696-3559.7-0.96
2013911714252.11.56
35968511.72.37
201493467374.90.79
3913394.50.1
Total
104593-9065.5-0.09
4771116221.20.34


Look at the left graph. It's shows the both group's number of orders. Orders which with the signals are 31% of all orders. In my opinion, it was little bit bigger than I expected.











Conclusion 2:

Next, please look at the right graph. It is shows the both group's average gain pips per 1 order. On this graph, you can see that group DC is more profitable than other in long term. So when the RSI-Indicator was sending the divergence(convergence) signal, we should take a position to against the price trend direction. Simply put, the divergence is sell-signal, the convergence is buy-signal.
Conversely, If you want to follow the price trend, you should wait the situations which there aren't divergence and convergence signal at breakpoint.




F.Y.I
The RSI's diver/convergence signal of the opposite point has something meaning?
The following table shows result of the opposite point. Left block is the result of NoDC (no divergence or convergence signaled) orders, right block is the result of the DC (divergence or convergence signaled) orders.


NoDC



DC

Orders
Pips
AVG

Orders
Pips
AVG
200454358674.41.6
9191133041.45
20055487-8352.7-1.52
9401-15040.2-1.6
20065130-2899.1-0.57
9009-702.4-0.08
20075508-1721.4-0.31
93506056.40.65
20084922-7720.9-1.57
845582820.98
200955521548.30.28
840852990.63
20105363-16600.9-3.1
8872-1550.5-0.17
20115246-3194.1-0.61
82287398.30.9
20124991-5674.6-1.14
7784-10483.1-1.35
201348037714.91.61
791015048.91.9
20145203-1578.2-0.3
80569347.61.16
Total
57640-29804.3-0.52
94664369600.39


From the right graph, we can read the following things. Divergence/Convergence signal of the opposite point is make counter strategy more profitable. In other words, the signal at breakpoint suggest the force for pushing back, but that power is very temporary. We shouldn't follow the trend when the opposite point sent the signal.













So I doubt the theory like right figures!!
Translate to English Show original