The case for regime awareness is clear: strategies perform very differently across market regimes, and deploying the wrong strategy in the wrong regime is a reliable path to losses. But the practical question — how do you actually detect which regime you're in? — is where most discussions end, rather than begin.
There's no perfect regime detector. Markets transition gradually, regimes overlap, and no single indicator is always reliable. What follows is a practical toolkit, ordered from simplest to most sophisticated, that gives you multiple perspectives on the current market state.
The Detection Methods
01
Average Daily Range (ADR) Comparison
Easy
The simplest regime indicator. Compare the current 5-day ADR against the 20-day and 60-day averages. The ratio tells you whether volatility is expanding (potential regime shift) or stable (current regime likely continuing).
Current 5-day ADR: 85 pips
20-day ADR avg: 72 pips
60-day ADR avg: 68 pips
Ratio (5d/60d): 1.25
Ratio < 0.8 → Compression regime
Ratio 0.8–1.2 → Normal / current regime stable
Ratio > 1.2 → Volatility expanding / transition risk
// SignalWhen the 5-day/60-day ADR ratio rises above 1.3 after a period of compression, a breakout or trend initiation regime is likely beginning. When it falls below 0.7, compression may be building energy for the next move.
02
Moving Average Slope & Price Position
Easy
A simple trend regime filter. Measure the angle of a slow moving average (50 or 100-period) and where price sits relative to it. Trending regimes show a clearly sloped MA with price consistently above or below. Ranging regimes show a flat MA with price oscillating across it.
MA(50) value now: 1.0842
MA(50) 10 bars ago: 1.0798
Slope per bar: +0.0044
Price vs MA: Above
If MA slope < 0.0010 per bar → ranging regime likely
If price has crossed MA 4+ times in 20 bars → ranging
// SignalThis is a regime classifier, not a trading signal. Use it to decide which type of strategy to deploy — not when to enter a specific trade.
03
ATR Percentile Ranking
Moderate
Rather than looking at ATR in absolute terms, rank the current ATR against its historical distribution. This gives you a percentile reading — where is current volatility relative to its own history? — which is more meaningful than raw ATR values that differ between pairs and time periods.
Current ATR(14): 0.0082
Historical range: 0.0045 – 0.0148
Percentile: 38th
0–25th pct → Low volatility / compression
25–75th pct → Normal regime
75–90th pct → Elevated volatility
90th+ pct → High volatility / crisis regime
// SignalATR below 25th percentile signals compression — a potential breakout setup is building. ATR above 90th percentile signals a high-volatility regime where most systematic strategies should reduce size or pause.
04
Rolling Efficiency Ratio (ER)
Moderate
Developed by Perry Kaufman, the Efficiency Ratio measures how directionally efficient price movement has been — the ratio of net directional movement to total path length. A high ER indicates trending (efficient directional movement). A low ER indicates ranging or choppy (inefficient, back-and-forth movement).
ER = |Price change over N bars| / Sum of |each bar's change|
Net move: +45 pips (start to end)
Total path: 210 pips (sum of each move)
ER: 0.21
ER > 0.6 → Strong trend regime
ER 0.3–0.6 → Moderate trend / transitional
ER < 0.3 → Ranging / choppy regime
// SignalThe ER is one of the cleanest quantitative regime classifiers available. Use it on a rolling 10–20 bar basis and track its trend — a rising ER from low levels often signals the early stage of a trend regime beginning.
Quick Reference: Regime Indicators at a Glance
ADR Ratio (5d/60d)
< 0.8Compression
0.8–1.2Stable
> 1.3Expanding
Efficiency Ratio
> 0.6Trending
0.3–0.6Mixed
< 0.3Ranging
ATR Percentile
< 25thCompressed
25–75thNormal
> 90thHigh Vol
// Using Multiple Indicators Together
No single regime indicator is reliable on its own. The most robust approach uses 2–3 independent measures and looks for confluence. If ADR ratio, Efficiency Ratio, and MA slope all point to the same regime, the classification is much more trustworthy than any single signal. Conflicting signals indicate a transitional regime — reduce confidence and position size accordingly.
The Practical Weekly Routine
Regime detection doesn't need to be a daily task. A weekly 10-minute assessment at the start of each trading week is sufficient for most traders:
1. Calculate the 5-day vs 60-day ADR ratio for your primary pairs. 2. Check the 50-period MA slope and price position. 3. Calculate the 10-bar Efficiency Ratio. 4. Classify each pair: Trending / Ranging / High-Vol / Compressing. 5. Cross-reference with which of your strategies are designed for which regime. 6. Adjust position sizes or strategy selection accordingly.
I do this every Sunday evening. It takes about fifteen minutes for the four pairs I trade. It doesn't tell me what to trade — it tells me what kind of trading week I'm likely walking into, and whether my planned strategies match that environment. It's saved me from deploying trend strategies into ranging markets more times than I can count.
Build Your Regime-Aware Strategy
EA Analyzer Pro helps you understand your strategy's performance profile — including which market conditions it thrives in.
→ OPEN EA ANALYZER PRO