Study: Buy HDFCBANK when RSI is above 50 and there is Bullish Crossover in MACD and ADX is Trending

home > technical-strategy > hdfcbank > 32

In this study, we evaluate the performance of strategy "Buy HDFCBANK when RSI is above 50 and there is Bullish Crossover in MACD and ADX is Trending" 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
142740.4161303149.184458.2340823.33-2935.69-6776.181.521.470.021700.66
244692.8561283345.96238.936706.69-3939.29-15858.071.581.340.018732.67
334503.961223936.079519.154545.45-4485.04-18756.432.121.20.01565.64
411559.95602436409670.5752830.19-6125.93-18170.581.581.050.0034192.67
5-22887.8660253541.678179.8652723.89-6496.7-22991.351.260.9-0.0067-381.46
6-9562.23602733458118.1956125.43-6931.92-21013.61.170.96-0.0028-159.37
711865.2560283246.678814.359367.53-7341.72-22126.081.21.050.0034197.75
8-48710.42602733458558.9340180.71-8478.83-31672.131.010.83-0.014-811.84
9-5084.4960312951.679249.143369.65-10062.3-35509.820.920.98-0.0013-84.74
101982.096030305010150.1962237.58-10084.12-41001.211.011.010.0004533.03

From the table above, we see that best results are achieved by holding positions for 1 trading days. Profit factor is 1.47. Strategy is showing mildly bullish results but we advice not to take a call solely on the basis of this study. Percentage of profitable trades is 49.18%, which is not acceptable. Avoid this strategy. Average return per trade is 0.35%, which is not very high, don't trade solely on the basis of this study. Sharpe Ratio is 0.021, which is low, don't trade solely on the basis of this study.

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-1142740.4161303149.184458.2340823.33-2935.69-6776.181.521.470.021700.66
atrnil26.71-9872.5668224632.351248624786.78-6186.18-16579.312.020.97-0.0031-145.18
atrtrail23.96-12774.5269244534.789331.6422552.2-5260.75-16579.311.770.95-0.0046-185.14
atrtrail34.58-2097166224433.339706.3733828.3-5329.8-16579.311.820.91-0.0071-317.74
atrtrail-14.89-21236.7865224333.859270.5446030.93-5236.95-16579.311.770.91-0.007-326.72
atrnil39.08-52816.2765145121.5418961.0637180.17-6240.61-16579.313.040.83-0.014-812.56

In the table above, row 1 shows the best exit criterion. Profit factor is 1.47. Strategy is showing mildly bullish results but we advice not to take a call solely on the basis of this study. Percentage of profitable trades is 49.18%, which is not acceptable. Avoid this strategy. Average return per trade is 0.35%, which is not very high, don't trade solely on the basis of this study. Sharpe Ratio is 0.021, which is low, don't trade solely on the basis of this study.
In the chart below, we plot cumulative trade gain versus trades using the best exit criterion.
HDFCBANK Performance, X=1, Profit Factor:1.47

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2019202 May 2019 (0.52%), 11 Nov 2019 (-0.57%)
2018201 Oct 2018 (-0.21%), 18 Dec 2018 (-0.56%)
2017521 Mar 2017 (-0.7%), 21 Apr 2017 (2.44%), 25 May 2017 (0.55%), 20 Jul 2017 (-0.46%), 11 Sep 2017 (0.65%)
2016629 Jan 2016 (0.94%), 02 Mar 2016 (0.86%), 26 May 2016 (0.3%), 11 Jul 2016 (0.2%), 25 Aug 2016 (-0.12%), 22 Sep 2016 (0.44%)
2014303 Jun 2014 (-0.93%), 30 Sep 2014 (-0.53%), 20 Oct 2014 (0.2%)
2013316 May 2013 (-0.54%), 01 Jul 2013 (-1.82%), 05 Sep 2013 (1.1%)
2012303 May 2012 (-2.99%), 29 Oct 2012 (-1.08%), 12 Nov 2012 (-0.65%)
2011418 Jul 2011 (-0.82%), 30 Aug 2011 (0.18%), 02 Dec 2011 (-0.78%), 26 Dec 2011 (-0.9%)
2009318 May 2009 (2.45%), 11 Jun 2009 (-1.82%), 11 Nov 2009 (-1.11%)
2008225 Mar 2008 (1.78%), 04 Nov 2008 (-1.29%)
2007216 Oct 2007 (-2.98%), 12 Dec 2007 (-1.55%)
2006230 Oct 2006 (-2.4%), 13 Nov 2006 (0.93%)
2005407 Mar 2005 (2.17%), 07 Apr 2005 (-2.93%), 30 Jun 2005 (-2.83%), 09 Sep 2005 (0.19%)
2004516 Jan 2004 (-3.09%), 25 May 2004 (-0.03%), 08 Jun 2004 (1.61%), 04 Oct 2004 (0.04%), 24 Dec 2004 (0.49%)
2003320 Jan 2003 (1.05%), 03 Feb 2003 (0.78%), 03 Nov 2003 (-3.02%)
2001207 May 2001 (-1.87%), 12 Jul 2001 (0.53%)
2000121 Jan 2000 (6.59%)
1999108 Sep 1999 (8.03%)
1998221 Jan 1998 (-2.66%), 11 Nov 1998 (0.61%)
1997528 Jan 1997 (-3.39%), 01 Mar 1997 (2.31%), 04 Jun 1997 (-0.86%), 08 Jul 1997 (7.03%), 05 Sep 1997 (1.5%)
1996102 Feb 1996 (20.41%)



View performance of other stocks for this trading system.

Get Clearnifty's Android App.

Get clearnifty on Google Play
Get clearnifty on Google Play