Part 4: Filter, sheet and check · Chapter 11 of 14 · 9 min
The regime filter and the system that switches rule
A system that breaks out in the trend and fades in the range, over the grid's 240 rule pairs, gives with efficiency +0.16 R on average (213 rules out of 240 positive; random series −0.04, band −0.14/+0.06), with the ADX +0.06, with variance and Hurst −0.06 and −0.07. The opposite system (breakout in the range, fade in the trend) makes −0.16 with efficiency. The best pair makes +0.70 ± 0.38 R (81 trades) against +0.74 ± 0.43 for the plain 80-candle breakout: no gain at the top. The system is better than breakout and fade taken alone (+0.09 and −0.13), but the effect lives in a single measure and must be tested forward.
The idea
Chapters 9 and 10 treated breakout and fade separately. The full advice is a system that switches rule with the regime: breakout when the market is trending, fade when it is flat. Whoever applies it does not choose between the two halves of the grid: they use both, each where it should work.
We build it on the grid's 240 pairs. For each combination of window, stop, target and duration:
- Lane 1: the breakout signals in a trend regime, traded as breakouts.
- Lane 2: the same signals in a range regime, traded as fades (against the break).
The two lanes are independent (they may even be open together: it is a simplification), and the results add up. The opposite system does the reverse: breakout in the range, fade in the trend. If the regime does not matter, the two systems should give about the same result.
The average result
Mean R over the 240 pairs (base: breakout +0.093 and fade −0.128; random series: breakout +0.013, fade −0.080):
| Measure | System: breakout in the trend + fade in the range | Chance band (5th-95th) | Positive rules | Opposite system |
|---|---|---|---|---|
| Efficiency (48) | +0.157 (213 trades on average) | −0.04 (−0.14/+0.06) | 213/240 | −0.156 (chance −0.03) |
| ADX (14) | +0.063 | −0.04 (−0.13/+0.05) | 192/240 | −0.096 (chance −0.03) |
| Variance (96) | −0.058 | −0.02 (−0.11/+0.06) | 45/240 | +0.021 (chance −0.05) |
| Hurst (240) | −0.066 | −0.04 (−0.13/+0.10) | 52/240 | +0.016 (chance −0.03) |
Read the chart in words
Daily gold chart with, below, three cumulative R curves: the pink one rises to +48, the dashed grey one to +17 and the blue one falls to −29.
Three readings.
- Efficiency: the system makes +0.16, outside the chance band, and in 181 rules out of 240 it exceeds the 95th percentile of the random series (+0.06). The opposite system makes −0.16, below the band. It is the result the classic advice leads you to expect: the «right» regime pays, the «wrong» one costs.
- ADX: it gives +0.06 (outside the chance band of −0.13/+0.05 by a hair) and the opposite −0.10: same direction, smaller effect.
- Variance and Hurst: they are wrong in the advice's sense. The system makes −0.06 and the opposite +0.02: inside the band, but with the opposite sign.
It is the same story as chapters 9 and 10, with the difference that here breakout and fade work together: whoever measures recent directionality (efficiency, ADX) seems to separate the regimes, whoever measures long-scale memory (variance, Hurst) does not.
At the top of the ranking
A positive average over 240 rules is not an edge in the best one. Let us look at the best pair for each measure:
| Measure | Best pair of the system | Mean R ± error | Trades | The best of 240 on pure chance (5th-95th) |
|---|---|---|---|---|
| Efficiency | Window 80, 1.5 ATR stop, 3 R target, 24 candles | +0.70 ± 0.38 | 81 | +0.17 (+0.01/+0.36) |
| ADX | Window 50, 1 ATR stop, 3 R target, 48 candles | +0.29 ± 0.31 | 142 | +0.19 (+0.07/+0.44) |
| Variance | Window 10, 1.5 ATR stop, 3 R target, 48 candles | +0.19 ± 0.23 | 221 | +0.24 (+0.08/+0.43) |
| Hurst | Window 80, 2 ATR stop, 3 R target, 48 candles | +0.15 ± 0.37 | 76 | +0.19 (+0.05/+0.39) |
Efficiency's best pair (+0.70 ± 0.38) sits above the best of pure chance (+0.36 at the 95th percentile). But the plain 80-candle breakout, with no regime at all, makes +0.74 ± 0.43 (79 trades). The system does not take the result higher than the best breakout: it takes it to a similar level with twice the ingredients (a measure, a threshold, a window, two lanes).
One aspect not to miss: a positive average over many rules and an edge in the best one are different questions. With efficiency the system has an average level of +0.16 R, against +0.09 for the breakout alone and −0.13 for the fade alone, but the already best rule does not need it.
What it is worth in practice
- More trades: 213 per pair against 126 for the trend-only breakout, because the fade in the range adds some.
- More parameters: measure, window, threshold, comparison median, plus the parameters of both rules. Every extra parameter is an extra test (book 12).
- Costs: with more trades, total cost grows; here $0.3 per trade, with no slippage.
- Management: two lanes means you can be in a breakout and a fade together.
None of these items is a defect. They are what book 12 calls the price of complexity: it must be paid for by an edge that shows more clearly than +0.05.
What follows
- A system that switches rule with the regime does better than fixed rules on average (+0.16 against +0.09 and −0.13 with efficiency), and the opposite system does worse (−0.16).
- It works with efficiency and in part with the ADX, not with variance and Hurst.
- At the top nothing changes: the best pair (+0.70) does not beat the 80-candle breakout without a regime (+0.74).
- It is a hypothesis to test forward, with the measure, the window and the threshold fixed beforehand.
What to do
- Write the two lanes and the regime that activates them before looking at the results (sheet of chapter 13).
- Always compare with the best fixed rule and with the opposite system.
- Read the average over the basket of rules and the best one separately: they say different things.
- Count the parameters and the tests: the more you have, the higher the chance band.
- Test it forward on data after 6 October 2026 before using it with money.
Procedure in four steps
- Define the two lanes (breakout in the trend regime, fade in the range) with the same base rule.
- Compute the mean R over all pairs, on the opposite system and on random series.
- Compare the best pair with the best fixed rule and with the best on pure chance.
- Write how many parameters and how many variants you tried.
Exercises
Chapter exercises
1. The «breakout in the trend + fade in the range» system with efficiency makes +0.16 R and the opposite system −0.16. What does it say?
2. The system's best pair makes +0.70 ± 0.38 R and the 80-candle breakout without a regime +0.74 ± 0.43. What do you conclude?
3. With variance and Hurst the system makes −0.06 and −0.07. What does it say?
4. Why is the opposite system needed as a comparison?
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.