Trend Template
From Mark MinerviniRead about it
Mark Minervini's Stage 2 test: a stock in a strong, established uptrend, near its high and leading the market. A signal comes when such a stock closes at a new 20-day high, rising out of a pause.
Read this firstOne test short. It beat the Nifty 500 in both decades and in every version tested (costs doubled, 5 or 20 trades at a time, the market filter), but once every strategy tried is allowed for, its lead is not large enough to rule out luck (an alpha t-statistic of 2.83, where about 2.9 was needed). Momentum + Low Volatility passed every test.
How it works
The signal every rule true at the close
- Close > 50-day > 150-day > 200-day moving average
- 200-day average higher than a month ago
- Within 25% of the 52-week high and at least 30% above the 52-week low
- Relative strength in the top 30% of the 500 most-traded stocks (1-year return)
- Closes at a new 20-day closing high
The exit whichever comes first
- Closes below the 50-day moving average
- Or closes 8% below the price the trade opened at
- Or closes 25% below its highest close since the trade opened (a trailing stop: it rises with every new high and never falls)
Typical holdingWeeks to months; longer in a strong trend
Tested over 20 years
A separate test on NSE's end-of-day files from 2006, among the 500 most-traded stocks each month (companies later delisted included), after 0.2% costs on each side, with the trailing stop. The years 2006 to 2015 were kept aside while Swing Setups chose its strategies from 33 candidates, so they show how the rules did on data they were never fitted to. Results include the 2008 crash.
Compound yearly return over the whole test.
The decade kept aside: the fairest test.
The decade the live backtest below covers.
At today's rates, counting each year's gain as short-term (20%), which overstates the tax on anything held over a year. The index fund pays 12.5% once, at the end, and 0.2% a year in fees.
The largest drop from a high, 2006 to 2026 (2008 for most).
Share of all 5-year periods in which it beat the Nifty 500.
The longest it went without gaining ground on the index: the patience it asks for.
Versions (as published, costs doubled, 5 or 20 trades at a time, the market filter) that beat the index in both decades.
| Year | Strategy | Nifty 500 | Difference |
|---|---|---|---|
| 2006 | +53.1% | +33.7% | +19.4% |
| 2007 | +167.9% | +62.5% | +105.4% |
| 2008 | −42.2% | −57.1% | +14.9% |
| 2009 | +39.3% | +88.6% | −49.3% |
| 2010 | +21.2% | +14.1% | +7.1% |
| 2011 | −24.9% | −27.2% | +2.3% |
| 2012 | +61.4% | +31.8% | +29.6% |
| 2013 | +18.5% | +3.6% | +14.9% |
| 2014 | +99.8% | +37.8% | +62.0% |
| 2015 | +18.4% | −0.7% | +19.1% |
| 2016 | −9.3% | +3.8% | −13.1% |
| 2017 | +165.4% | +35.9% | +129.5% |
| 2018 | −35.5% | −3.4% | −32.1% |
| 2019 | −7.7% | +7.7% | −15.4% |
| 2020 | +69.7% | +16.7% | +53.0% |
| 2021 | +87.8% | +30.2% | +57.6% |
| 2022 | −33.8% | +3.0% | −36.8% |
| 2023 | +46.4% | +25.8% | +20.6% |
| 2024 | +17.1% | +15.2% | +1.9% |
| 2025 | −22.6% | +6.7% | −29.3% |
| 2026to 1 Oct 2026 | +61.3% | −8.4% | +69.7% |
Price returns, as the Nifty 500 price index is measured; dividends would add about 1% a year to both. Past results do not promise future ones: every strategy here had years well behind the index.
Backtest
1 Jan 2016 to 18 Nov 2026, run again after every close: a 10-stock portfolio following these rules, on NSE's 500 most-traded stocks at each date, after 0.2% costs on each side, against the Nifty 500 index.
Compound growth a year (CAGR).
Gain or loss over the whole test.
Largest drop from a high (max drawdown).
Share of trades that closed with a gain.
Rupees gained for every rupee lost.
Average result per trade, after costs.
A typical winning and losing trade.
Average trading days per trade.
About 79 a year.
Return for each unit of ups and downs.
Average share of the money in trades.
The extremes, after costs.
₹1 lakh following the rules
1 Jan 2016 to 18 Nov 2026: ₹6.89 L against ₹3.50 L in the Nifty 500.
Falls from the high
Worst in this period −55.7%Each calendar year
Return in the year, after costs.
How the 860 trades ended
Each trade's return after costs, grouped.
Full report
Every figure from the same backtest, 1 Jan 2016 to 18 Nov 2026, after costs. Holding periods are in trading days.
Trades
- Trades
- 860
- Winners · losers
- 273 · 587
- Win rate
- 31.7%
- Average gain
- +27.66%
- Average loss
- −7.74%
- Gain to lossAverage gain over average loss
- 3.57 : 1
- Median tradeHalf did better, half worse
- −5.02%
- Biggest gain
- +288.4%
- Biggest loss
- −29.7%
- Most wins in a row
- 8
- Most losses in a row
- 32
Holding period
- Average
- 29.4 days
- Median
- 19 days
- Shortest
- 1 day
- Longest
- 332 days
- Winners, on average
- 64.4 days
- Losers, on average
- 13.2 days
Ups and downs
- VolatilityHow much the value swings
- 23.4% a year
- Sharpe ratioReturn for each unit of swings
- 0.89
- Sortino ratioThe same, counting only the falls
- 1.23
- Calmar ratioYearly return over the worst fall
- 0.35
- Best month
- +27.5% · Apr 2026
- Worst month
- −19.1% · Jan 2025
- Months with a gain
- 59% of 131
- Longest below a high15 Jan 2018 to 9 Feb 2021
- 36 months
| Reason | Trades | Share | Average return |
|---|---|---|---|
| Closed below the 50-day average | 648 | 75.3% | +7.27% |
| 8% below the opening price | 200 | 23.3% | −10.48% |
| Trailing stop: closed 25% below its highest close | 10 | 1.2% | +38.72% |
| The stock stopped trading | 2 | 0.2% | +3.78% |
| Stock | Opened | Closed | Days | Return |
|---|---|---|---|---|
| Adani EnterprisesADANIENT | 11 Nov 2020 | 6 Jul 2021 | 159 | +288.4% |
| PHILIPCARBPHILIPCARB | 23 Jan 2017 | 7 Dec 2017 | 217 | +249.4% |
| DHANIDHANI | 11 Apr 2017 | 16 Nov 2017 | 150 | +236.7% |
| VakrangeeVAKRANGEE | 30 Sep 2016 | 1 Feb 2018 | 332 | +195.9% |
| Sterlite TechnologiesSTLTECH | 6 Mar 2026 | 14 Jul 2026 | 85 | +184.5% |
| Stock | Opened | Closed | Days | Return |
|---|---|---|---|---|
| SORILINFRASORILINFRA | 10 Aug 2016 | 16 Aug 2016 | 3 | −29.7% |
| Dalmia Bharat Sugar and IndustriesDALMIASUG | 5 Aug 2016 | 10 Aug 2016 | 3 | −25.5% |
| AtulATUL | 4 Mar 2020 | 13 Mar 2020 | 6 | −24.2% |
| GMM PfaudlerGMMPFAUDLR | 5 Feb 2020 | 13 Mar 2020 | 25 | −22.5% |
| Thangamayil JewelleryTHANGAMAYL | 27 Jul 2026 | 31 Jul 2026 | 4 | −22.4% |
Among trades that closed by 18 Aug 2026, three months or more before the latest data: Swing Setups names a stock only once a trade is that old. Past results, not a recommendation.
How sturdy is it?
The same rules, tested again with one thing changed. A result worth trusting holds up across these; a big swing means the headline figure depends on luck or on the exact setup.
Beat the Nifty 500 in 6 of 6 versions and in 1 of 2 halves of the test.
| Version | Yearly return | Worst fall | Win rate | Profit factor | Trades |
|---|---|---|---|---|---|
| As published10 stocks at a time, 0.2% costs on each side | +19.4% | −55.7% | 31.7% | 1.66 | 860 |
| With the market filterNew trades only while the Nifty 500 is above its 200-day average | +22.2% | −52.3% | 33.8% | 1.81 | 677 |
| Costs doubled0.4% on each side, as slippage in thinner stocks can be | +16.1% | −58.6% | 30.9% | 1.56 | 858 |
| 5 stocks at a timeA bigger share of the money in each trade | +19.9% | −70.2% | 31% | 1.7 | 448 |
| 20 stocks at a timeA smaller share in each trade | +18.1% | −46.7% | 30.7% | 1.55 | 1,689 |
| Without the trailing stopIts other exits only | +18.8% | −55.7% | 30.9% | 1.62 | 862 |
Ahead of the index by 18.9 points a year.
Behind the index by 3.2 points a year.
Past trades in the backtest
The last 12 trades the rules closed up to 18 Aug 2026. Swing Setups names a stock only three months or more after a trade ends, to show how the rules worked, never what they pick now. Not a recommendation.
| Stock | Opened | Closed | Days | Return | Why it closed |
|---|---|---|---|---|---|
| Dredging Corporation of IndiaDREDGECORP | 31 Jul 2026 | 7 Aug 2026 | 5 | −2.6% | Closed below the 50-day average |
| Thangamayil JewelleryTHANGAMAYL | 27 Jul 2026 | 31 Jul 2026 | 4 | −22.4% | 8% below the opening price |
| Bliss GVS PharmaBLISSGVS | 25 May 2026 | 31 Jul 2026 | 47 | +40.7% | Closed below the 50-day average |
| Ather EnergyATHERENERG | 16 Jul 2026 | 27 Jul 2026 | 7 | −8.7% | 8% below the opening price |
| Acutaas ChemicalsACUTAAS | 3 Feb 2026 | 27 Jul 2026 | 116 | +58.3% | Closed below the 50-day average |
| Bajaj Consumer CareBAJAJCON | 7 May 2026 | 16 Jul 2026 | 48 | +14.3% | Closed below the 50-day average |
| Thangamayil JewelleryTHANGAMAYL | 9 Jul 2026 | 14 Jul 2026 | 3 | −9.8% | 8% below the opening price |
| Sterlite TechnologiesSTLTECH | 6 Mar 2026 | 14 Jul 2026 | 85 | +184.5% | Closed below the 50-day average |
| Apar IndustriesAPARINDS | 12 Jun 2026 | 9 Jul 2026 | 18 | −9.5% | Closed below the 50-day average |
| GE Vernova T&D IndiaGVT&D | 9 Mar 2026 | 6 Jul 2026 | 78 | +18.1% | Closed below the 50-day average |
| Mtar TechnologiesMTARTECH | 3 Feb 2026 | 6 Jul 2026 | 101 | +113.8% | Closed below the 50-day average |
| Hitachi Energy IndiaPOWERINDIA | 2 Mar 2026 | 2 Jul 2026 | 80 | +39.2% | Closed below the 50-day average |
Learn about trading strategies
All articlesHow the strategies were chosen and tested
The tests every strategy here had to pass, how each test is run, and how to read the results.
01How they were chosen
- Twenty years, a decade kept aside
- 33 published strategies were tested on NSE's end-of-day files from 2006: the 24 that Swing Setups used to show, six from academic research and NSE's factor indices, and three more, each with its rules written down before any result was seen. The years 2006 to 2015 were not used to pick anything, so they show how each did on data it was never fitted to. Two are kept: Momentum + Low Volatility, which cleared every test, and Trend Template, which cleared every test but the last (its page says so). They are the two whose lead over the index held in both decades; a later round of three new designs did not pass on the unseen years.
- The bar they had to clear
- Beat the index in 2006 to 2015, and again in 2016 to 2026.
- Still beat it with costs doubled.
- Give similar results with nearby settings: more or fewer stocks, other rebalance days, other lookbacks.
- Beat a portfolio of 20 stocks picked at random.
- Stay statistically significant after allowing for every strategy tried, since some will look good by luck alone.
- What did not make it
- Trailed the index
In both decades, once costs were paid: every short-term pullback strategy, every quick breakout and the futures long build-up.
- RSI-2
- Cumulative RSI
- Stochastic
- NR7
- Inside bar
- Bollinger squeeze
- Turtle
- Ichimoku
- Keltner
- Breakaway gap
- Long build-up
- Not convincing
Beat the index, but not by enough to be sure it was more than luck, or only with one setup.
- Darvas Box
- EMA 20/50
- Pocket Pivot
- 52-Week High
- RS-Line High
- Golden Cross
- Came closest
Delivery Accumulation: far ahead from 2006 to 2015, it only matched the index from 2016, and fell behind with costs doubled.
In Indian shares, trends that last months have paid; short swings have not.
- Trailed the index
02How every test is run
- Universe
- The 500 most-traded NSE stocks at each date, by six-month average traded value, re-ranked every month, including companies that later stopped trading (131 of the 1,361 since 2016). Testing only today's survivors would flatter every result.
- Trading
- Rules are read at a day's close and the portfolio changes at the next day's open. Momentum + Low Volatility holds up to 20 stocks, chosen again on the first trading day of each month; Trend Template holds up to 10 trades at a time, each a tenth of the money.
- Trailing stops
- Every strategy has a stop below each holding that only ever rises: after each close it moves up if the stock has gained enough, and never down. A close below it closes the trade at the next open. Both sit 25% below the highest close, so they act only on a deep fall: in the monthly portfolio the money then goes at once to the next best-ranked stock. Each strategy's page shows its record with and without the stop.
- Costs
- 0.2% on each side of every trade (STT, stamp duty, exchange charges and slippage). Every strategy is also run with costs doubled.
- Tax
- Each strategy's 20-year record is also shown after capital-gains tax at today's rates (20% on gains held under a year, 12.5% after), against an index fund that pays tax only once.
- Live backtest
- 1 Jan 2016 to 18 Nov 2026, rerun on NSE's files after every close. Splits, bonus issues, demergers and symbol changes are joined up, so none shows up as a gain or a loss.
- What is left out
- Dividends (as in the Nifty 500 price index it is measured against) and the chance that a large order moves a thinly traded price.
03Reading the results
- No stocks to act on
- Swing Setups does not list the stocks that meet a strategy's rules or that it would hold today. A stock is named only in past trades that ended at least three months before the latest data, to show how the rules worked.
- What to expect
- Both hold stocks that are already rising, so they tend to do well and badly at the same times: they have led in trending markets and lagged in choppy ones and in sharp rebounds (2009, 2016, 2018, 2022, 2025). Each has had stretches of two to five years behind the index.
Swing Setups is a screen and a history lesson, not advice. RupeeVerse is not registered with SEBI as an investment adviser or research analyst. Stocks named in past backtest trades are examples of how the rules worked, not recommendations, and past results do not predict future ones. Do your own research.