A research note · published 3 November 2026 · data through 31 July 2026

Trend-Gated Diversification

A Supertrend breadth overlay for Indian broad-market indices

Ayush Agrawal · indexstrategy.ayushagrawal.in · educational document, not investment advice

Regulatory note, read once. This is investor education, not advice. It names no security, recommends nothing, and promises nothing; simulated history is not a forecast. Following SEBI’s circular of 29 January 2025 for persons engaged solely in education, no market price data from the preceding three months appears anywhere in this document — every number is computed from official National Stock Exchange data ending 31 July 2026.

1The question

The three Indian broad-market indices in this study move together. Their weekly returns correlate 0.82 to 0.95 with each other. So a basket of all three is really one bet — Indian equities. That bet earned 19.1% a year over the last five and a half years. But it fell -24.7% at its worst. For most people the fall, not the return, is what makes them sell at the wrong time.

So I asked one question: can a simple, mechanical, weekly rule keep most of the return while making the falls smaller? No forecasting. No fundamentals. Just a rule, written down in advance, that answers one thing every Friday: should the money be in the market this week, or not?

The answer, in numbers. Over 5.5 years of official NSE data (2021-01-15 to 2026-07-31), the gated portfolio earned 15.2% a year, against 19.1% for the same three indices held passively. That gap looks large, but it is too noisy to be statistically significant (t = -0.73). The worst fall shrank from -24.7% to -17.0%, and the Sharpe ratio — return per unit of wobble — moved from 1.15 to 1.17.

In plain words Over the last five and a half years this rule earned a little less than simply holding the three indices, but its worst fall was smaller and its ride was smoother. It protects you in long, grinding falls and annoys you in fast rebounds. There is not enough data here to prove it works — and not enough to prove it doesn’t. What follows is everything I measured, including the year it failed.

2The rule

The rule has two parts: a trend line on each of the three indices, and a gate that counts them.

Part one — a trend line per index. Every Friday, for each index, I draw one number: the Supertrend. It is a standard, textbook trend line (from Wilder’s 1978 book) built from the week’s price range and its average range over the last 10 weeks. An index above its line is in an uptrend; below it, a downtrend. That is the whole indicator. Nothing is tuned, nothing is learned from the data.

true range = max(high − low, |high − prev close|, |low − prev close|) ATR = Wilder average of true range over 10 weeks upper band = (high + low) / 2 + 3 × ATR lower band = (high + low) / 2 − 3 × ATR state = UP if close > lower band, DOWN if close < upper band, else previous state

Part two — the gate. Count how many of the three indices are in an uptrend. That count, from 0 to 3, decides everything:

if I am IN and the count is 2 or less → sell everything, go to cash if I am OUT and the count is 3 → buy the three indices otherwise → do nothing

Look at the asymmetry. One index cracking is enough to leave. All three must be strong to return. The rule is quick to doubt and slow to trust. That asymmetry is not decoration; it is the result. The symmetric version — leave at two, return at two — whipsaws at the boundary (Section 7).

The holdings. When invested, the book holds 15% Nifty200 Momentum 30, 30% Nifty Midcap 150 and 55% Nifty Smallcap 250, with 10% kept in cash. The smallcap tilt is on purpose: smallcaps have the highest long-run return of the three, and once the gate is handling the risk, holding more of them costs little in extra fall (Section 8).

Mechanics. The signal is read on Friday’s close and traded at the next week’s open, so no trade ever uses the bar it is decided on. Costs of 0.25% per side are charged on every traded rupee. Cash earns 5% a year. No shorting, no leverage, nothing intra-week.

3The data

Every number in this paper comes from the official NSE bhavcopy archive — the daily index files at archives.nseindia.com/content/indices/ind_close_all_<DDMMYYYY>.csv — 2620 files, one per trading day from 1 January 2016 to 31 July 2026. No vendor API, no broker feed, no third-party index site, no ETF prices. Returns are index-level price returns (dividends not reinvested — a small, uniform understatement everywhere).

One data quirk, told plainly: the official archive publishes the Nifty200 Momentum 30 index only from 28 August 2020, and its intraday open/high/low only from January 2021. Before that, the daily open, high and low are set equal to the close. All returns are unaffected. The main window therefore starts 2021-01-15 — the first week all three indices trade, plus 20 weeks of warm-up for the indicator. This is a short window, and Section 9 says so.

The sample ends on 31 July 2026 for a regulatory reason, not a research one: SEBI’s rules for persons engaged solely in education forbid using market price data from the preceding three months.

4What happened

Figure 1 is the whole story on one page. The basket (grey, dashed) ends higher. The gated book (solid) ends a little lower, but it sits out the two ugliest stretches. Whether that trade was worth it depends on which stretches you care about — and on 2022, where the gate was wrong.

