System BuildingIntermediate·8 min read·Lesson 46 of 57

Regime Detection: Know the Weather Before You Sail

Every pattern works in the right regime. Every pattern fails in the wrong one. Regime detection is the context layer that governs every other signal in your system — and most traders skip it entirely.

regime detectionmarket contexttrendsystem buildingBollinger Bandsmoving averages

Context Is Everything

Here's a failure most traders experience: a pattern that worked consistently for months suddenly stops working. The setup is the same. The entry criteria are the same. But the outcomes are wrong.

The usual suspect: the market regime changed.

A bullish pattern in a bullish regime is a high-probability trade. The same bullish pattern in a bearish regime is fighting the tide. The setup might still fire — prices bounce even in downtrends — but the probability structure is completely different. What looked like a 65% win rate in the right conditions becomes a coin flip in the wrong ones.

Regime detection is not about predicting where the market goes. It's about knowing what the market currently is. Is it trending or ranging? Is it expanding or contracting? Is the dominant force buyers or sellers? The answers change how you apply every tool in your system.


The Four Regimes

Every market, across every timeframe, is in one of four regimes at any given moment:

Bullish Trending: Price is making higher highs and higher lows. Moving averages are stacked bullishly (fast above slow). Buyers are consistently outcompeting sellers at every pullback level. Directional patterns (flags, ascending triangles, iH&S) carry their full probability weight.

Bearish Trending: The mirror image. Lower highs, lower lows. Moving averages inverted. Every rally finds sellers. Bearish reversal patterns (H&S tops, descending triangles, bear flags) are high probability. Trying to catch bottoms in this regime is expensive.

Choppy/Ranging: Price is bouncing between two levels without making progress in either direction. No clear MA stack. BB width is compressed or oscillating. Directional trades have dramatically lower win rates here — you're fighting both sides simultaneously.

Transitional: The market is shifting from one regime to another. This is the most dangerous and the most misread. Transitional regimes often look like the beginning of a new trend when they're actually the final leg of the old one. Reduce position size, increase confirmation requirements, and don't extrapolate.

// KEY RULE

Most of your losses are concentrated in two scenarios: trading bullish patterns in bearish or choppy regimes, and trading continuation patterns in transitional regimes. Fix the regime filter and you eliminate a large fraction of your losing trades before you even look at an entry signal.

How to Detect Regime: The Simple Version

You don't need a complex algorithm to classify regime. Two indicators, properly read, cover 80% of cases:

Moving Average Relationships

Use the 20 EMA and 50 EMA on your primary trading timeframe:

  • 20 EMA above 50 EMA, price above both → Bullish
  • 20 EMA below 50 EMA, price below both → Bearish
  • 20 EMA and 50 EMA intertwined, price crossing both frequently → Choppy
  • 20 EMA crossing 50 EMA with price above both, previously below → Transitional (potential bullish)

This isn't a trading signal — it's a regime classifier. You're using the MA relationship to identify the environment, not to generate entries.

Bollinger Band Width

Bollinger Band width measures volatility expansion and contraction:

  • BB width above 30-day average and expanding → Trending (verify direction with MAs)
  • BB width below 30-day average and contracting → Range-bound or pre-breakout compression
  • BB width spiking from extreme compression → Regime transition likely incoming

The combination of MA stack + BB width gives you both direction and volatility context. That's enough to classify regime with reasonable confidence in most market conditions.


Higher Timeframe Governs Lower Timeframe

This is the rule that trips up the most traders: you cannot trade a 15-minute pattern against a 4-hour regime.

If the 4-hour is in a bearish regime — lower highs, lower lows, 20 EMA below 50 EMA — and you see a bullish flag on the 15-minute, that flag is forming inside a downtrend. The 15-minute bullish signal exists in the context of 4-hour selling pressure. The math isn't on your side.

The hierarchy:

  • Daily regime governs swing trade direction
  • 4H regime governs intraday trade direction
  • 1H regime governs execution timing within the higher-timeframe trend

You enter on the lower timeframe when it aligns with the higher. You avoid lower-timeframe signals that contradict the higher-timeframe regime.

// NOTE

Trading against the higher timeframe regime is the most common cause of "the setup looked perfect but failed immediately." The 15-minute setup was perfect — but the 4-hour told anyone who checked that buyers were weak and sellers controlled the environment. Check up before you check in.

Regime at the System Level

For any systematic trading approach — including the kind built at Tesseract Intelligence for competitive intelligence and multi-market analysis — regime isn't just an entry filter. It's a system-wide parameter that adjusts everything.

In a bullish trending regime:

  • Reduce confirmation requirements for bullish entries
  • Increase target size (trend carries trades further)
  • Stop placement can be tighter (pullbacks are shallower in strong trends)

In a bearish trending regime:

  • Same logic in reverse for shorts
  • For long-biased strategies, increase confirmation requirements or pause entirely
  • This is when the Do-Not-Trade framework becomes critical

In choppy regime:

  • Widen stops (more noise, less directional follow-through)
  • Reduce targets (range-bound markets mean price bounces before reaching trend targets)
  • Consider reducing position size entirely
  • Some traders go flat during extended chop — this is a valid system decision

In transitional regime:

  • Maximum caution
  • Require additional confirmation before any directional trade
  • Size down to minimum position size until regime clarifies

Regime isn't a binary gate — it's a dial that adjusts the parameters of your entire system. The traders who hardcode the same entry requirements regardless of regime environment are fighting the market condition with the wrong settings.


Building Your Regime Classifier

Here's the practical implementation:

Daily routine check (takes 3 minutes):

  1. Open the daily chart for your primary assets
  2. Check the 20/50 EMA relationship: stacked or intertwined?
  3. Check price position relative to both EMAs
  4. Check BB width vs 30-day average: expanding or contracting?
  5. Assign a regime: Bullish / Bearish / Choppy / Transitional
  6. Note the primary trading timeframe (usually 4H or 1H) and confirm it matches or is consistent with the daily
  7. Record the regime in your trade journal

That's the entire process. It takes three minutes and fundamentally changes the quality of every trade you take that day.

The regime doesn't tell you what to buy. It tells you which direction to look and how much confirmation to require. That context layer is worth more than any indicator you could add to your chart.

Know the weather before you sail. The ocean doesn't care about your setup.

Loading curriculum...