Skip to content
Back to Blog
Trading Education

Trend or Range? How to Identify the Market Regime Objectively

M

Markitel guides (AI-assisted)

November 4, 2026
12 min read

Drafted with AI from the source reports listed below. Informational only — not investment advice.

Trend or Range? How to Identify the Market Regime Objectively

Most trading strategies make a hidden assumption about how the market is behaving. Breakout and moving-average systems assume prices will keep moving in one direction. Mean-reversion systems, which buy dips and sell rallies, assume prices will keep returning to an average. When that assumption stops being true, a strategy that seemed reliable can begin to lose money steadily.

This guide covers objective, rule-based ways to tell trending conditions from ranging ones, the limits of each tool, and why strategies tend to break when the regime changes. It is general education only. It does not recommend any trade or predict any price.

What "market regime" means

A regime is the market's current behaviour: trending or range-bound, calm or volatile. One overview of strategy failure puts it this way: markets move through different environments: trending, ranging, volatile, quiet, liquid and stressed. A strategy can have a genuine edge in one regime and perform poorly in another.

The practical problem is that regimes are only clear in hindsight. On a live chart you only ever see the left side of the picture. The tools below don't remove that uncertainty. They make your judgment consistent so it doesn't change with your mood.

Why the regime matters more than the entry signal

Traders often spend most of their effort perfecting entry signals. The same entry rule can behave very differently depending on conditions. A strategy-testing write-up puts the risk bluntly: a strategy optimized for a trending market will hemorrhage money during mean-reverting periods, and vice versa.

The two failure modes mirror each other:

  • Trend strategies in a range get "whipsawed". They buy near the top of the range and sell near the bottom, again and again.
  • Range strategies in a trend get "run over". They keep fading a move that doesn't reverse, often adding to a losing position as it goes.

Tool 1: ADX measures trend strength, not direction

The Average Directional Index is the best-known trend filter. It was developed by J. Welles Wilder and introduced in his 1978 book New Concepts in Technical Trading Systems. The most important thing to know is what it does not measure. The Average Directional Index (ADX) is used to measure the strength or weakness of a trend, not the actual direction. A strong selloff and a strong rally can produce the same ADX reading.

Direction comes from two companion lines. The Positive Directional Indicator (+DI) measures the strength of the upward price movement. The Negative Directional Indicator (–DI) measures the strength of the downward price movement.

The usual thresholds come from Wilder. According to StockCharts' ChartSchool, Wilder suggests that a strong trend is present when ADX is above 25 and no trend is present when ADX is below 20. There appears to be a gray zone between 20 and 25. These numbers are conventions, not laws of nature: the 25 level is Wilder's own convention from 1978 and no standards body has revised it. The standard setting is also Wilder's: Wilder originally designed the ADX with a 14-period setting.

The big limitation is lag. ADX is a smoothed average of a smoothed calculation. One reference notes that on a 14-period daily chart, ADX is approximately 14 days behind developing trend strength, and that in fast-moving markets, ADX may not cross 25 until a significant portion of the move is over. ADX describes the regime that has been in place. It does not announce the next one.

Tool 2: Bollinger BandWidth shows volatility contraction

Volatility and trend are different things, but they are linked. Ranges often form during quiet periods, and trends often begin when volatility expands.

Bollinger Bands surround price with an envelope. The middle band is a 20-period simple moving average, the outer bands sit 2 standard deviations above and below, and because the standard deviation is recalculated on every bar, the envelope morphs with the market's vibration. To turn the width of the bands into a number, John Bollinger measured the effect with BandWidth (upper band minus lower band, divided by the middle band) and defined a squeeze as BandWidth falling to its lowest level over a lookback window, six months in his original framing. On a daily chart, John Bollinger's own definition puts it at the lowest BandWidth in the last 125 trading days.

As a regime tool, very low BandWidth points to compression, which is typical of quiet ranges. Widening bands point to expansion. Two caveats apply:

  • The signal says nothing about direction; it is a statement about energy, not sign.
  • Breakouts from compression can be false at first. The breakout may be preceded by a fakeout, during which price moves in the opposite direction.

