Study: Buy HDFC when above 200 SMA and near 50 SMA and above 50 SMA and RSI is above 50 and ADX is Trending

home > technical-strategy > hdfc > 24

In this study, we evaluate the performance of strategy "Buy HDFC when above 200 SMA and near 50 SMA and above 50 SMA and RSI is above 50 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 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
14998.7365183.332791.457184.19-8958.53-8958.530.311.560.034833.12
212201.9265183.332788.156625.42-1738.83-1738.831.68.020.162033.65
322175.8664266.676528.0812423.96-1968.23-2940.463.326.630.143695.98
418217.1764266.677096.0215594.47-5083.45-8463.981.42.790.0773036.19
513367.3364266.675658.4414388.97-4633.22-8707.661.222.440.0662227.89
6-5798.67633503984.867974.86-5917.75-16278.130.670.67-0.026-966.45
7-22716.6262433.333267.975897.35-7313.14-17626.510.450.22-0.1-3786.1
8-20272.8762433.334919.857037.85-7528.14-16619.280.650.33-0.089-3378.81
9-31420.6362433.333302.056346.04-9506.18-16508.380.350.17-0.13-5236.77
10-30135.6161516.675773.965773.96-7181.91-17213.690.80.16-0.14-5022.6

From the table above, we see that best results are achieved by holding positions for 2 trading days. Profit factor is 8.02. Number of signals (total trades) generated is low, don't trade solely on the basis of this study. Strategy is very good and impressively bullish. Percentage of profitable trades is 83.33%, which is excellent. Average return per trade is 1.02%, which is not very high, but percentage of profitable trades compensates for it.
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=2, Profit Factor:8.02

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2019113 Mar 2019 (1.23%)
2013108 Mar 2013 (1.3%)
2008129 Jan 2008 (-0.87%)
2005117 Jan 2005 (3.31%)
2004108 Jun 2004 (0.3%)
1999110 Dec 1999 (0.83%)

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-1212201.9265183.332788.156625.42-1738.83-1738.831.68.020.162033.65
50trail22.57-6734.7972528.573442.436859.84-2723.93-3416.411.260.51-0.056-962.11
50nil23.17-9935.961516.676859.846859.84-3359.15-3825.342.040.41-0.088-1655.98
atrtrail23.71-19780.6373442.861473.472819.82-6050.26-11269.340.240.18-0.11-2825.8
atrtrail33.71-19780.6373442.861473.472819.82-6050.26-11269.340.240.18-0.11-2825.8
atrtrail-13.71-19780.6373442.861473.472819.82-6050.26-11269.340.240.18-0.11-2825.8
50trail32.86-12077.9772528.57770.841516.66-2723.93-3416.410.280.11-0.19-1725.42
50trail-12.86-12077.9772528.57770.841516.66-2723.93-3416.410.280.11-0.19-1725.42
atrnil26-49135.69606000-8189.28-12957.5700-0.46-8189.28
atrnil36-49135.69606000-8189.28-12957.5700-0.46-8189.28
50nil33.67-20225.67606000-3370.94-3825.3400-2.91-3370.94

In the table above, row 1 shows the best exit criterion. Profit factor is 8.02. Number of signals (total trades) generated is low, don't trade solely on the basis of this study. Strategy is very good and impressively bullish. Percentage of profitable trades is 83.33%, which is excellent. Average return per trade is 1.02%, which is not very high, but percentage of profitable trades compensates for it.
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