Study: Sell SUNPHARMA when RSI is above 50 and there is Bearish Crossover in MACD

home > technical-strategy > sunpharma > 63

In this study, we evaluate the performance of strategy "Sell SUNPHARMA when RSI is above 50 and there is Bearish Crossover in MACD" under various conditions.

X Analysis

In the table below, we find out the performance of this trading strategy under following scenario: sell SUNPHARMA 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. buy 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-81128.57124547043.552743.9816000-3275.76-13442.10.840.65-0.032-654.26
2-390276124586646.774582.2130716.64-9940.07-2157760.460.41-0.03-3147.39
3-364282124616349.195595.8538212.89-11200.46-2204510.50.48-0.027-2937.76
4-286480124576745.978678.97148042-11659.42-2128910.740.63-0.018-2310.32
5-309635124576745.978735.06147762-12052.74-2150460.720.62-0.02-2497.06
6-422064124517341.139320.8148370-12293.49-2055140.760.53-0.027-3403.74
7-407706124596547.589761.8146599-15133.1-2013510.650.59-0.024-3287.95
8-363774124576745.9710105.69142325-14026.85-1931710.720.61-0.022-2933.66
9-380708124576745.9711228.57140342-15234.87-1813020.740.63-0.023-3070.22
10-337061124596547.5811144.22139074-15301.08-1693600.730.66-0.02-2718.23
Although, strategy looks good but profit factor on day 2 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
atrnil37.74-2322891442911520.1421506.8451604.08-7443.37-14548.982.890.73-0.026-1613.12
atrnil25.94-2234141443910527.0814367.0534402.72-7464.09-14548.981.920.71-0.03-1551.49
atrtrail-14.98-2047511453910626.910554.11168565-5814.73-14548.981.820.67-0.018-1412.08
atrtrail24.14-2588691454010527.598930.7634402.72-5867.61-14548.981.520.58-0.044-1785.3
atrtrail34.37-2711361454010527.598624.0851604.08-5867.61-14548.981.470.56-0.043-1869.9