Tool 3: Price structure and moving-average slope

You don't need a specialist indicator to describe structure. Two simple tests, applied the same way every time, go a long way:

  • Swing structure. In an uptrend, swing highs and swing lows both step higher. In a downtrend, both step lower. In a range, highs stall at roughly the same area and lows hold at roughly the same area.
  • Moving-average slope and crossings. A clearly sloped moving average that price rarely crosses suggests a trend. A flat moving average that price crosses repeatedly suggests a range.

A related homemade measure is "path efficiency". Compare how far price moved from start to finish over a window with the total distance it travelled bar by bar. A trending market covers ground efficiently. A choppy market travels a long way and gets nowhere.

Putting it together: a hypothetical regime checklist

No single tool is decisive, so many traders combine two or three independent readings. The example below is hypothetical, with round numbers chosen for illustration only.

Suppose a daily chart shows:

  • ADX at 15 and drifting lower
  • BandWidth near its lowest level in six months
  • Price crossing a flat 50-day moving average five times in a month
  • Swing highs repeatedly stalling near 110 and swing lows holding near 100

Every reading points the same way: range-bound and quiet. A trader using this checklist would class it as a range regime and would be cautious about running a breakout system.

Now suppose a few weeks later ADX has climbed to 30, the bands have widened sharply, price has closed above 110 and stayed there, and the moving average has turned upward. The readings have shifted toward a trend regime. Because ADX lags, some of that move has already happened before the checklist confirms it.

When the readings disagree, for example ADX at 22 with BandWidth expanding, the honest label is "unclear". Treating "unclear" as its own category, rather than forcing every chart into trend or range, is one of the more useful habits a rule-based trader can build.

Why strategies fail when the regime changes

The slow bleed: whipsaw

Take a hypothetical breakout rule inside that 100–110 range. It buys a close above 110 with a stop at 106, then gets stopped out when price slips back inside the range. Then it does the same on the downside. Each loss looks small, but spreads, commissions and repeated stop-outs add up. Nothing dramatic happens; the account just shrinks.

The sudden break: the regime flips

Some failures are abrupt. A well-known study on stock momentum is "Momentum crashes" by Kent Daniel and Tobias J. Moskowitz, Journal of Financial Economics, 2016. It found that momentum strategies suffer severe "crashes", and that they occur in panic states, following market declines and when market volatility is high, and are contemporaneous with market rebounds. A momentum strategy buys recent winners and sells recent losers short. When a falling market turns, the losers often bounce hardest. One summary of their work notes that between March and May 2009, the stocks that had fallen the most rose 163% while the past winners gained just 8%.

Trend-based filters can fail the same way. One analyst described a popular rules-based approach: buy several NASDAQ-100 stocks at the beginning of the month that are trading above their 200-day moving average, as long as the S&P 500 trades above its 200-day moving average. By that analyst's backtest, in 2022, due to rising rates and long-duration tech stocks crashing, the strategy lost 38%. These are backtest results, not live trading, but they show how a strategy built for one environment can break when interest rates and leadership change.

Why backtests hide this

A backtest that covers only one regime tells you little about the next one. Common reasons live results differ from backtests include overfitting, unrealistic transaction costs, poor data, market-regime changes and execution differences. A backtest can show whether an idea deserves more research, but it cannot prove future profitability.

Detecting a shift without fooling yourself

Regime detection has three built-in problems.

1. You find out late. Market commentators note that it can be challenging to identify, or even forecast, regime shifts accurately in real-time. Lagging tools like ADX confirm a change after it has begun.

2. Fast filters flip-flop. A filter that reacts quickly will often switch on noise. Academic work on regime-switching models stresses that a regime signal that flips very frequently is unlikely to be useful for investment purposes. Making a filter faster usually also makes it noisier.

3. Small samples mislead. A losing streak might mean the regime has changed, or it might be ordinary variance. One paper offers a hypothetical case: a trader has performed back-testing and analysis and has arrived at the belief that a particular trading strategy's expected success rate should be about 60%. However, after performing 12 trades, the trader sees that only 42% were successful. The author uses a statistical bound to judge how likely that gap is to be chance, and suggests the trader might then choose to reduce their stake or halt the strategy and re-evaluate their market assumptions. Twelve trades is a small sample, so any conclusion from it is tentative.

