Skip to content
Wildflower
Join free
Market regimes

Free Trading School · Level 7 · Course 7.7

Testing across regimes

Lesson 6 of 8 in Market regimesModule 2: Working with regimes

Advanced · Market regimes

Testing across regimes

Wildflower Trading School · Lesson 7.7.2.2

Wildflower

In Testing different market conditions, you split a test's trades into four boxes by the kind of day. This lesson does the same at the regime scale, over weeks and months, and adds four steps. By the end, you'll know how to check whether a test covered more than one regime at all. You'll know how to label regimes using only what was known at the time. You'll be able to tell whether a difference between regimes is big enough to mean something. And you'll know how to find where the worst stretches sat.

1 of 7

What you'll learn

  • Check your coverage. Label each month by written rules, then count each regime.
  • Label with past data only. Use data known at the time. Only those labels can become a filter.
  • Measure the wobble. It comes from how spread out your trades are and how many you have.
  • Trust thin regimes less. The regime with the fewest trades gives the least certain result.
  • Mark the worst stretches. Note their regimes. One spell is one example, however long.

Exercise

  1. Take a test you've logged.
  2. Label each month using only data from before it.
  3. Count months per regime, then work out trades, average and wobble for each regime, and mark where the deepest drawdowns sat.

Next: Noticing a change.

Quick check

  1. 1. A two-year test has no months of a wild trend. What can it tell you about wild trends?

  2. 2. Which labels could later be used as a filter?

  3. 3. A regime has 16 trades, average −0.5R, standard deviation 2R. What's the rough range (± 2 wobbles)?

0 of 3 answered.

Finished this lesson?

Tick it off and keep your place

Make a free account and we'll remember where you are, so “Noticing a change” is waiting next time.

Read the full notes

Testing across means checking which regimes a covered, labelling them with data known at the time, comparing each regime's average with its own wobble, and noting where the deepest sat, counted in spells as well as trades.

  • Builds on Testing different market conditions, at the scale of weeks and months.
  • 1. Coverage: label every month by written rules and count. A regime with no months can't be judged; one backdrop tells you about that backdrop. See Choosing the data to test on.
  • 2. Labels: hindsight labels describe where the rules struggled. At-the-time labels use only earlier data, lag, and show what someone watching would have seen. Only at-the-time labels could become a filter (Look-ahead bias).
  • 3. Is it big enough? Wobble = ÷ √(trades); rough range = average ± 2 wobbles. Made-up: 25 trades at −0.40R, SD 1.5R: −1.0R to +0.2R. 144 trades at +0.25R: 0 to +0.5R. See Sample size: how many trades is enough.
  • 4. Worst stretches: mark the deepest and their regimes, compare with Shuffling trade order, and count spells: one spell is one example, however many trades it holds. More: Robustness checks.

Worked example

Made-up numbers

Is the difference big enough?

Made-up numbers · standard deviation of single trades 1.5R

  1. Trending, calm: 144 trades, +0.25R. Wobble 1.5 ÷ 12 = 0.125. Range 0 to +0.5R.
  2. Ranging, calm: 64 trades, −0.10R. Wobble 1.5 ÷ 8 = 0.1875. Range −0.475R to +0.275R.
  3. Ranging, wild: 25 trades, −0.40R. Wobble 1.5 ÷ 5 = 0.3. Range −1.0R to +0.2R.

The smallest box looks worst, and it's also the least certain.

Your turn

Drill

Made-up numbers · standard deviation 1.5R · 36 trades in one regime

Trading is risky. You can lose money. Test results are hypothetical, and past market conditions don't tell you what comes next. This lesson explains how markets and testing work. It isn't advice.