Study: Buy NAUKRI when near 200 SMA and above 200 SMA and RSI is above 50 and ADX is Trending
home > technical-strategy > naukri > 8In this study, we evaluate the performance of strategy "Buy NAUKRI when near 200 SMA and above 200 SMA and RSI is above 50 and ADX is Trending" under various conditions.
X Analysis
In the table below, we find out the performance of this trading strategy under following scenario: buy NAUKRI 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 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | 46719.79 | 12 | 9 | 3 | 75 | 5600.02 | 19575.36 | -1226.8 | -2462.35 | 4.56 | 13.69 | 0.19 | 3893.32 |
2 | 38300.53 | 12 | 8 | 4 | 66.67 | 5964.45 | 18937.16 | -2353.77 | -5115.72 | 2.53 | 5.07 | 0.14 | 3191.71 |
3 | 24497.47 | 12 | 8 | 4 | 66.67 | 5373.49 | 15930.29 | -4622.62 | -12486.72 | 1.16 | 2.32 | 0.082 | 2041.46 |
4 | 23625.16 | 12 | 8 | 4 | 66.67 | 5447.43 | 11475.21 | -4988.57 | -12074.25 | 1.09 | 2.18 | 0.082 | 1968.76 |
5 | 21345.02 | 12 | 9 | 3 | 75 | 5955.46 | 11362.3 | -10751.38 | -18993.08 | 0.55 | 1.66 | 0.054 | 1778.75 |
6 | 27069.41 | 12 | 9 | 3 | 75 | 6853.63 | 11421.02 | -11537.74 | -19527.56 | 0.59 | 1.78 | 0.066 | 2255.78 |
7 | 6845.43 | 12 | 9 | 3 | 75 | 6297.8 | 13442.81 | -16611.59 | -30283.94 | 0.38 | 1.14 | 0.013 | 570.45 |
8 | 4124.57 | 12 | 9 | 3 | 75 | 6715.61 | 9977.91 | -18771.98 | -37776.19 | 0.36 | 1.07 | 0.0068 | 343.71 |
9 | 16363.82 | 12 | 9 | 3 | 75 | 8550 | 17125.02 | -20195.41 | -39016.94 | 0.42 | 1.27 | 0.024 | 1363.65 |
10 | 27109.16 | 12 | 10 | 2 | 83.33 | 9554.67 | 26125.86 | -34218.77 | -47301.36 | 0.28 | 1.4 | 0.032 | 2259.1 |
From the table above, we see that best results are achieved by holding positions for 1 trading days. Profit factor is 13.69. Strategy is very good and impressively bullish. Percentage of profitable trades is 75%, which is good. Average return per trade is 1.95%, which is not very high, but percentage of profitable trades compensates for it.
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 |
---|---|---|
2020 | 1 | 21 Apr 2020 (4.59%) |
2016 | 2 | 25 Apr 2016 (-1.23%), 02 Jun 2016 (-0.38%) |
2015 | 3 | 19 Jun 2015 (2.8%), 03 Jul 2015 (0.8%), 27 Nov 2015 (9.79%) |
2013 | 3 | 15 Feb 2013 (-0.23%), 15 Mar 2013 (0.31%), 09 Oct 2013 (1.24%) |
2012 | 2 | 08 Aug 2012 (1.6%), 13 Sep 2012 (2.92%) |
2008 | 1 | 29 Feb 2008 (1.15%) |
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.- 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
3 cases:
- 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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
nil | nil | -1 | 1 | 46719.79 | 12 | 9 | 3 | 75 | 5600.02 | 19575.36 | -1226.8 | -2462.35 | 4.56 | 13.69 | 0.19 | 3893.32 |
atr | nil | 3 | 13.42 | 110510 | 12 | 6 | 6 | 50 | 25471.67 | 46639.29 | -7053.29 | -16016.83 | 3.61 | 3.61 | 0.14 | 9209.19 |
atr | nil | 2 | 9.38 | 75997.22 | 13 | 7 | 6 | 53.85 | 16902.42 | 31092.86 | -7053.29 | -16016.83 | 2.4 | 2.8 | 0.12 | 5845.94 |
200 | trail | 3 | 1.85 | 45606.94 | 20 | 8 | 12 | 40 | 9368.45 | 10956.68 | -2445.06 | -3006.1 | 3.83 | 2.55 | 0.1 | 2280.35 |
atr | trail | 2 | 5.56 | 47522.22 | 16 | 9 | 7 | 56.25 | 8878.08 | 16430.3 | -4625.79 | -13322.51 | 1.92 | 2.47 | 0.093 | 2970.14 |
200 | nil | 3 | 1.85 | 43621.8 | 20 | 8 | 12 | 40 | 9368.45 | 10956.68 | -2610.48 | -3873.02 | 3.59 | 2.39 | 0.099 | 2181.09 |
atr | trail | -1 | 6.31 | 33717.03 | 16 | 9 | 7 | 56.25 | 7344.17 | 29927.61 | -4625.79 | -13322.51 | 1.59 | 2.04 | 0.061 | 2107.31 |
200 | trail | -1 | 3.25 | 30030.34 | 20 | 7 | 13 | 35 | 8496.53 | 28134.29 | -2265.03 | -3006.1 | 3.75 | 2.02 | 0.056 | 1501.52 |
atr | trail | 3 | 5.94 | 31280.97 | 16 | 9 | 7 | 56.25 | 7073.5 | 21415.49 | -4625.79 | -13322.51 | 1.53 | 1.97 | 0.062 | 1955.06 |
200 | trail | 2 | 1.7 | 20624.4 | 20 | 8 | 12 | 40 | 6245.63 | 7304.45 | -2445.06 | -3006.1 | 2.55 | 1.7 | 0.065 | 1031.22 |
200 | nil | 2 | 1.7 | 18639.27 | 20 | 8 | 12 | 40 | 6245.63 | 7304.45 | -2610.48 | -3873.02 | 2.39 | 1.6 | 0.057 | 931.96 |
In the table above, row 1 shows the best exit criterion. Profit factor is 13.69. Strategy is very good and impressively bullish. Percentage of profitable trades is 75%, which is good. Average return per trade is 1.95%, which is not very high, but percentage of profitable trades compensates for it.
Performance of strategy chart over time is same as above.
View performance of other stocks for this trading system.