← All Insights
Education7 min read

Market Regime Detection: Four Regimes, One Filter and 26 Years of S&P 500 Data

A market regime is the market's current state: trending up or down, calm or volatile. We mapped four regimes on 26 years of S&P 500 data and measured the filter's lag and whipsaw.

By Brad Roth·

A market regime is the state the market is in right now. Trending up or down, calm or volatile. Market regime detection reads that state from price data with signal-processing filters. THOR's indexes are built on that idea. Here's a simple public version on 26 years of S&P 500 data.

What is a market regime?

It's a stretch of time when prices behave in a consistent way. The two axes most people use are trend and volatility. Trend asks whether prices are rising or falling. Volatility asks how hard they swing day to day.

Cross the two and you get four regimes. Up and calm. Up and volatile. Down and calm. Down and volatile. Each one has a different mix of return and risk. A portfolio that treats them alike carries all four risks in full.

How does signal processing detect a market regime?

Engineers use filters to pull a signal out of noisy data. Noise-canceling headphones are the everyday example. A moving average is the simplest filter there is. In engineering terms it's a low-pass filter. It passes the slow trend and damps the daily wiggles. The price of that smoothing is delay. A simple 200-day average lags by 99.5 sessions at its center, by construction. A 50-day lags by 24.5.

So every regime filter trades two things against each other. Smooth it more and it reacts later. Smooth it less and it jumps at every wiggle. Adaptive filters try to change that trade as conditions change. They shorten or lengthen their response as volatility shifts.

What do four market regimes look like on 26 years of data?

We tested a public two-axis map on SPY, the S&P 500 ETF. The window runs from January 3, 2000 to November 25, 2026, which is 6,766 sessions. Trend is the close above or below its 200-day average. Volatility is 21-day realized volatility, annualized, above or below 20%. Each day's return is labeled with the prior day's regime, so the label was known in advance.

  • Up and calm: 67.9% of sessions. Annualized return 10.8%, volatility 12.4%.
  • Up and volatile: 6.5% of sessions. Annualized return -7.4%, volatility 21.1%.
  • Down and calm: 8.3% of sessions. Annualized return -2.2%, volatility 20.7%.
  • Down and volatile: 17.3% of sessions. Annualized return 16.7%, volatility 34.2%. Worst single day -10.9%.

Look at the last line. The scariest regime also held the biggest up days. Volatility runs both ways, and rebounds cluster right next to crashes. On October 10, 2008, SPY sat 32.0% below its 200-day average with 21-day volatility at 54.1%. On March 16, 2020, volatility hit 75.2%. Compare November 1, 2017, when it was 5.0%.

Regimes also flicker. Up and calm lasted 56.7 sessions on average, but the median spell was five sessions. The other three had median spells of three to five sessions. Most regime changes on a raw map reverse within a week.

How late is a market regime filter?

Here's how long SPY took to close below its 200-day average after each major peak. And how far it had fallen by then.

  • 2000: peak March 24, first close below April 14. 15 sessions, down 11.4%. The trough came in July 2002 at -46.5%.
  • 2007: peak October 9, first close below November 8. 22 sessions, down 6.0%. The trough came in March 2009 at -55.2%.
  • 2020: peak February 19, first close below February 27. Six sessions, down 12.1%. The trough came on March 23 at -33.7%.
  • 2022: peak January 3, first close below January 21. 13 sessions, down 8.3%. The trough came on October 12 at -24.5%.
  • 2025: peak February 19, first close below March 10. 13 sessions, down 8.5%. The trough came on April 8 at -18.8%.

The filter never caught the top. In the slow declines it flagged the turn with most of the drop still ahead. In 2020 more than a third of the fall came first.

How do you stop a regime filter from whipsawing?

A plain 200-day rule crossed 185 times from 2000 to November 2026. That's 6.9 times a year, and 133 of those crossings reversed within ten sessions. A 50-day rule crossed 479 times.

A band cuts the noise. Require SPY to close 2% above the average to call an uptrend, and 2% below to call a downtrend. Crossings fell to 41, or 1.5 a year. Only eight reversed within ten sessions.

