India & US Markets · No ads, no stock tips · Pure financial education · Subscribe free →

Module 9 · Expert level

9.3Proving an edge

Expert14 min read

In this lesson

  • Design a statistically meaningful test of a setup
  • Use out-of-sample testing and Monte Carlo drawdowns
  • Break results down by regime

A backtest that looks good proves very little. Markets are noisy enough that you can find a profitable-looking rule in almost any data set by trying enough ideas. The question is whether the edge is real. Evidence-based technical analysis (David Aronson) and systematic traders such as Kevin Davey and Ernest Chan give a consistent answer to how you find out.

The checklist

  1. Precise rules. Entry, stop, target and filters written so that two people would produce the same trades from the same chart.
  2. At least 100 trades per setup. Fewer and luck dominates (Lesson 8.1).
  3. Out-of-sample testing. Build the rules on 70% of the data and test, untouched, on the other 30%. If it fails there, it was fitted to noise.
  4. Real costs. Include bid-ask spread, commissions and slippage. Many paper edges disappear here.
  5. Monte Carlo. Shuffle the order of your trades thousands of times to see how bad a drawdown can be when luck goes against you.
  6. Results by regime. Split by VIX level and by session type. An edge that only works in calm markets is a different strategy.

Monte Carlo in practice

Worked exampleShuffling 100 trades 10,000 times

We generated a synthetic sample of 100 trades for System A (45% wins of +2.2R, 55% losses of −1R). It had 43 wins and a total of 37.6R. Its actual maximum drawdown was 8.8R. Then we reshuffled the same trades 10,000 times in random order and measured the maximum drawdown each time.

Maximum drawdown across 10,000 shuffles of the same 100 trades
MeasureDrawdown (R)
Original order8.8
Median of shuffles8.0
95th percentile12.6

So in one run in twenty, the same trades in a different order would have produced a drawdown of 12.6R or worse. At 1% risk per R that is about −12.6% of the account. If your tolerance is 10%, size so that the 95th-percentile drawdown fits: 10 ÷ 12.6 ≈ 0.79% risk per trade.

Synthetic data with a fixed seed, used to show the method. Your own journal supplies the real sample. Drawdown here is in R and ignores compounding.

Exercise

  • Take your best setup’s log (at least 50 trades; aim for 100). Compute expectancy, then run a shuffle test in a spreadsheet or script with at least 1,000 shuffles.
  • Find the 95th-percentile drawdown and the risk per trade that keeps it within your tolerance.

Check your understanding

5 questions

Loading quiz…

Sources and further reading

  • David Aronson, Evidence-Based Technical Analysis
  • Kevin J. Davey, Building Winning Algorithmic Trading Systems
  • Ernest P. Chan, Algorithmic Trading