Strategies

Buying dips in Midcap 150 stocks: a small edge that is eaten away by costs

In short Buying Midcap 150 stocks that closed at a 5-day low, with a 10-day limit and an exit on any close below the 10-day EMA, lost about 24% a year after costs over ten years. The trades had a small edge before costs (+0.21% each), but the EMA exit fired the day after almost every buy: 1,355 trades a year, and costs took more than the edge. Without that exit the rules simply tracked the index.

Strategy card How we score →

Checks: passed 1 of 8

Risk: Not rated

Worst drawdown −94.4% · not rated, because it loses money after costs

The idea

Buy the dip. When a good stock has a bad few days, the fall is often noise, and the price tends to recover once the selling stops. This rule set comes from a public site that generates strategy ideas automatically. It looks for a short fall in a mid-cap stock, prefers stocks that have been strong over the past year, and takes a quick profit on the bounce.

We tested two versions that the site produced, both on the NIFTY Midcap 150. The first is the headline result on this page; the second is shown alongside it.

The rules

Common to both:

  • Universe: NIFTY Midcap 150 stocks, point-in-time: on each date, only stocks in the index on that date.
  • Signal on the daily close; buy at the next day’s open.
  • At most 10 stocks, equal money in each (a tenth of the portfolio’s value at the time).
  • When more stocks signal than there are free places, buy the strongest first. Strength = the stock’s return over the past year leaving out the latest month, divided by its volatility over the same period.
  • Exits (whichever comes first): a stop-loss 20% below the buy price; a target 15% above it; a time limit; a close below a short exponential moving average (EMA). Stops and targets are checked against the day’s low and high; the time and EMA exits sell at the next day’s open.
  • Cost: 0.2% per side, including slippage.
Version 1: 5-day low (headline)Version 2: Supertrend dip
Buy whenthe close is the lowest of the last 5 closesthe close is below Supertrend(10, 2) and the day has a lower high and a lower low than the day before
Strength look-back9 months (skipping the last month)12 months (skipping the last month)
Protecting a gainstop rises 5% for every 5% the price risesonce 5% up, the stop moves to the buy price
Time limit10 trading days15 trading days
EMA exitclose below EMA(10)close below EMA(20)

The backtest

Data: NIFTY Midcap 150 stocks, 1 April 2016 to 31 July 2026 (10⅓ years).

CAGRWorst drawdownTrades a yearAverage hold
Version 1, as listed−23.9%−94.4%1,3551.8 days
Version 2, as listed−28.8%−97.1%1,3851.7 days
NIFTY Midcap 150 buy & hold17.9%−44.2%
Midcap 150, equal weight (same members)16.4%−48.1%

(The index is the price index; the backtest’s stock prices exclude dividends too. The equal-weight row holds every stock in the index that day in equal amounts, with no costs.)

₹1 lakh in version 1 would have shrunk to about ₹6,000. The same amount in the index grew to about ₹5.5 lakh.

Midcap 150 dip buying (5-day-low close, rules as listed, after costs) vs the NIFTY Midcap 150 index, growth of 100Apr 2016 to Jul 2026. Dip buying, as listed ends at 6, NIFTY Midcap 150 ends at 550. Figures are also in the tables on this page.5010020040020172019202120232025Dip buying, as listed6NIFTY Midcap 150550
Growth of 100, April 2016 to July 2026, after costs. Log scale. Hover or tap for values.

What went wrong: the EMA exit

A stock that has just closed at a 5-day low is almost always below its 10-day average, and one day later it usually still is. So the “close below the EMA” exit, meant to cut a trade that stops working, fired on most trades the morning after the buy:

  • 95% of version 1’s 13,993 trades ended on the EMA exit, and 80% were sold at the very next open.
  • The stop-loss fired 3 times, the target 284 times and the time limit 427 times. Those were the rules the strategy was meant to be about.
  • With 1,355 trades a year, each a tenth of the portfolio, the portfolio was bought and sold about 135 times a year.

