Main Page > Articles > Bollinger Bands > Market Regime Detection for Intraday Trading: Using ADX, Bollinger Width, and ATR Percentile to Identify Trending, Ranging, and Volatile Conditions

Market Regime Detection for Intraday Trading: Using ADX, Bollinger Width, and ATR Percentile to Identify Trending, Ranging, and Volatile Conditions

From TradingHabits, the trading encyclopedia · 7 min read · March 1, 2026
The Black Book of Day Trading Strategies
Free Book

The Black Book of Day Trading Strategies

1,000 complete strategies · 31 chapters · Full trade plans

Understanding the prevailing market regime is important for intraday traders seeking consistent edge. Distinguishing between trending, ranging, and volatile market environments allows traders to adapt strategies, optimize entries and exits, and manage risk more effectively. This article presents a systematic approach to regime detection using three complementary indicators: the Average Directional Index (ADX), Bollinger Band Width, and the ATR Percentile. Each offers a unique lens on price action dynamics, enabling precise classification of market conditions on intraday timeframes.


1. Setup Definition and Market Context

Market regimes reflect the underlying price behavior: trending regimes feature directional moves with momentum; ranging regimes are characterized by sideways price oscillation within defined support and resistance; volatile regimes exhibit sudden, large price swings often without clear direction.

Why regime detection matters:

  • Trend-following strategies excel in trending regimes but fail in ranging markets.
  • Mean-reversion and breakout strategies perform differently depending on volatility and trend presence.
  • Volatility regimes influence stop placement and position sizing.

Indicators used:

  • ADX (Average Directional Index): Measures trend strength regardless of direction. Values range from 0 to 100, with >25 indicating a strong trend, <20 suggesting weakness or range.

  • Bollinger Band Width: Calculated as (Upper Band - Lower Band) / Middle Band, it quantifies volatility and range expansion/contraction. Low widths (<0.1 on normalized scale) indicate tight ranges, high widths (>0.25) suggest breakouts or volatility.

  • ATR Percentile: Places current ATR relative to historical ATR over a lookback period (e.g., 100 bars), showing if volatility is low (below 30th percentile) or high (above 70th percentile).

Timeframe:

  • 15-minute bars are recommended for intraday regime detection due to balance between noise and meaningful price structure.
  • Use at least 100 bars (~1 trading day) for indicator calculations and percentile ranks.

2. Entry Rules

Objective Criteria for Regime Identification

RegimeADXBollinger WidthATR Percentile
TrendingADX > 25Width > 0.15ATR Percentile > 50
RangingADX < 20Width < 0.10ATR Percentile < 40
VolatileADX 20-25Width > 0.20ATR Percentile > 70

Entry Triggers by Regime

  • Trending Regime Entry:

    • Confirm trend direction via +DI and -DI lines.
    • Enter on 15-min bar close when price pulls back to the 20-period EMA (on 15-min chart).
    • Entry triggered when price closes above/below EMA after a minor retracement.
  • Ranging Regime Entry:

    • Identify clear support and resistance from recent 1-2 hour price action.
    • Enter near support on bullish reversal candle (e.g., bullish engulfing, hammer) or near resistance on bearish reversal candle.
    • Confirm Bollinger Width < 0.10 and ADX < 20.
  • Volatile Regime Entry:

    • Wait for a volatility contraction (Bollinger Width narrowing) followed by expansion (>0.20).
    • Use a 15-min breakout entry above/below the prior 30-min high/low.
    • Confirm ATR Percentile above 70 to avoid false breakouts.

Additional Filters

  • Avoid entries 30 minutes before major economic releases.
  • Use volume confirmation (>20% above 30-bar average volume) for breakout entries.

3. Exit Rules

Winning Scenario Exits

  • Trending Regime: Exit partial position at 1R profit target (see below), trail stop to 10-period EMA on 15-min chart.
  • Ranging Regime: Exit full position near the opposite boundary of the range or after 4 bars without new highs/lows.
  • Volatile Regime: Exit half at 1.5R, trail stop with 10-ATR ticks on a 5-min chart.

Losing Scenario Exits

  • Exit immediately on stop loss hit.
  • If price closes beyond stop loss area on 15-min chart, exit on close to avoid slippage.

4. Profit Target Placement

