Study: Buy SUNPHARMA when RSI is above 50 and there is Bullish Centerline Crossover in MACD

home > technical-strategy > sunpharma > 38

In this study, we evaluate the performance of strategy "Buy SUNPHARMA when RSI is above 50 and there is Bullish Centerline 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 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. 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-15653.3685362.52516.656451.61-9412.21-18169.320.270.45-0.055-1956.67
2-14937.5283537.55103.313028.95-6049.48-16427.260.840.51-0.049-1867.19
3-3589.148262515448.9127773.08-5747.83-19177.872.690.9-0.0073-448.64
4-17507.178262514754.1724970.81-7835.92-28010.391.880.63-0.032-2188.4
5-24887.0783537.55150.4311337.92-8067.67-19086.190.640.38-0.074-3110.88
6-27956.6383537.54839.9112664.28-8495.28-16717.60.570.34-0.08-3494.58
7-65152.32844501335.972692.6-17624.05-30876.640.0760.076-0.14-8144.04
8-58003.2683537.53522.467196.88-13714.13-30274.470.260.15-0.13-7250.41
9-43731.3183537.58195.7814663.61-13663.73-38460.530.60.36-0.074-5466.41
10-53562.683537.57122.2814099.93-14985.89-29619.930.480.29-0.11-6695.32
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
atrnil37.3846879.1483537.527864.5545072.48-7342.9-9818.773.792.280.0635859.89
atrnil2619014.5983537.518576.3730048.32-7342.9-9818.772.531.520.0352376.82
atrtrail24.56284.458262520040.630048.32-5632.79-9818.773.561.190.013785.56
atrtrail34.88-6137.448262513829.6615049.33-5632.79-9818.772.460.82-0.018-767.18
atrtrail-15-11601.538262511097.6112609.99-5632.79-9818.771.970.66-0.039-1450.19

In the table above, row 1 shows the best exit criterion. Profit factor is 2.28. Number of signals (total trades) generated is low, don't trade solely on the basis of this study. 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 37.5%, which is not acceptable. Avoid this strategy. Average return per trade is 2.93%, which is very good. Sharpe Ratio is 0.063, 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.
SUNPHARMA Performance, Profit Factor:2.28

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2018109 Feb 2018 (-3.45%)
2014107 Feb 2014 (7.52%)
2010119 Aug 2010 (-2.19%)
2008111 Jan 2008 (-4.91%)
2005121 Oct 2005 (-3.9%)
2003113 May 2003 (11.74%)
1999201 Mar 1999 (-3.91%), 10 Nov 1999 (22.54%)



View performance of other stocks for this trading system.

Get Clearnifty's Android App.

Get clearnifty on Google Play
Get clearnifty on Google Play