Sector Rotation

Which sectors are attracting money, which are turning, and which are losing it — scored from each sector’s returns against the S&P 500.

No live sector table in this build. The formulas and the calculator below are here, but the live 42-ETF sector table is not — there is no market-data feed wired in this build yet. The live table arrives with the market-data feed. No sector return, ETF price or flow reading is shown here, because none has been computed from live data.

Scored names by sector

The scored universe, grouped by Yahoo sector — how many names are scored in each sector, and the median overall score of those names. This is a count of scored names, not a rotation reading: no sector return, ETF price or flow is shown here.

SectorNamesMedian score
Technology9158.3
Consumer Cyclical3563.4
Industrials2856.5
Healthcare1958.2
Financial Services1555.5
Communication Services1258.5
Consumer Defensive1157.3
Basic Materials662.5
Energy564.1
Utilities448.6
Real Estate151.9

227 names scored so far. Counts and medians are computed live from the scored universe; the median is of the overall score. Tap a sector to open the All Stocks list for that sector.

The formulas

Attribution: Exact port of the TradingView Pine Script by colicoid.

  • Relative strength: RS = sector 21-day return − SPY 21-day return
  • Momentum: Momentum = weighted average (1W×3, 1M×2, 2M×1, 3M×0.5) ÷ 6.5
  • Acceleration: Acceleration = recent average (1W×2, 1M) − older average (3M, 6M), where each average is weighted by its weights
  • Change in 1-month return: Δ1M = this month’s 1M% vs the prior month’s 1M%
  • Flow: Flow: IN (Mom > 5 & Acc > 2) · TURN (Mom > 0 & Acc > 5) · WATCH (6M < −10 & 1M > 0 & Acc > 0) · OUT (Mom < −5 & Acc < −2)

Momentum weights the most recent returns most heavily (1W ×3, 1M ×2, 2M ×1, 3M ×0.5, divided by 6.5). Acceleration compares the recent average (1W ×2, 1M) with the older average (3M, 6M): a positive number means the sector is speeding up, a negative number means it is slowing down even if returns are still positive.

Rotation calculator

Type a sector’s returns (all in percent) and the outputs update live. Pre-filled with the published Health Care (XLV) worked example.

Note on the 21-day returns: the published example states the RS gap (+8.8 pts) but not the two 21-day returns separately, so those fields are pre-filled as +8.8 vs 0.0 to reproduce the published gap only. Type real 21-day returns and RS recomputes.

Relative strength (RS)+8.8 pts
Momentum+6.1
Acceleration-18.7
Δ1M (vs prior month’s 1M%)—
FlowNo flow signal

Flow is checked in this order and the first match wins: IN, then TURN, then WATCH, then OUT. “No flow signal” means none of the four conditions is met — that is a normal outcome, not an error.

Worked example — Health Care (XLV)

Published 15 Nov 2026. Inputs: 1W +2.2, 1M +6.6, 2M +13.1, 3M +13.5, 6M +31.2 (all percent).

OutputValueArithmetic
Momentum+6.1(2.2×3 + 6.6×2 + 13.1×1 + 13.5×0.5) ÷ 6.5 = 39.65 ÷ 6.5 = +6.1
Acceleration-18.7(2.2×2 + 6.6) ÷ 3 − (13.5 + 31.2) ÷ 2 = 3.67 − 22.35 = −18.7
Relative strength (RS)+8.8 ptsSector 21-day return minus SPY 21-day return — the published gap; the two 21-day returns were not published separately.
FlowNo flow signalMomentum +6.1 clears the IN momentum bar, but Acceleration −18.7 does not; TURN needs Acceleration > +5; WATCH needs 6M < −10 (it is +31.2); OUT needs Momentum < −5.

The lesson of this example: Health Care had strong recent returns and was beating the market (RS +8.8), but its momentum was decelerating hard (Acceleration −18.7) because the big gains were months ago, not now. A high Momentum alone does not make a sector an IN.

See the 19 Healthcare names →

How to read the flow labels

  • IN — Momentum above +5 and Acceleration above +2: the sector is strong and speeding up.
  • TURN — Momentum above 0 and Acceleration above +5: the sector is turning up fast from a weak base.
  • WATCH — 6-month return below −10%, 1-month return above 0 and Acceleration above 0: a beaten-down sector starting to stabilise.
  • OUT — Momentum below −5 and Acceleration below −2: the sector is weak and slowing further.
  • No flow signal — none of the four conditions is met. Most sectors, most of the time, sit here.

Flow labels are a rotation read, not a recommendation to buy or sell any security. See Methodology for what this site’s scores are — and are not.