Study: Buy HDFCBANK when above 200 SMA and near 50 SMA and above 50 SMA and RSI is above 50

home > technical-strategy > hdfcbank > 22

In this study, we evaluate the performance of strategy "Buy HDFCBANK when above 200 SMA and near 50 SMA and above 50 SMA and RSI is above 50" under various conditions.

X Analysis

In the table below, we find out the performance of this trading strategy under following scenario: buy HDFCBANK 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
197361.8777532468.832475.620797.72-1410.21-3508.771.763.880.0811264.44
211430777502764.943952.130484.33-3085.12-13666.071.282.370.0531484.5
313818977423554.55558128218.18-2748.93-13149.432.032.440.0591794.67
415995477443357.146684.3739886.85-4065.41-17964.711.642.190.0492077.32
515849077433455.847310.9442149.93-4584.73-14570.821.592.020.0472058.31
616681477492863.646516.9836916.55-5447.05-24281.121.22.090.052166.42
718111677482962.347095.1630975.95-5498.34-217761.292.140.0572352.15
816405977463159.747597.4631966.05-5981.42-19660.791.271.880.0472130.64
914318677492863.647402.529137.2-7840.6-21759.660.941.650.0391859.56
1014145377463159.748019.2733427.31-7336.57-25751.071.091.620.0371837.05

From the table above, we see that best results are achieved by holding positions for 1 trading days. Profit factor is 3.88. Strategy is very good and impressively bullish. Percentage of profitable trades is 68.83%, which is good. Average return per trade is 0.63%, which is not very high, don't trade solely on the basis of this study. Sharpe Ratio is 0.081, which is low, don't trade solely on the basis of this study.
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.
HDFCBANK Performance, X=1, Profit Factor:3.88

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2019305 Feb 2019 (0.41%), 21 Feb 2019 (-1.16%), 08 Mar 2019 (0.01%)
2018301 Jan 2018 (0.96%), 26 Feb 2018 (-0.47%), 26 Mar 2018 (-0.04%)
2017510 Jan 2017 (1.62%), 06 Oct 2017 (-0.26%), 01 Nov 2017 (0.05%), 17 Nov 2017 (0.69%), 08 Dec 2017 (0.33%)
2016205 Jul 2016 (1.72%), 10 Nov 2016 (-0.22%)
2015620 Mar 2015 (-0.77%), 20 May 2015 (0.06%), 10 Jun 2015 (-1.52%), 29 Sep 2015 (0.38%), 27 Nov 2015 (-0.15%), 17 Dec 2015 (-0.67%)
2014420 Jan 2014 (0.9%), 20 Feb 2014 (0.25%), 21 Jul 2014 (1.5%), 14 Aug 2014 (0.68%)
2013514 Feb 2013 (0.29%), 12 Apr 2013 (-0.33%), 11 Jul 2013 (1.83%), 03 Dec 2013 (0.28%), 26 Dec 2013 (0.09%)
2012228 Mar 2012 (-0.65%), 08 Sep 2012 (0.02%)
2011618 Feb 2011 (1.18%), 27 May 2011 (0.17%), 16 Jun 2011 (0.27%), 07 Sep 2011 (-0.9%), 13 Oct 2011 (0.69%), 02 Dec 2011 (-0.78%)
2010618 Feb 2010 (0.6%), 07 Jul 2010 (0.43%), 01 Nov 2010 (0.05%), 15 Nov 2010 (-0.56%), 02 Dec 2010 (0.16%), 29 Dec 2010 (-0.96%)
2009322 Jul 2009 (0.96%), 21 Aug 2009 (1.28%), 04 Sep 2009 (0.9%)
2007412 Jan 2007 (3.05%), 22 Mar 2007 (-1.44%), 19 Apr 2007 (1.24%), 28 Aug 2007 (1.04%)
2006103 Jul 2006 (1.12%)
2005223 May 2005 (-0.63%), 08 Sep 2005 (3.08%)
2004823 Feb 2004 (1.18%), 30 Mar 2004 (2.6%), 22 Apr 2004 (1.25%), 09 Jun 2004 (2.35%), 28 Jun 2004 (0.3%), 12 Jul 2004 (-0.81%), 09 Aug 2004 (1.19%), 27 Aug 2004 (0.47%)
2003516 Apr 2003 (1.42%), 08 May 2003 (0.94%), 27 Jun 2003 (3.93%), 08 Sep 2003 (0.63%), 30 Sep 2003 (3.0%)
2002211 Feb 2002 (0.94%), 19 Mar 2002 (-0.15%)
2001117 Apr 2001 (-0.2%)
2000428 Apr 2000 (2.47%), 02 Jun 2000 (1.04%), 03 Aug 2000 (-1.07%), 04 Oct 2000 (-0.61%)
1997205 Sep 1997 (1.5%), 14 Oct 1997 (1.7%)
1996312 Jun 1996 (10.4%), 02 Sep 1996 (-1.75%), 19 Sep 1996 (-0.81%)

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-1197361.8777532468.832475.620797.72-1410.21-3508.771.763.880.0811264.44
50trail-15.06139923110357531.829328.9932727.02-2487.89-3942.233.751.750.0361272.03
50nil34.9192372.1898326632.659320.3411675.11-3119.37-3942.232.991.450.033942.57
50trail33.6571882.77110377333.646865.6911214-2495.17-3942.232.751.390.027653.48
atrtrail-16.1991098.3198425642.868040.7932825.72-4403.84-11077.881.831.370.023929.57
50nil23.4961644.5103416239.816258.447825.37-3144.38-3942.231.991.320.026598.49
50trail22.9955996.25110416937.275770.137825.37-2617.09-3942.232.21.310.025509.06
atrtrail35.4472947.9298425642.867608.6421411.58-4403.84-11077.881.731.30.02744.37
atrnil27.5878952.8283364743.3710221.5524900.61-6149.42-13926.721.661.270.022951.24
atrnil310.5357962.4177265133.7714579.5422730.15-6296.19-13926.722.321.180.015752.76
atrtrail24.8840806.9898425642.866843.3824900.61-4403.84-11077.881.551.170.012416.4

In the table above, row 1 shows the best exit criterion. Profit factor is 3.88. Strategy is very good and impressively bullish. Percentage of profitable trades is 68.83%, which is good. Average return per trade is 0.63%, which is not very high, don't trade solely on the basis of this study. Sharpe Ratio is 0.081, which is low, don't trade solely on the basis of this study.
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