The band costs time. In 2022 it flagged the turn after 34 sessions, with SPY down 10.1%. The plain rule took 13. In 2000 it took 136 sessions. Crossings also bunch up. The plain rule crossed 19 times in 2000, 17 in 2007 and 15 in 2022. In 2017 and 2021 it never crossed at all.

What is a regime switching model?

It's a statistical model, popularized by the economist James Hamilton. It assumes the market moves between hidden states, each with its own average return and volatility. The model estimates the odds of being in each state from the data. Filter rules skip the statistics and set a plain threshold instead. Advisers usually compare four approaches.

  • Static allocation: no regime view. The weights stay fixed and get rebalanced on a calendar.
  • Single moving-average rule: one filter, one threshold. Easy to audit, slow, and noisy near the line.
  • Banded or multi-signal rule: fewer whipsaws, later signals.
  • Regime switching model: probabilities for each state. Harder to explain, and the estimates shift as new data arrives.

How do THOR's indexes use regime signals?

Each holding in a THOR index gets its own risk-on or risk-off read from an adaptive signal-processing filter. The rules then set the weights. The THOR SDQ Rotation Index holds SPY, DIA and QQQ at a third each. When one turns risk-off, the other two split its weight and the index stays fully invested. A second risk-off sends half to cash alternatives. A third puts the whole index in cash alternatives.

The THOR Equal Weight Low Volatility Index applies the same idea to ten sector ETFs. It adds a cash cascade once five or more are off. Each index page carries the full rules and dated 2025 history.

When does market regime detection fail?

  • V-shaped rebounds. The down and volatile regime held the biggest up days in the sample. A filter that steps aside there misses part of the bounce.
  • Whipsaw. A raw filter flips back within days far more often than it catches a real turn. Each flip costs trading and can buy high and sell low.
  • Lag. No filter calls a top. In 2020 the market fell 12.1% in six sessions before the 200-day rule reacted.
  • Hindsight in the settings. The 200-day length, the 20% line and the 2% band are round numbers picked in public. Tune them on past data and the test flatters itself.
  • Calm decline. Down and calm returned -2.2% a year here. A volatility trigger alone sleeps through a slow grind lower.

What should an adviser ask about a regime-based strategy?

Paste this into the memo.

  1. Name the inputs. Price only, or volatility, breadth and macro data too?
  2. Get the full rule set in writing, including what happens when signals conflict.
  3. Ask for crossings per year and the share reversed within ten sessions.
  4. Check the dated lag at the 2007, 2020, 2022 and 2025 peaks.
  5. Ask what the strategy owns when it's risk-off, and how fast it gets back in.
  6. Ask when the settings were fixed and whether they've changed since.
  7. Write down the job: drawdown control, a defensive sleeve, or a core replacement.

Definitions

  • Market regime: a stretch when prices behave consistently, usually described by trend and volatility.
  • Regime detection: classifying the current regime from data with a stated rule.
  • Low-pass filter: a filter that keeps slow movement and damps fast noise. A moving average is one.
  • Lag: the delay between a change in the data and the filter's response.
  • Regime switching model: a statistical model that estimates the odds of being in each hidden market state.

Past performance is not indicative of future results. Figures are total returns of public ETFs from adjusted closing prices over the stated dates, with no fees, costs or taxes. The moving-average rules and regime map are public examples for illustration and do not use THOR signals. None of these figures represents the performance of any THOR fund or index, and this material is educational and not investment advice.

Talk it through

THOR builds adaptive index strategies for advisers and allocators. Fifteen minutes with our founder and CIO gets you the mechanism, the index history, and an honest read on where it fits. Book a time.

Subscribe to The Signal
Brad Roth's daily market brief — systematic signals, ETF positioning, and what the data is actually showing.
Subscribe Free →

Get The Signal Every Morning

Brad Roth's daily market brief — systematic signals, ETF positioning, and what the data is actually showing. Free to subscribe.

Subscribe to The Signal