Skip to content
Wildflower
Join free
Not fooling yourself

Free Trading School · Level 4 · Course 4.3

Testing different market conditions

Lesson 13 of 18 in Not fooling yourselfModule 3: Testing on fresh data

Testing and making it your own · Not fooling yourself

Testing different market conditions

Wildflower Trading School · Lesson 4.3.3.4

Wildflower

Markets don't behave the same way all year. Some weeks trend, some go sideways, some are calm and some are wild. By the end of this lesson, you'll know how to split a test's trades by the kind of market they happened in. You'll know how to label days without peeking at the future. And you'll see what the split can show you that the total hides, and what it can't.

1 of 8

What you'll learn

  • Label the market type. Call each day trending or ranging, and calm or wild.
  • Split trades into four boxes. A single total can hide gains and losses by condition.
  • Write labelling rules first. For example, compare the day's range with its usual size.
  • Filter only on known labels. A filter needs a label you know before the trade.
  • Check the mix. The total depends on how many trend and range days the test had.

Exercise

  1. Take a test you've logged.
  2. Write two labelling rules first: trending or ranging, and calm or wild, such as the day's range against its usual size.
  3. Label every day in the test, put each trade in one of four boxes, and total each box.

Next: Nudging the settings.

Quick check

  1. 1. A test's total is +2R. Why split it by market conditions?

  2. 2. A day is labelled "trend day" from where it closed. Can you use that label as a filter on the morning itself?

  3. 3. Why can the same strategy give a very different total in another year?

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 “Nudging the settings” is waiting next time.

Read the full notes

Splitting a 's trades by the kind of market they happened in, such as trending or ranging and calm or wild, shows where a strategy makes and loses, which a single total hides.

  • Markets change character: or , calm or wild (). A strategy usually suits some conditions more than others, and a test period can be mostly one kind. See Trend, range or in between.
  • Made-up split of 80 trades: trend and calm (22 trades), trend and wild +6R (14), range and calm −8R (30), range and wild −5R (14). Total +2R hides a strategy that makes on trend days and loses on range days.
  • Write labelling rules first (for example, wild = a day's above the middle value for the test). Labels known only at the close can describe results but can't be a ; a filter needs a label known before the trade, or it's look-ahead bias.
  • The total depends on the mix: at about +0.4R a trend-day trade and −0.3R a range-day trade, 20 trend and 60 range trades give 8R − 18R = −10R.
  • It shows where a strategy makes and loses and what mix the test had. It can't say what comes next, or much from a box with few trades. More: Market regimes.

Worked example

Made-up numbers

One total, four kinds of market

Made-up numbers · 80 trades · days labelled by rules written first

  1. Trend, calm: 22 trades, +9R
  2. Trend, wild: 14 trades, +6R
  3. Range, calm: 30 trades, −8R
  4. Range, wild: 14 trades, −5R
  5. Total: 9 + 6 − 8 − 5 = +2R

The total looks like nothing much. The split shows gains on trend days and losses on range days.

Your turn

Drill

Made-up numbers · trend and calm +9R · trend and wild +6R · range and calm −8R · range and wild −5R

Trading is risky. You can lose money. Test results are hypothetical, and a good test doesn't mean future profits. This lesson explains how testing works. It isn't advice.