2021 2022 2023 2024 2025 2026 gated book 30/40/30 basket Nifty 500 exit: one leg cracks, the 2022 fall begins re-entry — after missing the spring rebound exit before the late-2024 dip re-entry exit for the 2026 correction log scale, one rupee at the start, weekly closes

Figure 1. One rupee invested in each, weekly closes, log scale, 2021-01-15 to 2026-07-31. Cash earns 5%/yr; 0.25% a side on everything traded. The flat stretches of the solid line are weeks spent in cash. Labels mark the gate’s actual exits and re-entries.

gated book -10% -20% -30% -40% -13% 30/40/30 basket -10% -20% -30% -40% -6%

Figure 2. Falls from the running high, same scale on both panels. The basket’s worst fall is -24.7%; the gated book’s is -17.0%.

Table 1 — Performance, full window (2021-01-15 to 2026-07-31)
per yearvolatilitySharpeSortinomax drawdownCalmarup months
Gated 15/30/55 + 10% cash15.2%13.6%1.171.89-17.0%0.8974%
30/40/30 basket, passive19.1%17.5%1.151.70-24.7%0.7767%
Equal 1/3 basket, passive18.9%17.6%1.131.67-25.2%0.7567%
Nifty 500, passive13.0%14.1%1.021.62-18.8%0.6962%

Volatility is annualised. Sharpe and Sortino use monthly returns and a zero risk-free rate — Sharpe measures return per unit of wobble, Sortino return per unit of downside wobble. Calmar is annual return divided by the size of the worst fall. Source: NSE bhavcopy archive, index data through 31 July 2026.

Read Table 1 honestly. The gated book gives up -0.34% a month to the basket — about 15.2% versus 19.1% a year — and that gap is not statistically meaningful (t = -0.73). What it buys: a smaller worst fall, and a distribution with less crash-side skew (-0.52 to 0.17).

51 48 2021 -13 -4 2022 42 45 2023 17 21 2024 0 -3 2025 -5 2 2026 gated book 30/40/30 basket

Figure 3. Calendar-year returns. The gated book loses the strong years and wins some weak ones — except 2022, where it lost more. That year is the paper’s honest centre.

The 2022 episode, in full. The gate exited on 4 March 2022 with one leg cracked, sat out the spring, and returned on 9 September after a strong rebound. Then it exited again on 30 December and stayed out until 2 June 2023. The result: the gated book fell -13.0% in 2022 while the passive basket fell -3.5%. This is what fast rebounds cost: the gate missed the recovery, twice. Any honest reading of this strategy has to carry that year.

The overlay is cheap to run: 9 trades in 5.5 years (about 1.6 a year), in cash 32% of the weeks. The full trade list is in the Appendix.

5The obvious objection

“All you did is hold less equity.” It is the right question. A constant basket-plus-cash mix is de-risked all the time; the gate is de-risked only when an index is in a weekly downtrend. Table 2 shows the difference that timing makes.

Table 2 — The gated book against every constant basket-plus-cash mix
allocationper yearvolatilitySharpemax drawdown
35% basket + cash6.6%6.1%1.13-9.4%
50% basket + cash9.5%8.8%1.13-13.2%
65% basket + cash12.3%11.4%1.13-16.9%
80% basket + cash15.2%14.1%1.13-20.5%
basket (100%)18.9%17.6%1.13-25.2%
Gated strategy15.2%13.6%1.17-17.0%

Same window, same costs, cash at 5%/yr. To get the gated book’s drawdown with a constant mix you must hold about 65% in the basket — which earns 12.3% a year, against the gated book’s 15.2%. And holding the full basket to match the gated book’s return buys you the 24.7% fall. The gate beats every constant mix at its own risk level.

6Why it works — and when it won’t

Trend breaks bunch up early in serious declines and persist through them. Recoveries strong enough to push all three indices back above their trend lines rarely reverse immediately. So the gate is insurance against long, grinding falls, and it pays the premium by being late into fast rebounds.

The same logic produces a list of situations where this rule will lose, stated plainly:

7What failed first

This rule is the survivor of several dead ends. I list them because they explain why the rule looks the way it does.

8Breaking the rule on purpose

If a rule only works at its exact settings, it is fitted, not found. So I broke this one in the two ways it can be broken — parameters and weights — and report every cell, including the bad ones.

Table 3 — Every parameter combination around the defaults
ATR × multiplierper yearmax drawdownSharpetrades
7 × 2.016.7%-9.1%1.4913
7 × 3.015.1%-15.5%1.178
7 × 4.015.9%-19.0%1.286
10 × 2.014.3%-20.8%1.1817
10 × 3.015.2%-17.0%1.179
10 × 4.013.5%-19.0%1.098
14 × 2.014.9%-21.0%1.2217
14 × 3.013.8%-14.9%1.1911
14 × 4.015.4%-20.2%1.166

