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

home > technical-strategy > hdfcbank > 14

In this study, we evaluate the performance of strategy "Buy HDFCBANK when near 200 SMA and above 200 SMA and above 50 SMA and above 20 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
1-7902.0224101441.671589.83234.61-1700-5189.290.940.67-0.032-329.25
220345.4241212504738.779866.57-3043.32-10130.251.561.560.034847.73
3-4378.0224111345.835049.5810793.23-4609.49-16787.261.10.93-0.006-182.42
4-494.4924111345.835562.3314176.5-4744.62-12301.011.170.99-0.00064-20.6
5-45267.4524111345.835443.9312489.52-8088.51-23010.130.670.57-0.045-1886.14
6-54892.0524141058.334525.2313152.52-11824.52-21562.950.380.54-0.05-2287.17
7-53417.63241212506290.4112032.02-10741.88-26510.640.590.59-0.045-2225.73
8-27276.89241212507257.313491.54-9530.38-35914.890.760.76-0.021-1136.54
9-22849.5724141058.336192.4413360.09-10954.38-24595.740.570.79-0.018-952.07
10-46189.5324141058.335852.7212132.79-12812.76-30680.170.460.64-0.034-1924.56
Although, strategy looks good but profit factor on day 1 is less than minimum accepted value so avoid this, see below for further analysis.

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
atrnil310.2333760.762281436.3616724.6427375.04-7145.45-10289.012.341.340.0261534.58
atrnil29.1420028.762291340.9112197.3420578.02-6903.64-9169.951.771.220.019910.4
200nil32.654722.12401030258857.3711025.68-2795.05-3930.893.171.060.0047118.05
atrtrail36.54-7520.552691734.627955.6416968.08-4654.2-8905.591.710.9-0.0084-289.25
200nil22.16-9981.243133030.235811.567350.46-2851.05-3930.892.040.88-0.012-232.12
200trail32.39-13877.75441133256518.0410798.42-2593.22-3866.092.510.84-0.015-315.4
200trail21.91-19460.1146123426.095683.317198.95-2578.23-3866.092.20.78-0.023-423.05
atrtrail26.19-18520.192691734.626733.4611312.06-4654.2-8905.591.450.77-0.024-712.31
200trail-13.36-30046.4344103422.735554.3614447.22-2517.35-3866.092.210.65-0.034-682.87
atrtrail-17.04-28513.332691734.625623.119686.8-4654.2-8905.591.210.64-0.04-1096.67

In the table above, row 1 shows the best exit criterion. Profit factor is 1.34. 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 36.36%, which is not acceptable. Avoid this strategy. Average return per trade is 0.77%, which is not very high, don't trade solely on the basis of this study. Sharpe Ratio is 0.026, which is low, don't trade solely on the basis of this study. Average holding period is on the higher side, note this before entering the trade that you you may need to hold the positions for a longer time.
In the chart below, we plot cumulative trade gain versus trades using the best exit criterion.
HDFCBANK Performance, Profit Factor:1.34

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2018116 Nov 2018 (5.53%)
2016122 Mar 2016 (5.65%)
2013320 Sep 2013 (-4.19%), 15 Oct 2013 (-3.71%), 03 Dec 2013 (7.37%)
2012113 Jan 2012 (7.76%)
2011317 Feb 2011 (-3.0%), 03 Mar 2011 (9.88%), 02 Dec 2011 (-3.42%)
2009108 Apr 2009 (13.69%)
2008123 Apr 2008 (-5.14%)
2002303 Jan 2002 (8.48%), 17 Sep 2002 (-1.71%), 17 Dec 2002 (8.55%)
2001523 May 2001 (-3.67%), 31 Jul 2001 (-2.79%), 08 Aug 2001 (-2.88%), 20 Aug 2001 (-2.63%), 12 Oct 2001 (-4.09%)
2000204 Oct 2000 (-4.45%), 11 Oct 2000 (-4.58%)
1998124 Sep 1998 (-3.77%)



View performance of other stocks for this trading system.

Get Clearnifty's Android App.

Get clearnifty on Google Play
Get clearnifty on Google Play