Skip to main content
Track Robustness testing
2 / 51
Library

1988issue C041-7

Walk-forward and neighborhood tests after optimization

System-optimization can still report a profitable combination when the series is random or the indicator has no skill. Editorial view: treat the in-sample peak as a proposal, and treat the joint procedure as a candidate only after unused-window scoring and neighborhood robustness-testing agree it is not a one-point fit.

  • System-optimization can still report a profitable combination when the series is random or the indicator has no skill, so the in-sample peak does not by itself show that the procedure will remain reliable.
  • Walk-forward-analysis optimizes on one window and evaluates the same rules on a later unused window, so those later results are not produced by hindsight.
  • A profit-distribution-chart and cluster-spotting ask whether profits stay orderly around the peak; an isolated spike is a weaker robustness-testing signal than a neighborhood of similar profits.
  • Repeatedly trying procedures until one looks good on the unused window is second-order-optimization and can still fit chance.
Entries in this reading3 entries

Optimization proposes a joint procedure

System-optimization is a search over rule inputs that picks the historically strongest joint entry, exit, and abstention procedure. A search for the highest historical profit can still report a profitable combination when the series is random or the indicator has no skill. The in-sample peak does not by itself show that the procedure will remain reliable.

A mechanical procedure assumes both a recurring price pattern and an indicator that can exploit it. If the pattern is too infrequent, or the indicator also fires on similar but unwanted setups, losing trades can outnumber winning ones.

Score the same rules on a later unused window

Walk-forward-analysis fits the procedure on one window, then scores the same rules on a later window that was not used in fitting. The later results are not produced by hindsight.

The method needs enough history to both fit and retest. When possible the illustrated design used at least five to 10 years. A shorter fit window can be chosen so that more years remain for unused-window tests.

An illustrated rolling and expanding design

One illustrated walk-forward design on T-bond futures used 40 expired contracts over 10 years. It traded the last three months of each contract, optimized on 12 contracts covering three years, tested the next contract, then rolled that window through contract 40, producing a seven-year unused-window record on 28 contracts.

An expanding-window variant adds each new contract to the optimization sample instead of dropping the oldest. That variant can suit longer-horizon systems that need more history in every fit.

Second-order-optimization can still fit chance

Repeatedly trying procedures until one looks good on the unused window is second-order-optimization and can still fit chance. The expanding design also re-optimizes early contracts many times, up to 28 times for contracts 1 through 12.

Judge nearby profits, not only the peak

Robustness-testing asks whether profits stay orderly across nearby parameter values instead of appearing only at the single best fit.

A profit-distribution-chart plots profit against one varied parameter. A smooth rise and fall around a peak is treated as a sign that the parameter influences results, while sharp irregular spikes are treated as a sign of little consistent effect. The chart can change only one parameter at a time, so it isolates inputs better than it certifies a multi-parameter system. Reading the shape is a judgment used mainly to reject obviously unstable settings.

Cluster-spotting inspects results around the best system-optimization point. A peak whose neighboring parameter sets show similar profits is treated as a stronger robustness-testing signal than an isolated spike.

Profit versus RSI lookback length

Profit rises toward a broad peak near a 22-day RSI, then falls as the lookback moves away from that length. Nearby settings stay profitable, which is the neighborhood shape the article treats as evidence of a cycle rather than a one-point fit. Values were read from the plotted profit-distribution curve, not from a table.
Profit rises toward a broad peak near a 22-day RSI, then falls as the lookback moves away from that length. Nearby settings stay profitable, which is the neighborhood shape the article treats as evidence of a cycle rather than a one-point fit. Values were read from the plotted profit-distribution curve, not from a table.RSI length sweep (illustrative) · RSI lookback in days

The source plots a single-parameter sweep of RSI length only; nearby points are approximate readings from the printed curve. The article states the peak at 22 days.

Educational research material, not investment advice. Historical source context does not establish present-day performance.
2 of 51 in the Robustness testing track
19881-2 pp.Next on Robustness testingUndisclosed rules block system robustness testsAn undisclosed system withholds both the trading rules and the preferred parameter values, so the buyer cannot run an inspectable procedure.
All readings on this track · 51 readings
  1. 1986Degrees of freedom in trading system optimization
  2. 1988Walk-forward and neighborhood tests after optimization
  3. 1988Undisclosed rules block system robustness tests
  4. 1988Testing re-optimization calendars against random parameter controls
  5. 1989Binary search limits on multi-peak average grids
  6. 1989Parameter neighborhoods that survive a shift
  7. 1990Use profit mapping to keep a cycle and stop plateau
  8. 1990Why popular indicator optimization fails robustness
  9. 1991Retesting weighted indicator balances across horizons
  10. 1992Constructing forecast models with regression, walk-forward, and robustness
  11. 1992Diagnose regimes before you lock parameters
  12. 1992When stops change system timing
  13. 1993Walk-forward halt rules for forecast models
  14. 1994Walk-forward evaluation of genetic index rules
  15. 1995Input pruning as walk-forward system evaluation
  16. 1995Critiquing neural nets as incomplete trading systems
  17. 1996Rebuild the equity-path ratio before it ranks a designed system
  18. 1996Parameter grids can fit random walks
  19. 1996Walk-forward analysis belongs in the design of a mechanical trading system
  20. 1997When a holdout fails, discard the rule set
  21. 1997Test rewarded rule breaks before replacing the system
  22. 1997Walk-forward rules keep system research from rewriting live trades
  23. 1999Keep a channel-breakout to two lookbacks and test neighbor stability
  24. 1999Constant investment size in stock system evaluation
  25. 2000Forcing optimization maps mechanical system failure boundaries
  26. 2000Robust parameter selection with surface charts
  27. 2001A two-gate classroom test for a two-window momentum trend filter
  28. 2002How a two-sided continuation factor becomes a testable trend rule
  29. 2002Evaluating two-window trend intensity as a reversal rule
  30. 2003Discounting speculative bubbles in system robustness tests
  31. 2003Walk-forward evaluation of locked stochastic oscillator rules
  32. 2003Critiquing mechanical system design after extreme price regimes
  33. 2004Evaluating a two-window trend trigger
  34. 2005Grade backtested signals with holdouts and optimization plateaus
  35. 2006Reserved-sample evaluation of trading system design
  36. 2006Walk-forward critique of hindsight crossover systems
  37. 2008Condition-matched walk-forward evaluation for mechanical systems
  38. 2011Session-split evaluation of regular and overnight systems
  39. 2012Walk-forward evaluation as operator rehearsal
  40. 2013Two-window evaluation of mechanical trading systems
  41. 2013Walk-forward filter selection for repeated-median velocity
  42. 2014Walk-forward evaluation for fading-memory velocity systems
  43. 2015Test oscillator events before tuning rules
  44. 2016Walk-forward evaluation of a five-parameter parabolic stop-and-reversal
  45. 2016Walk-forward optimization without curve fitting
  46. 2017Optimization without overfitting in trend-system evaluation
  47. 2017Parameter stability is a better guide than a larger crossover grid
  48. 2018Point-in-time universes for system evaluation
  49. 2018Walk-forward robustness evaluation for optimized systems
  50. 2018Critiquing breakout systems through robustness tests
  51. 2018A critique of parameter fitting in system design
All 58 readings tagged Robustness testing
Also on Robustness testing5 readings