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

home > technical-strategy > ongc > 22

In this study, we evaluate the performance of strategy "Buy ONGC when above 200 SMA and near 50 SMA and above 50 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 ONGC 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
115487.444232152.272623.5110636.41-2135.87-6057.741.231.350.023351.99
244388.6442222504622.7616303.25-2605.1-9331.741.771.770.0431008.83
337916.4344202445.455206.6917710.45-2759.05-7422.431.891.570.035861.74
414087.6944202445.456601.3818359.7-4914.16-11990.111.341.120.009320.17
517992.4844182640.918468.3126207.33-5170.66-13660.521.641.130.01408.92
618430.7444212347.737507.8622793.51-6053.66-15160.991.241.130.0098418.88
716462.4944212347.739098.4731348.88-7591.54-25714.291.21.090.007374.15
810918.2544192543.1810543.4627706.08-7576.3-23005.61.391.060.0046248.14
916375.0144212347.7310314.5128606.69-8705.64-24041.651.181.080.0063372.16
10-11349.0444202445.4510793.9629452.9-9467.84-34588.561.140.95-0.0039-257.93
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
50trail-13.9841035.3164154923.4410787.2545212.67-2464.76-3898.424.381.340.016641.18
atrtrail-16.3158904.354193535.1912295.8643350.57-4991.91-9471.32.461.340.0211090.82
atrnil26.1421801.7749193038.7811909.7319367.66-6816.1-10365.831.751.110.0096444.93
atrtrail24.6112779.7254193535.199868.2519367.66-4991.91-9471.31.981.070.0061236.66
50trail22.348383.7571244733.85504.477922.34-2632.42-3898.422.091.070.0059118.08
50nil22.55-1695.8267214631.346382.017922.34-2950.39-3898.422.160.99-0.0012-25.31
atrtrail35.35-6310.4554193535.198863.522294.72-4991.91-9471.31.780.96-0.003-116.86
50trail32.73-7812.5466174925.766948.8411620.52-2570.26-3974.282.70.94-0.0051-118.37
atrnil39.66-21616.2547113623.419580.4129051.49-6583.35-10365.832.970.91-0.0082-459.92
50nil33.13-29559.2361124919.679624.1511620.52-2960.18-3935.553.250.8-0.02-484.58

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 23.44%, which is not acceptable. Avoid this strategy. Average return per trade is 0.32%, which is not very high, don't trade solely on the basis of this study. Sharpe Ratio is 0.016, 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.
ONGC Performance, Profit Factor:1.34

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2018319 Apr 2018 (-1.57%), 24 Apr 2018 (-1.06%), 08 May 2018 (0.73%)
2017104 May 2017 (-1.0%)
2014217 Jul 2014 (-1.71%), 20 Oct 2014 (-1.57%)
2013214 Mar 2013 (-1.24%), 19 Jul 2013 (-1.0%)
2012523 Aug 2012 (0.19%), 13 Sep 2012 (0.08%), 25 Sep 2012 (-1.92%), 03 Oct 2012 (-0.44%), 08 Oct 2012 (-1.48%)
2010617 Aug 2010 (13.48%), 04 Nov 2010 (-0.81%), 07 Dec 2010 (-0.85%), 13 Dec 2010 (-1.14%), 15 Dec 2010 (-1.07%), 16 Dec 2010 (-1.62%)
2009820 Jul 2009 (-1.81%), 05 Oct 2009 (5.83%), 13 Nov 2009 (-1.49%), 18 Nov 2009 (-1.35%), 23 Nov 2009 (-1.88%), 25 Nov 2009 (-1.36%), 02 Dec 2009 (-1.06%), 04 Dec 2009 (-0.08%)
2008326 Sep 2008 (-1.89%), 30 Sep 2008 (-1.37%), 01 Oct 2008 (-1.83%)
2007412 Apr 2007 (3.21%), 22 Jun 2007 (-0.09%), 11 Jul 2007 (-1.08%), 13 Jul 2007 (0.04%)
2006214 Mar 2006 (1.8%), 27 Sep 2006 (-1.74%)
2005731 Jan 2005 (-0.53%), 10 Feb 2005 (-0.94%), 23 Feb 2005 (10.57%), 10 May 2005 (-0.87%), 24 May 2005 (4.95%), 05 Aug 2005 (-1.73%), 11 Aug 2005 (2.86%)
2004115 Mar 2004 (-1.1%)
2003602 Jan 2003 (-0.28%), 19 Feb 2003 (3.03%), 06 May 2003 (22.61%), 04 Aug 2003 (-1.95%), 06 Aug 2003 (9.39%), 03 Nov 2003 (-1.03%)
2002214 Jun 2002 (-1.3%), 06 Dec 2002 (-1.66%)
2001523 Apr 2001 (-1.12%), 30 Apr 2001 (-0.32%), 11 May 2001 (-1.78%), 08 Aug 2001 (-1.8%), 13 Aug 2001 (-1.13%)
2000201 Feb 2000 (-1.51%), 09 Feb 2000 (-1.42%)
1997424 Sep 1997 (-1.69%), 09 Oct 1997 (-0.4%), 20 Oct 1997 (-1.24%), 22 Oct 1997 (-1.07%)
1996108 Aug 1996 (2.13%)



View performance of other stocks for this trading system.

Get Clearnifty's Android App.

Get clearnifty on Google Play
Get clearnifty on Google Play