Part 1: What is measured · Chapter 1 of 14 · 7 min
Why tell trend from range
The most repeated advice after «look at the bigger chart» is «work out whether the market is trending or ranging, then pick the strategy». Here we put it to the test on 4,865 hourly candles of gold, with four regime measures (efficiency, variance, Hurst, ADX) and a comparison with 30 random series. The starting point is uncomfortable: two 48-hour windows of the same market, one with ER 0.58 (a $163 move on a $280 path) and one with ER 0.00 ($0.46 net on $717), and a random series produces phases like these too.
The promise
Almost every trading book repeats the same idea: the market alternates trending phases, in which the price goes one way, and range phases, in which it rises and falls inside the same interval. In the first it pays to follow the move (breakout, trend following). In the second it pays to bet on the return (fade, mean reversion). Whoever can recognise the phase uses the right tool.
This book does not discuss whether the idea sounds good. It measures it on gold's candles, and separates what can be asserted from what can only be hoped.
Two windows of the same market
Take gold's hourly candles (4,865 open-market candles, from 15 December 2025 to 6 October 2026) and split them into 101 non-overlapping windows of 48 hours. For each we measure the efficiency ratio: the net move divided by the total path (the sum of every candle's movement). It is 1 if the price goes straight, 0 if it returns to where it started.
| 48-candle window | Net move | Path | Efficiency |
|---|---|---|---|
| The most efficient (19-23 December 2025) | +$162.8 | $279.5 | 0.58 |
| The median (18-20 May 2026) | −$47.0 | $430.5 | 0.11 |
| The least efficient (1-3 April 2026) | −$0.5 | $717.1 | 0.00 |
In the first the price made $163 of net ground spending $280 of movement. In the last it moved $717 to come back exactly to the starting point. They are two different markets, and anyone who has looked at a chart recognises them.
Read the chart in words
Daily gold chart with, below, two irregular lines between 0 and 0.7 that look alike: the pink one is the real series, the dashed grey one a random series.
The trap
The second line in the chart is a random series: gold's candles shuffled in blocks of 24, with no trend. Yet it too has very efficient windows and completely flat ones. Over 30 such series, the most efficient window reaches 0.53 on average (between 0.46 and 0.61 in 90% of cases), against 0.58 for real gold.
A memoryless series produces trends and ranges by pure chance. A random walker taking 48 steps nearly always ends up somewhere: sometimes close to the start, sometimes far. Recognising a regime after it has happened is easy. The book asks for something else: knowing in advance which regime you are in, and seeing whether that knowledge changes a rule's result.
The book's six questions
- How is a regime measured? Four measures: efficiency ratio, variance ratio, Hurst exponent, ADX (chapters 2-6).
- How long do regimes last? And do they last longer than chance? (7)
- Does today's regime say anything about tomorrow's? (8)
- Does the breakout work better in the trend and the fade in the range? On the 480 rules of book 12 (9, 10)
- Does a system that switches rule with the regime beat fixed rules? (11)
- Is the regime anything other than volatility? (12)
Then an eight-field sheet to write in advance how the regime is used (13) and the summary with the final test (14).
Data and method
- Data: 4,865 open-market H1 candles of gold (Binance XAUUSDT perpetual future, 15 December 2025 - 6 October 2026), prices only.
- «Relative» regime: a measure is above or below its median of the last 500 candles. It is known at the close of every candle, without looking ahead.
- Chance: 30 series obtained by shuffling candle shapes in blocks of 24, with no trend. If a measure on the real data sits inside the interval of the random series, it cannot be told apart from chance.
- The rules: the same grid of 480 breakout and fade rules as book 12, ATR stops, a cost of $0.3 per trade.
- The series are ten months of one instrument: the limits are declared in every chapter.
What we expect
If the idea of regimes were solid we would see three things: real measures different from those of random series, regimes that last and can be predicted, rules that earn more in the «right» regime. The book looks at whether they happen, one at a time. We do not give the answer away: it is in the chapters.
What to do
- Every time you hear «the market is trending», ask with which measure and on what window.
- Compare with a random series: if it produces that regime too, the regime proves nothing.
- Separate the known regime from the one seen afterwards: only the first can be used.
- Declare data, period and instrument before saying a strategy works in the trend.
- Treat the regime as a question to measure, not a truth of the market.
Procedure in four steps
- Choose a regime measure and the window to compute it on.
- Compute the measure using only the data up to the current candle.
- Compare it with random series built on the same data.
- Write what you will do in each regime before looking at the results.
Exercises
Chapter exercises
1. The efficiency ratio is 0.58 in one window and 0.00 in another. What does 0.00 mean?
2. Why is the comparison with random series important?
3. Which regime can be used to decide in real time?
4. What are the book's six questions?
Have a question or want to share your exercise?
Post in the community, or join the free signals room on Telegram.
Educational content, not financial advice. Trading involves risk.