Glossary
What is walk-forward analysis?
Walk-forward analysis tunes a strategy on one window of history, tests it on the next window, then shifts both forward and repeats, so every tested piece uses only data from before it.
Also called: walk-forward optimization
It is the hold-out test repeated: instead of one out-of-sample result you get several, chained into one walk-forward curve. That curve is closer to what a trader could actually have done, because each pick is made with only the data of its time. Robert Pardo presented the method in 1992 (overview).
The useful part is the comparison: the walk-forward curve against the setting that was best in hindsight, the median setting and buy & hold over the same months. With only a few windows, that comparison has little power either way.
In practice
In our +49,809% backtest of a Gaussian channel strategy on ETH/USDT 4h, re-picking the setting every 6 months from the previous 24 made +1,455% over August 2020 to July 2026 – against +5,148% for the top setting in hindsight, +1,922% for the median setting and +438% for buy & hold, all before fees.
Simulated results on historical market data. Past performance is not indicative of future results. Not investment advice.
Related terms
Read more
- +49,809% in a Backtest: What Is Left After the Checks
- 5 Free Pine Script Strategies, 6.5 Years of Bitcoin, Tested
- How to Backtest a Trading Strategy Properly: 10 Rules
- How walk-forward and Monte Carlo work
Topic: Walk-forward & Monte Carlo
Part of the guide: Overfitting and luck