Market Context & Regime Filters
Reading the environment before taking swings.
Tree Key
The market environment determines whether a swing edge works at all. A trend-continuation setup that pays well in a trending tape can bleed in choppy, range-bound conditions; a mean-reversion signal that thrives on reversals fails when price makes a sustained directional run. Before entering any swing, the discipline is to apply regime filters — context rules that answer "should I be trading this kind of setup right now?" — because deploying a good setup in a hostile regime is among the fastest ways to erode an edge.
The regimes & filters
Trend vs. range. The foundational distinction. A trending regime makes higher highs/lows (or lower highs/lows); a range oscillates between boundaries with no net direction. The common rule-of-thumb filter is the 200-day SMA — longs only above it, shorts only below. More sensitive detection uses ADX: below ~20 = choppy, rising through ~25 = trend forming, above ~40 = strong trend. The tradeoff is lag — by the time ADX confirms a trend, part of the move is already gone.
Index trend ("don't fight the tape"). A stock can look bullish on its own chart, but if SPY/QQQ is in a confirmed downtrend the odds shift against longs. Filter: take longs preferentially when the index is above its 200-day MA, shorts when below. This single rule removes much of the friction of fighting institutional flow.
Breadth & internals. Breadth shows whether a rally is broad or narrow:
- Advance-Decline line — a divergence (index up, A-D flat/down) warns the move is narrow and fragile.
- McClellan Oscillator — EMA-smoothed A-D; positive = breadth expansion, negative = deterioration.
- % of stocks above the 50-day MA — above ~50% indicates broad participation; sustained sub-30% warns of a weak tape.
Sector rotation & group strength. Markets don't rise uniformly. Risk-on favors high-beta growth/tech; risk-off favors defensives (utilities, staples). Minervini's research found top-ranked industry groups vastly outperformed bottom-ranked ones over six months (≈ +57% vs −28%) — a large regime-outcome spread. Operational rule: identify leading sectors first, then hunt setups within them.
Relative strength (RS line / RS rating). RS compares a stock to a benchmark over a rolling window; an upsloping RS line = outperformance. O'Neil's research found major winners averaged an RS rating near 87 before their advances. Practical filter: deprioritize RS below ~70, prefer 80+. A rising RS line during a market decline is the clearest tell of genuine institutional leadership.
Volatility regime (VIX) & stop width. VIX < ~15 = calm, 15–20 normal, 20–30 elevated, > 30 crisis. Stop width must adapt: a common base is ATR(14) × ~2–2.5, widened when volatility spikes (scale by current VIX ÷ its own moving average). If a regime forces a wider stop, position size must come down proportionally to hold dollar-risk constant. High-volatility regimes call for smaller size and quicker profit-taking; calm regimes tolerate larger size and trailing stops.
How it's used in practice
A swing trader's pre-trade checklist is a regime gate, not an entry signal:
1. Index trend — is SPY/QQQ above its 200-day MA? If not, bias toward shorts or stand aside on longs. 2. Breadth — are a majority of stocks above their 50-day MA, and is the A-D line confirming (not diverging from) price? 3. Regime strength — ADX on the daily: choppy, healthy trend, or strong trend? This says whether a directional edge even applies today. 4. Leading sectors — filter the watchlist to sectors outperforming on a weekly basis. 5. RS rank — is the candidate in the top quartile of its group? Below ~70 RS, deprioritize. 6. Volatility — what's VIX doing relative to its average? Widen stops and cut size if it has spiked.
Only after the gates pass do you look at the entry setup. These checks take a few minutes a day and remove the largest category of avoidable losses — technically clean setups deployed in the wrong environment.
Adoption, debate & evidence
Adoption. Regime filtering is standard among professional swing/position traders and is embedded in institutional risk frameworks; it's taught across the systematic-trading literature (O'Neil, Minervini, CMT material). Retail adoption is uneven — many retail traders skip context entirely and take setups regardless of regime.
Evidence — trend/momentum. The case for "trade with the regime" rests largely on time-series momentum research. Moskowitz, Ooi & Pedersen (2012) found a 12-month trend strategy across 58 instruments (1965–2009) produced a far higher Sharpe (~1.3) than buy-and-hold (~0.4); Hurst, Ooi & Pedersen (2017) traced trend-following positive returns across 67 markets back to 1880, including crisis periods — suggesting a structural effect. But there is genuine debate: several papers (e.g., Kim et al. 2016; Huang et al. 2020) question the robustness of momentum, and some argue the results lean heavily on volatility-scaling rather than pure trend. Consensus: some trend/momentum effect is real; its magnitude and net-of-costs implementation are contested.
Honest bottom line. Regime filtering improves edge consistency and survivability — it selects appropriate moments to apply an existing edge; it does not create an edge. Its main hidden cost is detection lag: regimes are confirmed after the transition, so filters trade away some early entry in exchange for fewer whipsaws. Most published support shows improved win rates/Sharpe within favorable regime subsets; rigorous evidence on improved full-portfolio returns after missed-entry and transition costs is thinner. Adoption is wide partly because the logic is sound and simple — not because large net-return gains are proven at portfolio scale.
Strengths & limitations
Strengths
- Prevents the biggest avoidable loss category: clean setups deployed in hostile regimes.
- Tends to raise win rate within filtered regimes; aligns direction with institutional flow.
- Cheap to run — a few daily checks (index MA, ADX, breadth, VIX).
- Volatility-scaled stops reduce premature stop-outs in choppy tape.
Limitations / when it fails
- Detection lag — regimes are identified after they've begun.
- Whipsaw in transitions — ambiguous periods produce conflicting signals; reactive strategy-switching loses money.
- Crowding — as more traders use the same filters (200-day MA, ADX 25), turning points get more whipsawed.
- #1 misuse — treating a regime filter as an entry trigger ("ADX crossed 25 = buy") instead of a context gate.
Sources
- Moskowitz, Ooi & Pedersen (2012), Time Series Momentum; Hurst, Ooi & Pedersen (2017), A Century of Evidence on Trend-Following
- Quantpedia — time-series momentum effect; counter-evidence: Kim et al. (2016), Huang et al. (2020) (momentum robustness disputed)
- StockCharts ChartSchool — ADX, breadth signals, % above 50-day MA, McClellan Oscillator
- O'Neil (CANSLIM, RS rating) and Minervini (sector/group strength, RS) — practitioner sources
- Investopedia / StockCharts — VIX volatility regimes, ATR / chandelier stop width
- Disputes flagged: magnitude/robustness of trend-following returns is academically contested; regime-detection lag is an unsolved practical tradeoff.