Part 2: The higher-timeframe trend · Chapter 5 of 14 · 8 min
Does the trend predict anything
Measuring the price's movement in the direction of the known higher trend, in non-overlapping windows, the value is practically zero at 1-12 hours and slightly positive at 24-48 hours with the 20-bar average (+0.45 ATR at 24 hours on H4, +0.80 at 48 hours on D1), but with errors of ±0.6-1.1 ATR and inside the band of random series. The other definitions sit even closer to zero. The data are compatible with a weak inertia at one-two days, and do not prove it.
The question
The higher trend is useful if the following hours go, on average, in its direction. We measure: for each H1 candle in which the trend has a direction (+1 or −1, known at the close of the last higher bar), we take the price's movement over the next h hours, in hourly ATR, and multiply it by the trend's direction. The average is positive if the price tends to follow the trend, zero if there is no relation, negative if it tends to come back.
Two methodological precautions.
- Non-overlapping windows. If you take a window at every candle, two nearby windows share almost all their prices and the error looks smaller than it is. We take one observation every h hours.
- Comparison with chance. On 60 random series (candles shuffled in one-day blocks, no trend, with H4 and D1 rebuilt and the same trend) we calculate the same number: the band from the 5th to the 95th percentile says what you get by luck.
The result
Mean movement in the trend direction, in hourly ATR, by horizon, with the error (95%) and in brackets the band of chance (5th-95th):
| Definition | 4 hours | 12 hours | 24 hours | 48 hours |
|---|---|---|---|---|
| 20-bar average, H4 | 0.00 ± 0.09 (−0.07 / +0.08) | 0.00 ± 0.29 (−0.30 / +0.27) | +0.45 ± 0.60 (−0.65 / +0.56) | +0.44 ± 1.12 (−1.46 / +0.85) |
| 20-bar average, D1 | +0.05 ± 0.10 (−0.08 / +0.08) | +0.15 ± 0.29 (−0.32 / +0.27) | +0.39 ± 0.61 (−0.59 / +0.55) | +0.80 ± 1.05 (−1.20 / +0.83) |
| 5 bars, H4 | +0.05 ± 0.09 | −0.00 ± 0.29 | +0.05 ± 0.60 | +0.08 ± 1.13 |
| 5 bars, D1 | +0.05 ± 0.09 | +0.14 ± 0.29 (−0.22 / +0.27) | +0.35 ± 0.60 (−0.48 / +0.43) | −0.24 ± 1.13 (−1.14 / +0.95) |
| 10-bar break, H4 | +0.01 ± 0.09 | −0.02 ± 0.29 | +0.14 ± 0.60 | −0.05 ± 1.13 |
| 10-bar break, D1 | +0.02 ± 0.10 | +0.05 ± 0.29 | +0.13 ± 0.61 (−0.49 / +0.51) | +0.25 ± 1.06 (−1.08 / +0.58) |
Observations.
- At 1-4 hours there is nothing: from 0.00 to +0.05 ATR with an error of ±0.09-0.10. The known trend does not say where the next hour will go (chapter 3).
- At 24-48 hours the values are positive with the 20-bar average (from +0.39 to +0.80 ATR), but the errors are larger than the value (±0.60-1.12) and inside the band of chance: +0.80 on D1 at 48 hours sits 0.03 from the 95th percentile (+0.83).
- The other two definitions sit closer to zero, and one gives a negative value (5 bars, D1, 48 hours: −0.24).
- The positive signs are consistent with a weak inertia: in book 14 (chapter 7) the ratio with the square root of time at 48 hours was 1.07, just above 1. Here it is seen with another method.
- They are 30 comparisons (6 definitions, 5 horizons): on average one or two come out borderline by pure chance.
Read the chart in words
Daily gold chart with, below, three cumulative curves: the pink and blue ones rise slowly, the dashed grey one falls much lower.
The figure shows the picture. The two real-trend curves rise slowly (+32.9 and +24.6 ATR over 4,865 candles: about +0.007 ATR per candle, $0.13), while a random trend lasting three days ends at −36.3 ATR. A random series swings by tens of ATR through pure luck, and a +33 sits within that order of magnitude. In this series the known trend did better than a random one; but we do not have enough periods to say it is a fact.
And the breakout?
There is a relation that is easy to overlook: the 80-candle breakouts of book 12 agree with the D1 trend (20-bar average) in 76% of cases (162 out of 213). It is no accident: a breakout happens when the price is already going in one direction, and the higher trend reflects it. A filter on the higher trend does not add new information to breakout rules: it repeats part of it. We see it in chapter 6.
What follows
- The higher trend predicts nothing at 1-4 hours and, with ten months of data, nothing is proven even at 1-2 days: the positive signs sit inside chance.
- Inertia at one-two days is a hypothesis, compatible with the data (ratio 1.07 at 48 hours), not a discovery.
- A ten-month sample has few independent trends (chapter 4): with 91 windows at 48 hours the error is ±1.05 ATR.
What to do
- Always measure the movement in the trend direction in non-overlapping windows and report the error.
- Compare with random series before saying the trend «works».
- Do not use the higher trend as a forecast over a few hours.
- If you want to test inertia at 1-2 days, write it now and check it on new data (book 12).
- Count the comparisons: with 30 tests, one or two borderline gaps are expected.
Procedure in four steps
- Define the trend (chapter 4) and use only closed bars.
- For each horizon take non-overlapping windows and calculate the movement in the trend direction, with the error.
- Calculate the same number on random series and look at the 5th-95th band.
- Report all the results, not the best.
Exercises
Chapter exercises
1. The D1 trend (20-bar average) gives +0.80 ± 1.05 ATR at 48 hours, and the band of chance reaches +0.83. What do you conclude?
2. Why are non-overlapping windows used to measure the error?
3. 80-candle breakouts agree with the D1 trend in 76% of cases. What does it imply for a filter on the D1 trend?
4. The trend at 1-4 hours gives from 0.00 to +0.05 ATR with an error of ±0.09-0.10. Which reading is right?
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.