Nine combinations. Return stays between 13.5% and 16.7% a year and the worst fall between -9.1% and -21.0%. Nothing collapses. The defaults (10 × 3) sit in the middle of the grid, not at its best cell — which is the point of using defaults.

Table 4 — The same gate with different weights
MOM / Mid / Smallper yearmax drawdownCalmar
15/30/5515.2%-17.0%0.89
10/40/5015.1%-16.4%0.92
20/30/5015.2%-16.9%0.90
30/40/3015.0%-15.8%0.95
30/30/4015.1%-16.5%0.91

The results barely move when the weights move. The smallcap tilt is the only lever that changes the per-year figure, and it costs little in fall — the gate absorbs the extra volatility.

One more check, the honest kind. Everything was fixed on 2021-01-15 to 2023-12-31, then read once on 2024-01-01 to 2026-07-31. The gated book earned 24.2% with a -15.5% fall in the design half, and 4.8% with a -17.0% fall in the holdout half. The drawdown control carried over. The return did not — the holdout half was a weak period for this rule, and I say so rather than hide it. Finally, the search caveat: across the whole research programme behind this paper, roughly four hundred rule configurations were evaluated before this specification was frozen. That number is why the grids above are shown in full, and why every backtest should be read with a haircut.

9What I don’t trust about this result

10Closing

The rule in one sentence: hold the three broad Indian indices only while all three are in a weekly uptrend, and hold nothing while any one of them is not. On five and a half years of official NSE data that sentence earns 15.2% a year against the basket’s 19.1%, shrinks the worst fall from -24.7% to -17.0%, and whipsaws once, in 2022. It is not a return prediction. It is a rule about when to be present. Whether the smoother ride is worth the 4 points a year — statistically indistinguishable, but still 4 points — is a decision each reader can now make with all the numbers on the table.

If you find an error, I would genuinely like to hear about it: the reproduction details in the Appendix make every number in this paper checkable in an afternoon.

AAppendix — the 9 trades

Every gate switch, 2021-01-15 to 2026-07-31
dateactionlegs in uptrendMOM 30Midcap 150Smallcap 250
04-Mar-2022EXIT1 / 318867103528804
09-Sep-2022ENTER3 / 319693121309582
30-Dec-2022EXIT2 / 319445118869481
02-Jun-2023ENTER3 / 3205681270510044
22-Nov-2024EXIT1 / 3333172041316912
13-Jun-2025ENTER3 / 3310242143317210
30-Jan-2026EXIT2 / 3303272149115764
15-May-2026ENTER3 / 3301762225816723

Four exits and four re-entries in five and a half years. Read the 2022 rows slowly: the gate left on 4 March, came back 9 September, left again 30 December, and stayed out until June 2023. That sequence — not any table — is what this rule really is.

BReproduction

data 2620 files: ind_close_all_<DDMMYYYY>.csv from archives.nseindia.com/content/indices/ indices Nifty200 Momentum 30, Nifty Midcap 150, Nifty Smallcap 250, Nifty 500 bars weekly, Friday close; open/high/low aggregated from the daily archive files rule Supertrend(ATR 10, x3) per leg → count → OUT at ≤2, IN at =3 weights 13.5 / 27 / 49.5 invested + 10% cash · 0.25% per side · cash 5%/yr window 2021-01-15 to 2026-07-31 · signals at Friday close, filled at next open engine paper_engine.py / paper_run.py / paper_curves.py (Python, pandas), this document built from their output

CReferences

  1. Wilder, J. Welles. New Concepts in Technical Trading Systems. Trend Research, 1978. (ATR and the trend bands Supertrend is built from.)
  2. Faber, Mebane T. “A Quantitative Approach to Tactical Asset Allocation.” The Journal of Wealth Management, 2007. (The modern template for one simple, mechanical timing rule.)
  3. Moskowitz, Tobias J., Yao Hua Ooi, and Lasse Heje Pedersen. “Time Series Momentum.” Journal of Financial Economics, 2012. (Evidence that short-horizon trend persistence is real across markets.)
  4. Harvey, Campbell R., Yan Liu, and Heqing Zhu. “…and the Cross-Section of Expected Returns.” Review of Financial Studies, 2016. (Why any backtest should be read with a multiple-testing haircut.)
  5. Securities and Exchange Board of India. Circular on persons engaged solely in education, 29 January 2025; SECC (Fourth Amendment) Regulations, 2024. (The three-month data rule this document follows.)
  6. National Stock Exchange of India. Daily index archive, bhavcopy section: archives.nseindia.com. (All data used here.)
Published 3 November 2026 · indexstrategy.ayushagrawal.in · data through 31 July 2026 · educational research, not investment advice · no securities named, no returns promised.