A practical approach is to decide in advance which readings would make you treat the regime as changed, then write those rules down before you need them.

Leverage turns a regime mistake into account damage

Being on the wrong side of a regime change is survivable without leverage. With leverage, it can end an account quickly.

Regulators have documented the outcomes. When the EU's European Securities and Markets Authority (ESMA) introduced restrictions on contracts for difference (CFDs), it said data from different jurisdictions in the EU shows that 74-89% of retail investor accounts typically lose money. Its rules set leverage limits on the opening of a CFD by a retail client from 30:1 to 2:1, depending on the asset. They also include negative balance protection, and a margin closeout rule on a per-account basis (at 50% of minimum required margin). As of August 2026, one industry update reported that ESMA's 30:1 cap on major FX pairs still applies. Rules differ by country and broker.

To convert between leverage and margin: 30:1 leverage means a 3.33% margin requirement; 20:1 means 5%; 2:1 means 50%.

A hypothetical example with round numbers:

  • A trader with a $100 account opens a position at 30:1 leverage, controlling $3,000 of currency.
  • A 1% move against the position costs $30, or 30% of the account.
  • A move of about 3.3% against it, roughly the size of the margin, would wipe out the full $100. Margin close-out rules would usually close the position before that point.

Now put that into a regime change. A range trader fading what looks like the top of a range adds once, then again, as price keeps rising. If the range has become a trend, each addition increases exposure just as the strategy's core assumption has stopped holding. At high leverage, a move that would be minor on an unleveraged position can take out most of a small account.

Where Markitel's signals fit

Markitel is not a broker, custodian or adviser. Markitel's signals are the output of its rule-based ten-factor technical engine. Like any rules-based method, they reflect conditions in recent price data, and they face the same regime problem described above: rules that describe one environment well may describe the next one poorly. Treat any signal, from Markitel or anyone else, as one input to check against the regime evidence, not as a forecast or a guarantee.

Key takeaways

  • No single tool settles it. ADX measures trend strength, not direction. Bollinger BandWidth measures volatility, not direction. Combining independent readings, and allowing an "unclear" category, beats relying on one number.
  • The tools lag. Wilder's thresholds (above 25 for a trend, below 20 for none) are conventions, and ADX confirms a trend after it has started. Faster filters cut the delay but flip more often on noise.
  • Strategies break in two ways. Trend systems bleed slowly through whipsaws in ranges, and both trend and range systems can lose heavily when the regime flips, as research on momentum crashes shows.
  • Backtests that cover one regime prove little. Decide in advance what evidence would make you treat the regime as changed.
  • Leverage magnifies regime mistakes. At 30:1, a 1% adverse move costs 30% of the margin committed, and regulators found most retail CFD accounts lose money.