Measured Moves & R-Multiples:

  • Use ATR as volatility measure for target placement.
  • Trending: Set initial target at 2R (2 x risk), trail stops thereafter.
  • Ranging: Target near opposite range boundary; typically 1-1.5R.
  • Volatile: Set targets based on recent 30-min range expansion, typically 1.5-2R.

Key Levels:

  • Pivot points, previous session highs/lows, and round numbers can serve as secondary targets.

Example:

  • If stop loss is 5 ATR ticks away, set profit target at 10 ATR ticks for trending setups.

5. Stop Loss Placement

Structure-Based Stops:

  • Place stops beyond recent swing highs/lows on 15-min chart (e.g., 2-3 bars prior).

ATR-Based Stops:

  • Use 1.5 ATR multiple from entry price for initial stop.

Percentage-Based Stops:

  • Limit risk to 0.5%-1% of account equity per trade.

Example:

  • Enter long at 4,400 on ES; ATR(14) = 10 ticks; stop set 1.5 ATR below entry = 15 ticks = 4,385.

6. Risk Control

  • Max risk per trade: 1% of trading capital.
  • Daily loss limit: 3% of capital; cease trading upon hitting limit.
  • Position sizing calculated using ATR-based stop and risk per trade.

Position Sizing Formula:

Position Size = (Account Equity x Risk per Trade) / (Stop Loss in $)

Where Stop Loss in $ = ATR ticks x tick value.


7. Money Management

  • Kelly Criterion: Use conservative fraction (~0.5 Kelly) to avoid over-leverage.
  • Fixed Fractional: Risk fixed % per trade (1%), adjusting size as equity changes.
  • Scaling In/Out:
    • Scale in 50% at entry, add remaining 50% at confirmation of trend continuation.
    • Scale out partial profits at 1R and 2R.

8. Edge Definition

  • Statistical edge arises from regime-specific entries and risk management.
  • Expected win rate: 45%-55%, with R:R ratio around 1.5 to 2.
  • Higher win rate expected in trending regimes; ranging regimes yield lower win rates but tighter stops.
  • Volatile regimes produce larger swings but require strict stop discipline.

9. Common Mistakes and How to Avoid Them

  • Ignoring regime shifts: Continuously update regime classification every 15 minutes.
  • Overtrading in non-ideal regimes: Avoid trend-following entries when ADX < 20.
  • Poor stop placement: Use ATR and price structure rather than arbitrary values.
  • Inadequate position sizing: Calculate size based on current ATR and risk tolerance.
  • Chasing breakouts without confirmation: Wait for volume and ATR percentile confirmation.

10. Real-World Example: ES Futures Intraday Trade

Setup:

  • Date: Hypothetical trading day
  • Timeframe: 15-min bars
  • Indicators:
    • ADX(14) = 30
    • Bollinger Band Width (20,2) = 0.18
    • ATR(14) = 12 ticks
    • ATR Percentile (100 bars) = 65

Interpretation:

  • ADX > 25 indicates trending regime.
  • Bollinger Width > 0.15 confirms expanding volatility.
  • ATR Percentile above 50 confirms moderate volatility.

Entry:

  • Price pulls back to 20 EMA at 4,250
  • On 15-min bar close, price reverses higher, closing above EMA
  • Enter long at 4,251

Stop Loss:

  • ATR 1.5 x 12 ticks = 18 ticks
  • Stop placed at 4,251 - 18 ticks = 4,233

Position Sizing:

  • Account equity: $100,000
  • Risk per trade: 1% = $1,000
  • Tick value for ES: $50
  • Stop loss in $: 18 ticks x $50 = $900
  • Position size = $1,000 / $900 ≈ 1 contract (rounded to 1)

Profit Target:

  • Set at 2R = 36 ticks = 4,251 + 36 = 4,287

Trade Management:

  • At 1R (4,263), move stop to breakeven (4,251).
  • If price reaches 2R (4,287), exit position.

Outcome:

  • Price hits 2R target, trade yields $1,800 profit (36 ticks x $50).

This approach to market regime detection equips intraday traders with a robust framework to adapt strategies according to prevailing price dynamics. Utilizing ADX, Bollinger Width, and ATR Percentile ensures objective assessment of trend strength, range contraction, and volatility spikes, improving entry precision, exit discipline, and risk control.

References

  • Wilder, J. W. (1978). New Concepts in Technical Trading Systems.
  • Bollinger, J. (2001). Bollinger on Bollinger Bands.
  • Achelis, S. B. (2000). Technical Analysis from A to Z.

TradingHabits.com