The 200-day moving average and market regime: when to be in the market at all
Market regime answers one question: what kind of market are we trading in right now? The simplest and most common definition uses a single rule: when a broad index (usually SPY, the ETF that tracks the S&P 500) trades above its moving average of the last 200 trading days, the market is in a bullish regime; when it trades below, the regime is bearish.
It sounds simplistic, and that's deliberate. The advantage of a blunt definition is that you can't argue with it or bend it after the fact, and it changes slowly enough that you won't get jerked around by every swing. The interesting question is what you do with the answer.
Why the 200-day average?
A 200-day moving average compresses about 200 trading days, roughly ten calendar months, into a single line, which makes it slow and stable: a two-week pullback barely moves it. It's also one of the most widely watched lines in the market. Funds, analysts, and retail traders all look at the very same line, and all those eyes give it behavioral weight. More on this family of tools in our guide to moving averages.
There's nothing magic about 200 itself; 150 or 250 would be just as reasonable. The principle is to pick one slow rule and stick with it, rather than switching yardsticks every time you don't like the answer.
Why filter trades by regime
Most stocks are correlated with the index: when the whole market falls, even attractive setups in strong stocks fail more often, because the rising tide that lifted all boats has gone out. That's why many swing traders use the regime as a filter. In a bullish regime they trade as usual; in a bearish regime they cut position sizes, raise the bar for entries, or simply sit on the sidelines.
Note what the filter doesn't try to do: it doesn't predict the next decline or pick the bottom. It only asks whether the environment supports the kind of trades you make, like a farmer who doesn't plant in winter. It's an exposure decision, not a forecast.
What the filter costs (every choice has a cost)
A regime filter charges you in three currencies. First, lag: the 200-day average confirms a reversal months after the actual top or bottom, so you'll always miss the start of the move. Second, whipsaws: when the index hovers around the line, the filter flips back and forth and creates decision noise. Third, the big rally days: some of the sharpest up days in history came below the 200-day average, in the middle of bear markets, and if you're out, you miss those too.
Still, many traders pay this price with their eyes open, because what they get in return, sitting out the most destructive periods, matters more to them than missing the early part of moves. It's a conscious trade-off, not a trick.
How TechAnalyzer's engine uses it
For us the filter isn't a theoretical suggestion but live code: after a backtest showed that new setups opened in a bearish regime had a negative average result, the engine stopped opening new setups whenever SPY trades below its 200-day average. The same analysis also led us to drop short setups entirely; details in our guide to short selling.
These decisions cost us trades that were never opened, and some of them would have worked. That's the price, and we pay it knowingly, because the data showed the overall results improve when you pass on trades in a hostile environment.
What it doesn't mean
Three caveats to keep in mind when using the filter:
- A bearish regime is not a crash forecast: The market can drop below the average, chop around for weeks, and climb back above it. The filter describes an environment, not a price target.
- A bullish regime is not a safety net: Even in a bull market, individual trades fail all the time. Trade-level risk management, a stop loss and proper position sizing, is never optional.
- The line itself is not a wall: A one-day cross is not an event. Many traders want confirmation, several consecutive closes on the other side of the line, before they mentally switch regimes.
Want to see this on a real chart?
TechAnalyzer Pro analyzes any stock or cryptocurrency and marks the levels, patterns, and indicators for you, with a plain-English explanation next to every term. No credit card required.
📈 One stock before a breakout, weekly by email
Each week, one stock with an interesting technical setup, and a simple explanation of what to check on the chart.
Free. One-click unsubscribe. Not investment advice.