STRATEGY LIBRARY · RESEARCH METHODS · 6 OF 6

Walk-forward tests and Monte Carlo drawdowns

Validate rules on data they never saw, and size risk for the drawdowns your trades could have produced, not just the one they did.

RESEARCH METHOD~12–18 MINUTES

Understand it

Walk-forward analysis repeats a simple discipline: choose or tune the rules on an in-sample window, trade them unchanged on the following out-of-sample window, then roll both windows forward. The strategy is judged only on the joined out-of-sample segments.

Monte Carlo resampling asks how bad things could have been with the same trades in a different order. Reshuffling or resampling the trade list gives a distribution of drawdowns; the bad tail of that distribution, not the single historical path, should drive position size.

WORKED EXAMPLE

Take a hypothetical list of 60 trades: 22 winners of +2R and 38 losers of −1R, a total of +6R. In the order they happened, the worst peak-to-trough drawdown was 10R.

Reshuffling the same 60 results 2,000 times keeps every trade but changes the order. The median worst drawdown across the reshuffles was 9R, and 5% of orderings produced 14R or worse.

Plan your risk around the 14R figure, not the 10R you happened to see. Then add a margin, because future trades will not be an exact copy of past ones.

Walk-forward testing applies the same humility to the rules: choose parameters on one window, trade them unchanged on the next, roll forward, and judge the strategy only on the stitched-together out-of-sample results.

WindowChoose rules onTrade unchanged on
1Months 1–24Months 25–30
2Months 7–30Months 31–36
3Months 13–36Months 37–42

Watch for this misconception

Treating the historical maximum drawdown as the worst case. It is one draw from a distribution and is usually exceeded eventually.

PRACTICE EXERCISE

Run the drawdown simulator with your own win rate and payoff. Size your risk so the 95th-percentile drawdown is a loss you could accept.

Drawdown simulator ↗
KNOWLEDGE CHECK

In walk-forward testing, what is the strategy judged on?

Select the best answer

Go deeper

Hypothetical educational examples on synthetic numbers. Verify current product specifications and rules before making decisions.