Before costs, the trades did have a small edge: +0.21% a trade on average. Each round trip cost 0.4%. That gap, repeated 1,355 times a year, is the whole result. We explain the arithmetic on a separate page: A tiny edge, a huge CAGR, then costs.

Version 1, cost per side00.05%0.1%0.15%0.2%0.4%
CAGR29.9%13.6%−0.6%−13.0%−23.9%−55.3%
Worst drawdown−31.5%−40.9%−57.0%−79.0%−94.4%−100%

Changing the other rules doesn’t help

Version 1 as listed, with one rule changed at a time:

ChangeCAGRWorst drawdown
As listed−23.9%−94.4%
Stop 10% instead of 20%−25.8%−95.7%
Target 10% instead of 15%−28.8%−97.1%
No target−22.3%−93.1%
No time limit−21.7%−92.8%
5 stocks−24.5%−95.6%
20 stocks−27.5%−96.5%

Every one lost over 20% a year. Version 2 behaved the same way (between −27% and −31% a year for the same changes).

Without the EMA exit

Take the EMA exit away and the trades last as long as the rules intend: about 10 days for version 1 and 15 for version 2, with about 260 and 200 trades a year.

CAGRWorst drawdownDouble costFirst halfSecond half
Version 1, no EMA exit16.3%−36.5%4.9%25.6%7.6%
Version 2, no EMA exit11.9%−41.9%3.4%
NIFTY Midcap 150 buy & hold17.9%−44.2%18.0%17.7%

(Halves: April 2016 – June 2021 and June 2021 – July 2026.)

Midcap 150 dip buying without the EMA exit (after costs) vs the NIFTY Midcap 150 index, growth of 100Apr 2016 to Jul 2026. Dip buying, no EMA exit ends at 477, NIFTY Midcap 150 ends at 550. Figures are also in the tables on this page.10020040020172019202120232025Dip buying, no EMA exit477NIFTY Midcap 150550
Version 1 without the EMA exit, after costs, against the index. Growth of 100, log scale.

That looks respectable, but it is mostly the market:

  • It moves with the index. Daily correlation with the NIFTY Midcap 150 is 0.83, and the portfolio is almost always fully invested. Its return is about what the market’s own movement explains.

  • It didn’t beat the index, and it fell further behind in the second half: 7.6% a year against 17.7%.

  • Double costs take most of it away (16.3% → 4.9%).

  • The dip isn’t what earns the money. We kept the same exits and made the choice of stock random:

    • Random stocks from the index on random days, at the same rate as the signals: 3–7% a year.
    • The real dip signals, but bought in random order instead of strongest first: 2.1% a year.

    The ranking by past-year strength is doing the work, not the dip. That ranking is plain momentum, which we test directly in Midcap momentum.

Risks

  • Turnover. As listed, about 1,355 trades a year: the result depends almost entirely on costs.
  • Deep drawdowns. −94% as listed; −37% to −42% even without the EMA exit.
  • Short-term taxes. Every gain is short-term; taxes are not included in the results.
  • Always invested (without the EMA exit): full exposure to mid-cap falls, with no cash cushion.

Pros & cons

Pros

  • Simple, mechanical rules on a liquid, survivorship-free universe.
  • Before costs, the dip signals did have a small edge over random entries.

Cons

  • As listed, costs take far more than the edge: −24% and −29% a year.
  • Without the EMA exit it only tracks the index, with weaker recent years.
  • The useful part, ranking by past strength, is a momentum effect that doesn’t need the dip.

Our verdict

It passed one of our eight checks, enough data. As written, both versions lost heavily because their EMA exit sold almost every buy the next morning, and 0.4% of costs on each round trip outweighed an average gain of 0.21%. Without that exit the rules made money but did no better than holding the NIFTY Midcap 150, and most of the gain came from choosing strong stocks rather than from buying the dip. This is a test of past data, not a forecast.

Was this useful?

More to say, or spotted a mistake? Write to [email protected]. We read everything.

Topics

Hypothetical, backtested results on historical data at least three months old. They include modelled costs but can't capture every real-world effect, and past performance does not predict future results. This is educational research, not a recommendation. Full disclaimer.