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
- Take a test you've logged.
- Label each month using only data from before it.
- Count months per regime, then work out trades, average and wobble for each regime, and mark where the deepest drawdowns sat.
Quick check
1. A two-year test has no months of a wild trend. What can it tell you about wild trends?
2. Which labels could later be used as a filter?
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
Read the full notes
Testing across A label for the kind of market price is in: trending or ranging, and quiet or busy.More in the glossary means checking which regimes a Running a strategy’s exact rules over past prices to see which trades they would have taken.More in the glossary covered, labelling them with data known at the time, comparing each regime's average with its own wobble, and noting where the deepest A fall in an account’s balance from a high point. On a funded account, it also names the loss limit the balance has to stay above.More in the glossary 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 = A measure of how spread out a set of numbers is. The more the closes differ from their average, the bigger it is.More in the glossary ÷ √(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 A fall in an account’s balance from a high point. On a funded account, it also names the loss limit the balance has to stay above.More in the glossary 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 numbersIs the difference big enough?
Made-up numbers · standard deviation of single trades 1.5R
- Trending, calm: 144 trades, +0.25R. Wobble 1.5 ÷ 12 = 0.125. Range 0 to +0.5R.
- Ranging, calm: 64 trades, −0.10R. Wobble 1.5 ÷ 8 = 0.1875. Range −0.475R to +0.275R.
- 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
DrillMade-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.