Study: Buy NIFTY when RSI is below 50 and there is Bullish Crossover in MACD

home > technical-strategy > nifty > 64

In this study, we evaluate the performance of strategy "Buy NIFTY when RSI is below 50 and there is Bullish Crossover in MACD" under various conditions.

X Analysis

In the table below, we find out the performance of this trading strategy under following scenario: buy NIFTY 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
120154.772215768.181850.774058.26-1086.69-2879.11.73.650.17916.13
218992.452216672.732450.47014.39-3369-6617.550.731.940.086863.29
312758.282214863.642932.167284.38-3536.5-9702.020.831.450.047579.92
420274.272216672.733138.567283-4990.45-10533.450.631.680.068921.56
529191.322214863.644096.518570.68-3519.97-5953.131.162.040.0981326.88
637428.242213959.094694.615532.37-2622.39-5209.631.792.590.121701.28
737650.142214863.644927.0216131.8-3916.01-7965.71.262.20.11711.37
852106.92216672.735265.1113849.19-5355.82-9198.060.982.620.132368.5
949890.482217577.274965.5913845.54-6904.89-15527.10.722.450.112267.75
1069570.792217577.275737.1713478.2-5592.23-15405.461.033.490.163162.31

From the table above, we see that best results are achieved by holding positions for 1 trading days. Profit factor is 3.65. Strategy is very good and impressively bullish. Percentage of profitable trades is 68.18%, which is good. Average return per trade is 0.46%, which is not very high, 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.
NIFTY Performance, X=1, Profit Factor:3.65

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2019227 Feb 2019 (-0.13%), 14 Aug 2019 (0.17%)
2018313 Mar 2018 (-0.15%), 02 Apr 2018 (0.33%), 29 Oct 2018 (-0.51%)
2016429 Jan 2016 (-0.1%), 01 Mar 2016 (2.03%), 29 Nov 2016 (1.01%), 29 Dec 2016 (1.01%)
2015318 Jun 2015 (0.62%), 26 Nov 2015 (0.75%), 18 Dec 2015 (0.93%)
2014117 Feb 2014 (0.89%)
2013130 Aug 2013 (1.44%)
2012125 May 2012 (1.33%)
2011515 Feb 2011 (0.01%), 30 May 2011 (1.59%), 30 Aug 2011 (0.78%), 29 Sep 2011 (-1.44%), 26 Dec 2011 (-0.6%)
2010201 Jun 2010 (1.0%), 14 Dec 2010 (-0.87%)

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-1120154.772215768.181850.774058.26-1086.69-2879.11.73.650.17916.13
atrtrail-16.524602.9221111504345.6711396.76-2109.04-4562.922.062.060.091118.31
atrtrail24.3624411.31221111504328.257612.68-2109.04-4562.922.052.050.0951109.6
atrtrail35.7720251.12221111503950.057212.12-2109.04-4562.921.871.870.083920.51
atrnil39.3620676.22281436.368605.5511661.66-3440.59-4647.212.51.430.05939.83
atrnil26.6815609.1422101245.455781.77774.44-3517.32-4647.211.641.370.048709.51

In the table above, row 1 shows the best exit criterion. Profit factor is 3.65. Strategy is very good and impressively bullish. Percentage of profitable trades is 68.18%, which is good. Average return per trade is 0.46%, which is not very high, 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