Sources

  1. thetradingexpert.comPublication date unknown

    Why Most Trading Systems Fail: The Real Reasons Strategies Break

    Market-regime change Markets move through different environments: trending, ranging, volatile, quiet, liquid and stressed. A strategy can have a genui...

  2. stratbase.aiPublication date unknown

    Why Trading Strategies Fail: The Science Explained

    A strategy optimized for a trending market will hemorrhage money during mean-reverting periods, and vice versa.

  3. tapeboard.comPublication date unknown

    What is the Average Directional Index (ADX)?, Tapeboard

    Developed by J. Welles Wilder and introduced in his 1978 book *New Concepts in Technical Trading Systems*, ADX reads from 0 to 100: values below 20 in...

  4. chartschool.stockcharts.comPublication date unknown

    Average Directional Index (ADX)

    ## Interpreting the Average Directional Index The Average Directional Index (ADX) is used to measure the strength or weakness of a trend, not the actu...

  5. equiti.comPublication date unknown

    How traders use the ADX indicator to identify strong trends

    - **The Positive Directional Indicator (+DI)**: Measures the strength of the upward price movement. - **The Negative Directional Indicator (–DI)**: M...

  6. volity.ioPublication date unknown

    ADX Indicator: 2026 Trend Strength Metrics and Technical Trading St...

    The 25 level is Wilder's own convention from 1978 and no standards body has revised it.

  7. tradealgo.comPublication date unknown

    ADX (Average Directional Index): How to Measure Trend Strength Like a Pro

    Wilder originally designed the ADX with a 14-period setting.

  8. research.marketzeitgeist.comPublication date unknown

    John Bollinger: Price Isn't Cyclical, Volatility Is

    The middle band is a 20-period simple moving average, the outer bands sit 2 standard deviations above and below, and because the standard deviation is...

  9. luxalgo.comPublication date unknown

    Bollinger Squeeze: Volatility Concept

    John Bollinger measured the effect with BandWidth (upper band minus lower band, divided by the middle band) and defined a squeeze as BandWidth falling...

  10. tradegatehub.comPublication date unknown

    Bollinger Bands for Stocks: Squeezes & Breakouts - TradeGateHub

    A squeeze happens when the bands contract to their narrowest width in a long time — John Bollinger’s own definition puts it at the lowest BandWidth in...

  11. kr.tradingview.comPublication date unknown

    OPEN-SOURCE SCRIPT

    The breakout may be preceded by a fakeout, during which price moves in the opposite direction.

  12. econpapers.repec.orgPublication date unknown

    EconPapers: Momentum crashes

    EconPapers Home About EconPapers Working Papers Journal Articles Books and Chapters Software Components Authors JEL codes New Economics Papers Advance...

  13. xtincapital.substack.comPublication date unknown

    Why Do Perfect Backtests Die Without Warning?

    Kent Daniel and Tobias Moskowitz found that between March and May 2009, the stocks that had fallen the most rose 163% while the past winners gained ju...

  14. priceactionlab.comPublication date unknown

    Strategies Fail When Market Regimes Change

    Buy several NASDAQ-100 stocks at the beginning of the month that are trading above their 200-day moving average, as long as the S&P 500 trades above i...

  15. quantconnect.comPublication date unknown

    Rage Against the Regimes: The Illusion of Market-Specific Strategies - QuantConnect.com

    - **Difficulty in detecting regime shifts:** It can be challenging to identify, or even forecast, regime shifts accurately in real-time, leading to po...

  16. arxiv.orgPublication date unknown

    Downside Risk Reduction Using Regime-Switching Signals: A Statistical Jump Model Approach

    This, in turn, places a high demand on the persistence of regimes inferred from the models, as a regime signal that flips very frequently is unlikely ...

  17. arxiv.orgPublication date unknown

    A New Application of Hoeffding's Inequality Can Give Traders Early Warning of Financial Regime Change

    A trader has performed back-testing and analysis and has arrived at the belief that a particular trading strategy's expected success rate should be ab...

  18. esma.europa.euPublication date unknown

    Additional information on the agreed product intervention ...

    different jurisdictions in the EU shows that 74-89% of retail investor accounts typically lose trading at high leverage.

  19. eurofinance.bgPublication date unknown

    ESMA Restrictions - eurofinance.bg

    The restrictions and measures adopted by ESMA include leverage limits (see below for more details), negative balance protection, and a margin closeout...

  20. fx-brokers.co.ukPublication date unknown

    What are the ESMA leverage limits for retail forex traders?

    Article: ESMA Leverage Limits 2026: Still 30:1 on Majors — August Update ESMA's 30:1 cap on major FX pairs still applies in August 2026 — 20:1 on min...

  21. forex.eu.comPublication date unknown

    Leverage in forex under ESMA rules

    Leverage and margin are two ways of expressing the same thing: 30:1 leverage means a 3.33% margin requirement; 20:1 means 5%; 2:1 means 50%.

Researched and drafted with AI from the sources above, then checked by a second AI review against Markitel's editorial standards. General information only — not investment advice.

Drafted by Markitel AI

Get signals like these

Join Markitel for trading signals scored by a ten-factor technical model.

Start Free

Or browse market guides by asset.