Study: Buy HDFC when RSI is oversold

home > technical-strategy > hdfc > 59

In this study, we evaluate the performance of strategy "Buy HDFC when RSI is oversold" under various conditions.

X Analysis

In the table below, we find out the performance of this trading strategy under following scenario: buy HDFC at the closing price whenever the signal triggers (Rs. 2Lac per trade). Then cover the position "X" trading days later at close_price i.e. sell after "X" trading days. Here are the results of this study:

X DaysNet ProfitTotal TradesWinning TradesLosing Trades% ProfitableAvg Winning TradeMax Winning TradeAvg Losing TradeMax Losing TradeWin/Loss RatioProfit FactorSharpe RatioAvg Trade
160047.31402416606037.9521547.25-5303.97-14423.341.141.710.0421501.18
276351.1840251562.56288.7920191.5-5391.24-19496.861.171.940.0521908.78
393982.7402416607802.6726242.82-5830.08-24187.261.342.010.0522349.57
410521940231757.59245.8624016.32-6319.74-16863.051.461.980.0562630.48
5176357402614659638.7628184.44-5303.66-16508.721.823.380.0944408.91
62299074026146511818.4729919.57-5526.65-21163.112.143.970.15747.67
72391644024166012675.7333121.41-4065.86-12705.573.124.680.115979.09
82750624028127012226.6647920.34-5607.04-21321.112.185.090.116876.55
92344554026146512686.6848732.29-6814.22-14356.041.863.460.0925861.36
102146014024166014082.7349544.24-7711.55-22028.061.832.740.0755365.02

From the table above, we see that best results are achieved by holding positions for 8 trading days. Profit factor is 5.09. Strategy is very good and impressively bullish. Percentage of profitable trades is 70%, which is good. Average return per trade is 3.44%, which is very good.
In the chart below, we plot cumulative trade gain versus trades. This chart is important and informative as it shows the performance of strategy over time.
HDFC Performance, X=8, Profit Factor:5.09

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2018124 Sep 2018 (-0.58%)
2017125 Oct 2017 (6.71%)
2016311 Feb 2016 (-1.46%), 17 Oct 2016 (5.88%), 15 Nov 2016 (1.49%)
2015230 Apr 2015 (4.22%), 24 Aug 2015 (0.37%)
2013207 Aug 2013 (2.41%), 28 Aug 2013 (23.96%)
2012116 May 2012 (6.96%)
2011107 Feb 2011 (10.06%)
2010121 Jan 2010 (3.23%)
2008422 Jan 2008 (19.51%), 10 Jun 2008 (3.27%), 01 Jul 2008 (8.67%), 10 Oct 2008 (10.64%)
2005123 Mar 2005 (2.48%)
2004217 Mar 2004 (5.64%), 14 May 2004 (5.29%)
2003312 Mar 2003 (-2.62%), 27 Mar 2003 (0.12%), 21 Apr 2003 (9.27%)
2002402 Jan 2002 (-0.22%), 22 Apr 2002 (5.83%), 29 May 2002 (4.66%), 26 Aug 2002 (2.62%)
2000126 Sep 2000 (0.92%)
1999115 Apr 1999 (-10.66%)
1998308 Jun 1998 (-2.53%), 25 Sep 1998 (-2.5%), 20 Oct 1998 (-2.18%)
1997215 Sep 1997 (-1.67%), 13 Nov 1997 (3.5%)
1996515 Jul 1996 (-6.39%), 29 Jul 1996 (11.92%), 17 Sep 1996 (2.76%), 04 Oct 1996 (-1.42%), 28 Nov 1996 (3.59%)
1995202 May 1995 (5.21%), 10 Nov 1995 (-1.4%)

Strategy Analysis - Exit Criteria

In the study above, exit criterion was that hold the position for "X" trading days. That's one possible exit criterion. However, we can have more elaborate exit criteria. Now we study this strategy under other exit criteria. There are 3 things which you must get to know before proceeding further. Table below shows the performance of this strategy under various exit combinations. Note that nil,nil,-1 is a special exit combination where we just take the best result of "X" Analysis study above.

Stop LossAdjust Stop LossTargetAvg Holding PeriodNet ProfitTotal TradesWinning TradesLosing Trades% ProfitableAvg Winning TradeMax Winning TradeAvg Losing TradeMax Losing TradeWin/Loss RatioProfit FactorSharpe RatioAvg Trade
nilnil-182750624028127012226.6647920.34-5607.04-21321.112.185.090.116876.55
atrnil23.7728140769333647.8315817.3832526.27-6682.42-12141.542.372.170.0684078.36
atrtrail22.719746471323945.0712634.4730777.51-5303.55-11424.982.381.950.0552781.19
atrtrail-14.3217144771323945.0711821.4244298.73-5303.55-11424.982.231.830.0422414.74
atrtrail33.6516939971323945.0711757.4340782.01-5303.55-11424.982.221.820.0442385.91
atrnil37.5519645866224433.332321546166.26-7142.53-16263.143.251.630.042976.64

In the table above, row 1 shows the best exit criterion. Profit factor is 5.09. Strategy is very good and impressively bullish. Percentage of profitable trades is 70%, which is good. Average return per trade is 3.44%, which is very good.
Performance of strategy chart over time is same as above.

View performance of other stocks for this trading system.

Get Clearnifty's Android App.

Get clearnifty on Google Play
Get clearnifty on Google Play