Study: Buy OIL when below 200 SMA

home > technical-strategy > oil > 57

In this study, we evaluate the performance of strategy "Buy OIL when below 200 SMA" under various conditions.

X Analysis

In the table below, we find out the performance of this trading strategy under following scenario: buy OIL 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
126330.6845242153.333450.3812522.47-2689.44-6732.981.281.470.046585.13
216816.8845222348.894147.459646.49-3235.96-11152.321.281.230.026373.71
326197.2345252055.564685.1812787.59-4546.62-16779.641.031.290.031582.16
411845.97452718604502.5911717.5-6095.78-14196.190.741.110.013263.24
5-5602.6645291664.444394.2516800.43-8314.74-27695.040.530.96-0.005-124.5
613510.2545252055.566425.4719368.65-7356.32-22270.440.871.090.011300.23
731178.3945261957.786857.2824558.59-7742.67-20791.010.891.210.025692.85
824238.6245222348.897838.9820670.66-6444.3-14857.881.221.160.02538.64
956835.0745242153.338034.5326219.29-6475.89-16666.671.241.420.0421263
1063339.6345232251.118574.2326475.98-6084.9-16618.221.411.470.051407.55
Although, strategy looks good but profit factor on day 5 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
atrtrail35.4352757.8379374246.846962.6122590.24-4877.59-9144.911.431.260.028667.82
atrtrail24.7550283.6879374246.846895.7422023.77-4877.59-9144.911.411.250.027636.5
atrnil315.0369582.5565194629.2318593.9333035.66-6167.44-10033.253.011.250.0291070.5
atrnil27.5450090.8174264835.1413054.6522023.77-6027.71-9144.912.171.170.023676.9
atrtrail-16.01-7767.0878354344.875703.3921288.39-4822.92-9144.911.180.96-0.0047-99.58

In the table above, row 1 shows the best exit criterion. Profit factor is 1.26. 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 46.84%, which is not acceptable. Avoid this strategy. Average return per trade is 0.33%, which is not very high, don't trade solely on the basis of this study. Sharpe Ratio is 0.028, 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.
OIL Performance, Profit Factor:1.26

Yearwise Summary of trades in above chart

YearNumber of TradesTrade Dates
2019930 Jan 2019 (1.61%), 17 Jun 2019 (0.66%), 08 Jul 2019 (3.32%), 18 Jul 2019 (-3.01%), 19 Jul 2019 (-1.89%), 24 Jul 2019 (-2.18%), 05 Aug 2019 (-1.11%), 13 Aug 2019 (-0.3%), 21 Aug 2019 (0.28%)
2018808 Mar 2018 (1.19%), 24 May 2018 (0.48%), 28 Jun 2018 (1.24%), 05 Oct 2018 (7.06%), 30 Nov 2018 (-2.38%), 06 Dec 2018 (-3.67%), 10 Dec 2018 (0.44%), 27 Dec 2018 (1.15%)
2017911 May 2017 (-1.72%), 22 May 2017 (-1.83%), 24 May 2017 (-0.14%), 02 Jun 2017 (-1.95%), 08 Jun 2017 (0.05%), 22 Jun 2017 (-2.45%), 27 Jun 2017 (-2.8%), 30 Jun 2017 (8.67%), 21 Aug 2017 (4.11%)
2016613 Jan 2016 (-3.66%), 18 Jan 2016 (-3.67%), 20 Jan 2016 (1.31%), 11 Feb 2016 (-3.62%), 12 Feb 2016 (-1.48%), 29 Feb 2016 (-2.33%)
20151414 Jan 2015 (3.16%), 13 Feb 2015 (-3.15%), 24 Feb 2015 (3.2%), 26 Mar 2015 (-2.89%), 27 Mar 2015 (9.3%), 29 Jun 2015 (-0.99%), 07 Jul 2015 (-2.11%), 08 Jul 2015 (1.3%), 28 Sep 2015 (-1.73%), 26 Oct 2015 (-2.74%), 28 Oct 2015 (-1.48%), 10 Nov 2015 (-2.02%), 13 Nov 2015 (-3.17%), 16 Nov 2015 (6.89%)
2014427 Jan 2014 (1.07%), 04 Feb 2014 (0.07%), 12 Dec 2014 (-2.95%), 15 Dec 2014 (9.26%)
2013622 Mar 2013 (11.3%), 30 Jul 2013 (-3.63%), 01 Aug 2013 (-4.44%), 02 Aug 2013 (-4.57%), 06 Aug 2013 (7.09%), 28 Aug 2013 (7.01%)
20121105 Jan 2012 (1.36%), 16 Mar 2012 (1.98%), 10 Apr 2012 (-3.44%), 25 Apr 2012 (-0.59%), 07 May 2012 (0.5%), 16 May 2012 (8.82%), 05 Nov 2012 (-1.95%), 15 Nov 2012 (-2.11%), 22 Nov 2012 (6.62%), 05 Dec 2012 (-1.82%), 12 Dec 2012 (6.38%)
20111207 Jan 2011 (8.24%), 12 Jan 2011 (-2.66%), 20 Jan 2011 (-3.09%), 22 Feb 2011 (0.99%), 24 May 2011 (0.9%), 26 Jul 2011 (1.25%), 18 Oct 2011 (0.0%), 17 Nov 2011 (-2.57%), 18 Nov 2011 (-2.65%), 22 Nov 2011 (-2.67%), 23 Nov 2011 (-2.83%), 29 Nov 2011 (0.56%)



View performance of other stocks for this trading system.

Get Clearnifty's Android App.

Get clearnifty on Google Play
Get clearnifty on Google Play