A test can look good just by chance. So the useful question isn't 'is this result good?' It's 'how often would chance alone produce a result this good?' By the end of this lesson, you'll know how to ask that about a log, how to read the answer, and why trying lots of ideas makes a good-looking result easier to find by accident.
1 of 8
What you'll learn
- Picture a world with no real effect. Ask how often that world would make your result.
- Compare with random entries. Keep your exits and make the entries random.
- Read the answer with care. No cut-off line turns a result into proof.
- Count your tries. Testing many ideas makes a good result easier to find by accident.
- Check new trades. See if it holds on trades you didn't use to build it.
Exercise
- Pick one result from your own log, such as a run of wins or a good week.
- Write down how many ideas or changes you tried before it.
- Then ask the question from this lesson: if your rules had nothing in them, how often would a result like this turn up?
Quick check
1. Random entries match a result 1 time in 5. What does that mean?
2. You test 20 ideas that have nothing in them, each with a 1 in 20 chance of looking good. About how likely is at least one to look good?
3. Random entries with a 1R stop and a 2R target, with no lean in price, reach the target about…
0 of 3 answered.
Finished this lesson?
Tick it off and keep your place
Read the full notes
A good result can happen by chance, so the question is how often rules with nothing in them would produce a result this good.
- Imagine a world where nothing real is going on, and ask how often that world would produce your result. If often, the result is weak evidence; if rarely, it's harder to explain away.
- A A check that takes trades at random times, with the same stop and target rules as a strategy, to see how often random entries do as well as the strategy did.More in the glossary keeps your exits and makes the entries random. With a A result measured in units of the amount at risk. If a trade risks 4 points, 1R is 4 points and a 6-point gain is +1.5R.More in the glossary An order that closes a trade if price reaches a level you set against it. It aims to limit the loss, but in a fast market it can fill at a worse price.More in the glossary and a 2R An exit order that closes a trade when price reaches a level you choose in your favour.More in the glossary and no lean in price, a random entry reaches the target about 1 time in 3 (before What your broker and the exchange charge for each contract you trade, often quoted per contract for the round trip: in and out.More in the glossary).
- Made-up example: +6R in 20 trades needs 9 wins out of 20 at +2R and −1R. Random entries get 9 or more wins about 19 times in 100, close to 1 in 5. The course log can't show its rules add anything.
- The answer is not the chance your rules work. It's the chance that rules with nothing in them would match you. There is no line where a result becomes true.
- Trying many ideas makes a good result easier to find by accident: with 20 ideas that each have a 1 in 20 chance of fooling you, the chance at least one does is 1 − 0.95²⁰ ≈ 64%. See Overfitting.
- Four questions: how often would random entries match it; how many trades and what rough range; how many versions were tried; does it hold on trades not used to build it (History kept back while a strategy’s rules are built, then used once to test the finished rules unchanged. The part used to build them is in-sample.More in the glossary)?
Worked example
Made-up numbersRandom entries against +6R
Made-up numbers: 20 random entries, 1R stop, 2R target, a 1 in 3 chance of reaching the target, before costs.
- 8 wins: 8 × 2 − 12 × 1 = +4R. 9 wins: 9 × 2 − 11 × 1 = +7R
- So +6R or better needs 9 or more wins out of 20
- Chance of 9 or more wins at 1 in 3 each: about 0.19
- About 19 random logs in 100 match or beat +6R
The +6R is the kind of result random entries produce about one time in five.
Your turn
DrillMade-up numbers · random entries with your exits match or beat your result in 10 of 200 random logs
Trading is risky, and you can lose money. Past results, real or made-up, don't tell you what comes next. This lesson explains how to read numbers. It isn't advice.