Study: Sell GMRINFRA when below 200 SMA and near 50 SMA and below 50 SMA and RSI is below 50home > technical-strategy > gmrinfra > 18
In this study, we evaluate the performance of strategy "Sell GMRINFRA when below 200 SMA and near 50 SMA and below 50 SMA and RSI is below 50" under various conditions.
X AnalysisIn the table below, we find out the performance of this trading strategy under following scenario: sell GMRINFRA 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 Days||Net Profit||Total Trades||Winning Trades||Losing Trades||% Profitable||Avg Winning Trade||Max Winning Trade||Avg Losing Trade||Max Losing Trade||Win/Loss Ratio||Profit Factor||Sharpe Ratio||Avg Trade|
From the table above, we see that best results are achieved by holding positions for 2 trading days. Profit factor is 9.25. Strategy is very good and impressively bearish. Percentage of profitable trades is 78.57%, which is excellent. Average return per trade is 2.44%, which is very good.
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.
Yearwise Summary of trades in above chart
|Year||Number of Trades||Trade Dates|
|2016||1||11 Apr 2016 (-2.16%)|
|2015||4||06 Feb 2015 (5.38%), 05 Mar 2015 (4.82%), 27 Jul 2015 (4.29%), 03 Nov 2015 (5.12%)|
|2013||2||23 Jan 2013 (2.09%), 07 Feb 2013 (3.89%)|
|2012||1||03 Aug 2012 (-1.09%)|
|2011||1||21 Apr 2011 (2.66%)|
|2010||4||12 Jan 2010 (-0.89%), 11 May 2010 (1.24%), 04 Aug 2010 (1.04%), 25 Aug 2010 (1.44%)|
|2009||1||03 Mar 2009 (6.37%)|
Strategy Analysis - Exit CriteriaIn 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.
- Stop Loss: When you enter a trade and the trade goes against you, a stop loss determines the maximum loss
you want to take in that trade and you will exit/cover/close positions at predetermined stop loss price.
There are many ways to determine a stop loss price, to analyse this strategy we use 4 following ways of
putting stop loss:
- atr: Fix the stop loss at average true range. If you are long i.e you have bought the stock/futures, use average true range lower band as stop loss and vice-versa if we had sold short.
- nil: No stop loss. We don't exit positions unless we reach the target or predetermined number of trading days have passed.
- 200: This is a special stop loss for strategies designed using 200 Simple Moving Average. If we are long, we set the stop loss at 1 percent below 200SMA and vice-versa.
- 50: This is a special stop loss for strategies developed using 50 Simple Moving Average.
- Adjusting Stop Loss: After entering a trade and calculating a stop loss, we can adjust stop loss
daily to make sure that we get partial returns even if price goes against us after moving in a favorable
direction initially. In the backtesting below, we use 2 adjustment techniques:
- trail: It is a widely used technique. It means that if stock has moved in a favorable direction, we also adjust/move stop loss in the favorable direction. For example, if we are long NIFTY futures, and NIFTY has moved up 2 percent today, then we also move up the stop loss. Important thing to note here is that stop loss never goes down when we are long and it never goes up when we are short.
- nil: No adjustment of stop loss on daily basis. Use the stop loss which was determined while entering the trade, if any.
- Target Price: When entering a trade, we can also define a target price. In the backtesting, we have used following
- 2: Target price is set such that reward to risk ratio is 2. That means we are taking x rupees of loss then we are setting target such that profit should be as low as 2x.
- 2: Target price is set such that reward to risk ratio is 3.
- -1: This means that we don't set any stop target price. Exit positions only if stop loss gets hit or predetermined number of trading days have passed
|Stop Loss||Adjust Stop Loss||Target||Avg Holding Period||Net Profit||Total Trades||Winning Trades||Losing Trades||% Profitable||Avg Winning Trade||Max Winning Trade||Avg Losing Trade||Max Losing Trade||Win/Loss Ratio||Profit Factor||Sharpe Ratio||Avg Trade|
In the table above, row 1 shows the best exit criterion. Profit factor is 9.25. Strategy is very good and impressively bearish. Percentage of profitable trades is 78.57%, which is excellent. Average return per trade is 2.44%, which is very good.
Performance of strategy chart over time is same as above.
View performance of other stocks for this trading system.