Data to 5 October 2026

Methods

Trend and momentum of every market

How the section at /trend/ measures trend, momentum and regimes for every Indian index, gold, G-secs, the rupee and overseas indices in rupees. These are descriptions of the past, not tested signals; the tests are on /trend/evidence/ and in the specs listed at the end.

Code: pipeline/tipsheet/compute/trend_taxonomy.py, compute/trend_section.py, publish/trend_section.py, refreshed by the plug-in step steps/trend_section.py. Tests: pipeline/tests/test_trend_section.py. Bundles: trend/*.

The markets

Launch dates and back-calculated history

NSE publishes most indices with a history that starts years before their launch: today’s rules applied to the past. Rules chosen with that past in view look better in it than they will afterwards.

The trend score

The pre-registered score of trend_barometer_spec.md, unchanged: four signal types (past return, price against its average, a quarter-length average against a full-length one, position in the high-low channel) at six horizons (21, 42, 63, 126, 189 and 252 sessions), each a vote, on the market’s level divided by the 91-day T-bill cash index (so a market that only keeps pace with cash is not trending). The score is the share of the 24 votes that are up, 0 to 100. Pages show the votes at 1, 3, 6 and 12 months (21, 63, 126, 252 sessions), up to four each.

Uptrend and downtrend (the regime)

Momentum rank

Each market’s return over cash at 1, 3, 6 and 12 months (21, 63, 126, 252 sessions) is ranked as a percentile among the markets with that horizon on that day; the four percentiles are averaged and the average ranked again, 0 to 100 (100 strongest). Shown overall and within the family. Daily, published weekly. It is relative: in a falling market the leaders may still be falling. The pre-registered six-flavour blend (momentum_barometer_spec.md, MO-H5) remains the tested version and is on the evidence page.

Rule states and replays

Other measures on the market pages

What is published

Scores, votes, ranks, returns, drawdowns and rebased growth curves for NSE indices, gold and G-secs. No index levels. The licence gate (publish/licence_gate.py) runs over every bundle.

docs/research/trend_momentum_spec.md (single rules, sector momentum), trend_barometer_spec.md (the ensemble), momentum_barometer_spec.md (stock momentum, MO-H5), and the audit register docs/research/AUDIT.md (rows T1–T6, BT1, R1–R5, D9).

Path quality diagnostics (2026-10-05)

These additions do not change registered trend votes, momentum ranks, regime thresholds or strategy replays. Use native total-return index closes on the breadth market-session calendar, without filling missing prices. Missing, nonpositive or nonfinite closes interrupt full-window calculations. Publish weekly last-session readings and a latest common-session table. Histories start at known launch dates; unknown launches use reported history. Warmup may use provider pre-launch history, so early diagnostics can reflect back-calculations.

Fixed 63-session efficiency is absolute net displacement divided by the sum of absolute daily price changes, times 100. It needs 64 closes (63 changes). A flat zero-length path is blank. High efficiency can describe falls as well as rises; direction remains in the existing trend score.

Persistence is the fraction of the last 63 sessions strictly above their own trailing 200-session simple average. It needs valid averages at all 63 sessions (262 closes). Equality does not count as above.

Extension is log(close / 200-session average) divided by the trailing 63-session sample standard deviation of daily log returns times √63. Zero volatility is blank. This is a scaled distance, not a statistical z-score or reversal forecast. Annualised volatility uses the same standard deviation times √252, in per cent. Rank persistence and cross-measure redundancy analysis remain separate work; no composite score, outcome test or trading rule is inferred.

Representative quality displays

The four index family quality chapters lead with fixed editorial lists in apps/site/src/lib/trend-display.ts. Broad benchmarks include Nifty 200 and Nifty 500, followed by distinct size segments. Sector defaults retain main business benchmarks, including both healthcare and pharma. Themes use a cross-section of distinct concepts. Strategies show one representative for main factor/construction approaches, preferring a Nifty 500 parent where available. Remaining indices stay in grouped selectors and expanded tables. These are display choices, without performance selection or changes to analytic universes, family breadth, rankings, signals or histories. Index overlap and construction differences remain explicit.

This note is the repository file docs/methods/trend_momentum.md, rendered as-is.