Part 3: Duration, prediction and strategies · Chapter 7 of 14 · 6 min
How long regimes last
With the relative regime (measure above or below its median over the last 500 candles) the «trend» periods last a median of 2 candles with efficiency, 6 with variance, 17 with Hurst and 26 with the ADX (means 9, 19, 49 and 31 candles), and they are as long as those of a random series: 3, 8, 25 and 19 in median. Only the ADX has periods longer than chance (26 against 19, band 14-24). The four measures indicate the same regime in 29% of candles (chance 26%), and pairwise in 54-69%, like chance (53-69%).
What is measured
A regime period is a run of consecutive candles in which the state of a measure (trend or range, above or below the median of the last 500) stays the same. The question is simple: how long do they last?
If regimes were phases of the market, we would expect long periods (days). If they were noise, short ones, as long as those of a random series. It is measured on hourly candles: one candle is one hour of open market.
The durations
On the 4,865 candles, and on the 30 random series (average of the values, with the 5th-95th percentile in the median):
| Measure | Trend periods | Median | Mean | Longest | Chance: median | Chance: mean | Chance: longest |
|---|---|---|---|---|---|---|---|
| Efficiency (48) | 224 | 2 candles | 9.2 | 98 | 3 (2-4) | 10.1 | 94 |
| Variance (96) | 103 | 6 | 19.0 | 161 | 8 (5-12) | 24.5 | 190 |
| Hurst (240) | 39 | 17 | 48.7 | 276 | 25 (10-58) | 68.6 | 348 |
| ADX (14) | 66 | 26 | 31.4 | 139 | 19 (14-24) | 27.0 | 143 |
Range periods have similar durations (median 5, 4, 9 and 26 candles, means 10, 23, 59 and 34).
Read the chart in words
Daily gold chart with, below, two very irregular lines between 0 and 1 that look alike.
Four readings.
- With efficiency, the regime changes every two hours: the typical trend period lasts 2 candles (mean 9). A 48-candle measure does not change like that, but its position against the median does, because it sits close to the median.
- The longer the window, the longer the regime lasts: 2 candles with efficiency (48), 6 with variance (96), 17 with Hurst (240). The duration follows the window, not the market.
- Real and chance have the same duration: gold's medians fall inside the bands of random series for efficiency, variance and Hurst. For these three the regime does not last longer than noise.
- The ADX is the only exception: trend periods of 26 candles in median against 19 (14-24), and 66 periods against 81. Its relative regime is a bit longer than chance. It lasts longer, and does not for that reason predict more (chapter 8).
Do the four measures agree?
On 4,125 candles where all four measures have a regime:
- All four agree (four «trend» or four «range»): 29%. Four independent measures would agree in 12.5% of cases; random series, where the measures are correlated as on gold, give 26% (21-32%).
- Pairwise:
| Pair | Agreement on gold | Random series |
|---|---|---|
| Efficiency - ADX | 69% | 69% |
| Variance - Hurst | 65% | 62% |
| Efficiency - Hurst | 60% | 55% |
| Efficiency - variance | 57% | 55% |
| Hurst - ADX | 55% | 55% |
| Variance - ADX | 54% | 53% |
Two measures almost always agree as much as chance. With efficiency and ADX (the most correlated) it reaches 69%, but chance does too. In 31-46% of candles two measures give a different regime: the question «are we trending now?» has no single answer.
What follows
- The measured regimes are short (hours, not days) and last as long as noise, except the ADX.
- The duration depends on the measure's window, not on a property of the market.
- The measures do not agree more than chance makes measures computed on the same prices agree.
- A regime that changes every two hours cannot be «followed»: by the time you recognise it, it has changed.
What to do
- Measure the duration of the regimes of your measure and compare it with a random series.
- Write how long a regime must last for you to use it: with a median of 2 candles, a one-candle entry is already «afterwards».
- Do not compare regimes from different measures as if they were the same event.
- If the measure gives periods as long as chance, treat it as noise until it proves otherwise (chapters 9-11).
- Declare the window: the duration of the regime is an effect of the window.
Procedure in four steps
- Define the relative regime (above or below the median of the last 500).
- Count the periods and measure median, mean and maximum.
- Do the same on 30 random series.
- Write how long the typical regime lasts compared with your window and your trading horizon.
Exercises
Chapter exercises
1. With 48-candle efficiency the typical trend period lasts 2 candles. What does it mean?
2. Which measure has trend periods longer than chance?
3. The four measures indicate the same regime in 29% of candles. What does it say?
4. Why does the regime's duration grow from efficiency (2) to variance (6) to Hurst (17)?
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.