In the table above, row 1 shows the best exit criterion. Profit factor is 0.73. This strategy is not profitable and we advice you not to use it.
In the chart below, we plot cumulative trade gain versus trades using the best exit criterion.
SUNPHARMA Performance, Profit Factor:0.729

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2019427 Mar 2019 (-2.79%), 28 Mar 2019 (8.28%), 01 Aug 2019 (-3.54%), 12 Sep 2019 (11.69%)
2018616 Jan 2018 (-2.63%), 15 Feb 2018 (10.67%), 02 Jul 2018 (-3.09%), 13 Aug 2018 (-2.72%), 11 Sep 2018 (-3.17%), 12 Sep 2018 (9.7%)
2017516 Feb 2017 (-2.77%), 24 Mar 2017 (6.58%), 03 Oct 2017 (-3.07%), 26 Oct 2017 (-2.65%), 06 Nov 2017 (-2.84%)
2016308 Jan 2016 (-2.61%), 29 Feb 2016 (10.16%), 10 Aug 2016 (5.99%)
2015511 Feb 2015 (-2.67%), 24 Mar 2015 (-3.04%), 16 Apr 2015 (11.46%), 02 Sep 2015 (-3.93%), 15 Oct 2015 (-2.63%)
2014622 Jan 2014 (-2.3%), 29 Jan 2014 (-2.65%), 06 Mar 2014 (6.98%), 08 May 2014 (6.98%), 23 Jul 2014 (-2.36%), 03 Sep 2014 (7.29%)
2013901 Jan 2013 (-2.37%), 11 Jan 2013 (-2.21%), 04 Mar 2013 (-2.15%), 21 Mar 2013 (-1.94%), 09 May 2013 (-2.54%), 06 Jun 2013 (-3.4%), 25 Jul 2013 (-3.21%), 19 Aug 2013 (-5.01%), 17 Oct 2013 (-3.13%)
2012616 Feb 2012 (-2.81%), 07 May 2012 (7.26%), 11 Jul 2012 (-2.0%), 17 Aug 2012 (-2.06%), 17 Sep 2012 (-2.06%), 18 Oct 2012 (-2.64%)
2011611 Jan 2011 (-3.51%), 07 Apr 2011 (-2.74%), 20 Jun 2011 (-3.15%), 24 Jun 2011 (-2.93%), 03 Aug 2011 (7.73%), 13 Dec 2011 (-3.32%)
2010804 Jan 2010 (-2.98%), 09 Apr 2010 (-2.57%), 12 Apr 2010 (7.65%), 02 Jul 2010 (-2.41%), 06 Aug 2010 (-2.13%), 15 Oct 2010 (-2.28%), 18 Oct 2010 (-2.39%), 18 Nov 2010 (-2.56%)
2009714 May 2009 (-3.97%), 15 May 2009 (-4.35%), 21 May 2009 (-6.83%), 16 Jun 2009 (15.86%), 16 Oct 2009 (-3.52%), 19 Nov 2009 (-3.64%), 07 Dec 2009 (-4.01%)
2008417 Mar 2008 (-6.02%), 09 May 2008 (-4.01%), 28 Aug 2008 (-3.58%), 11 Sep 2008 (9.64%)
2007429 Jan 2007 (-3.39%), 09 Nov 2007 (-4.24%), 22 Nov 2007 (-4.79%), 18 Dec 2007 (-4.76%)
2006520 Feb 2006 (-3.31%), 12 Apr 2006 (-3.91%), 21 Apr 2006 (12.43%), 11 May 2006 (12.57%), 08 Sep 2006 (-3.1%)
2005704 Jan 2005 (11.7%), 10 Jun 2005 (-3.13%), 21 Jun 2005 (-3.3%), 14 Jul 2005 (-3.7%), 27 Jul 2005 (-4.77%), 31 Aug 2005 (-3.33%), 22 Sep 2005 (-3.37%)
20041026 Feb 2004 (-5.16%), 12 Mar 2004 (11.81%), 27 Apr 2004 (-5.15%), 07 May 2004 (12.26%), 11 Jun 2004 (-5.03%), 27 Aug 2004 (-4.03%), 08 Oct 2004 (-3.99%), 29 Oct 2004 (-3.68%), 09 Nov 2004 (-3.41%), 03 Dec 2004 (-3.58%)
20031208 Jan 2003 (-3.14%), 25 Apr 2003 (-3.57%), 25 Jun 2003 (-4.16%), 10 Jul 2003 (-4.46%), 11 Jul 2003 (-4.47%), 20 Aug 2003 (-4.38%), 03 Sep 2003 (-6.15%), 10 Sep 2003 (-5.48%), 15 Oct 2003 (-4.91%), 22 Oct 2003 (-4.9%), 18 Nov 2003 (-4.8%), 12 Dec 2003 (-4.95%)
2002425 Jan 2002 (-3.34%), 15 Mar 2002 (-2.62%), 09 Apr 2002 (8.04%), 13 Sep 2002 (-2.42%)
2001413 Feb 2001 (-3.14%), 22 May 2001 (-4.79%), 31 Oct 2001 (-3.62%), 20 Nov 2001 (-2.92%)
2000415 Feb 2000 (-6.74%), 02 Mar 2000 (25.8%), 12 Jul 2000 (-7.27%), 15 Nov 2000 (-5.28%)
1999817 Mar 1999 (-5.19%), 12 Apr 1999 (-7.09%), 19 May 1999 (-6.4%), 01 Sep 1999 (-5.23%), 05 Oct 1999 (-5.51%), 06 Oct 1999 (-5.36%), 22 Oct 1999 (19.43%), 21 Dec 1999 (-6.17%)
1998703 Apr 1998 (-4.28%), 29 Apr 1998 (-7.19%), 02 Jun 1998 (19.57%), 03 Aug 1998 (-4.34%), 02 Sep 1998 (-5.28%), 17 Sep 1998 (-4.04%), 29 Sep 1998 (9.63%)
1997509 Jan 1997 (-2.99%), 19 Feb 1997 (-3.05%), 11 Mar 1997 (-3.17%), 02 Apr 1997 (11.92%), 23 Jul 1997 (-2.84%)
1996212 Mar 1996 (-2.66%), 09 May 1996 (-3.06%)
1995313 Jun 1995 (6.89%), 28 Jul 1995 (-1.61%), 18 Aug 1995 (5.89%)



View performance of other stocks for this trading system.

Get Clearnifty's Android App.

Get clearnifty on Google Play
Get clearnifty on Google Play