Validation & Testing

    Robustness Lab

    Check whether a system is likely curve-fit before you trade it.

    GSB can find thousands of systems that look great on past data. These checks help you throw out the lucky ones, using data the systems were never built on. Passing them makes a system less likely to be curve-fit; no test can show it will be profitable in future.

    The checks GSB runs

    Each one stresses a different weak spot. The first four are in GSB itself; the last uses Trademaid's add-on tools. Every card links to the Strategy Guide page with the exact settings and clicks.

    Out-of-sample testing
    In GSB

    Set Training % and Test % (or dates) and GSB builds on one part of the data only. The rest is held back, so you can see how each system does on data the search never used.

    Trademaid's guides also keep a later period completely untouched, then check the finalists on it. A system that only looks good on its build data is the first thing this catches.

    Walk-forward (anchored and rolling)
    In GSB

    GSB re-optimises the system on one window, tests it on the next unseen window, and repeats, then joins the tests into one out-of-sample curve (WF OOS). Anchored keeps all the earlier data; rolling drops the oldest, which Trademaid calls a harsher test.

    The Strategy Guide's numbers: anchored stability above 40, rolling stability 62 or more and WFE above 60%. Low stability means the best parameters jump around from run to run.

    Verification on other bar intervals, and Monte Carlo walk-forward
    In GSB

    Verify finished systems on the same market at clearly different bar intervals. In Peter Zwag's November 2024 Nasdaq test (Peter is GSB's developer), verifying a 30-minute system on 15, 20, 40 and 60-minute data predicted out-of-sample results far better than random noise, nearby bar sizes (28 to 32 minutes) or other index markets. GSB's verification groups (build 68.45 and later) load these as one set. A Monte Carlo walk-forward, added to GSB at the same time, shows how widely the walk-forward results spread.

    VS counts the verification streams that pass; VSS shows how much results degrade on average. A system that only works on the exact historical prices is likely fitted to them.

    Older guides verify on random noise (4 copies with 5 ticks, then 4 with 10 ticks) and on every bar size from 25 to 35 minutes. Peter said in 2023 he has no faith in noise-based verification, so treat that as the older method.

    Families
    In GSB

    GSB groups systems that use the same indicators with different parameters into a family (right-click, Create/Update Family). Trademaid's help says a family with many members means the systems are robust regardless of the parameters.

    Judge the whole family, not just its top member: the top one is the best of many similar systems, so it flatters the rest.

    Cluster analysis and Monte Carlo
    Add-on tools

    The Enhanced Walk-Forward Optimizer (EWFO), a separate tool, runs a grid of walk-forwards with different out-of-sample percentages and numbers of runs. Trademaid's rough guideline is at least 8 successful cells close to the centre of the matrix, and it warns its suggested criteria "likely are unrealistically high" goals.

    Portfolio Analyst Pro adds a Monte Carlo analysis of a portfolio or a single instrument, so you see a range of outcomes rather than one back-test.

    Use them together

    No single check is enough. Trademaid's methodology builds with held-back data, compares the out-of-sample statistics, walks the candidates forward, verifies them, and uses families to choose between them.

    Many lucky patterns fail somewhere along the way. The ones that survive have been tested on data they weren't built on, though it is still a back-test.

    Example Equity Curves

    Four equity curves from Trademaid's own GSB help pages, with the market, period and where the out-of-sample data starts. All are hypothetical back-tests. Look mainly at the out-of-sample part of each curve: the data the system was not built on.

    S&P 500 E-mini long-only swing system (Trademaid's 2018 benchmark)

    @ES.D 15-min chart, Sept 1997 to June 2021. Built on 10 June 2018 by a GSB user (Trademaid notes it may have had older out-of-sample data). Trades after the 'Out of sample' marker (7 June 2018, trade 419) came after the build; earlier trades are in-sample. Includes 1 tick slippage and commission.

    Source: Trademaid GSB help, Building S&P500 swing systems

    Equity curve of the S&P 500 benchmark swing system with the out-of-sample section after June 2018 marked
    Crude oil 15-minute system (Wednesday day-of-week method)

    @CL 15-min chart, Jan 2007 to May 2024, by trade number. The red vertical line marks the date the system was built (11/9/2022 on the chart); roughly the last 45 trades are after it. Trademaid notes the system was later manually optimised.

    Source: Trademaid GSB help, Crude oil 2024 day of week method

    Crude oil 15-minute system equity curve by trade number with the build date marked
    GSB walk-forward of a 2021 S&P 500 swing system

    ES 30-min, 1998 to Feb 2021. The red dash-dot lines mark each walk-forward IS/OOS boundary; WF OOS (red) joins the out-of-sample runs. Trademaid notes the final WF Current had only 140 trades and that it would normally discard a system for that reason.

    Source: Trademaid GSB help, Building S&P500 swing systems

    GSB walk-forward graph with training, WF OOS and WF Current curves and IS/OOS boundary lines
    Rolling walk-forward of the same system in EWFO

    Enhanced Walk-Forward Optimizer, 13 Nov 1997 to 1 Mar 2021, 10 rolling runs with 20% out of sample, no commission or slippage. Blue is Current (IS), red is the joined WF (OOS) result. Trademaid: nothing in this process used data after 26 Feb 2021.

    Source: Trademaid GSB help, Building S&P500 swing systems

    Enhanced Walk-Forward Optimizer rolling walk-forward of an S&P 500 swing system, in-sample versus out-of-sample curves and yearly table

    These curves were picked by Trademaid to illustrate the method, so they are not a typical or average result. See the case studies for the full steps behind Trademaid's examples.

    Want the theory? Why back-tests mislead, in two minutesShow

    A genetic search tries a huge number of rule and parameter combinations. Some will fit the noise in the build data by chance, and those look just as good on that data as a real edge. The only fair test is data the search never saw.

    In-sample vs out-of-sample. In-sample data is where optimisation happens. Out-of-sample data is held back. Once you pick systems by looking at a period, that period is no longer truly out of sample, which is why Trademaid keeps a later, untouched period for the final check.

    Recurring blocks (Nth Day). Trademaid's core method alternates blocks of days in and out of sample up to a cut-off date. The held-back blocks come from the same market conditions as the build data, so Trademaid also checks a later period and walks the chosen systems forward rather than relying on the blocks alone.

    Habits that undo the checks: re-optimising after seeing out-of-sample results (it turns them into in-sample), relying on one train/test split, and cherry-picking which out-of-sample period to report.

    The full explanations, with Trademaid's screenshots, are in the Walk-Forward Optimization and Validation and Robustness guides.

    Run these checks on your own systems

    Start your free 14-day trial: create your free GSB Pro account, then get GSB from Trademaid, and apply these checks to your own systems.

    Free: The GSB Robustness Checklist

    Every check between a good-looking backtest and a system worth watching: shortlisting, families, walk-forward thresholds, verification and the final checks before trading. One page, with links to each step.

    We'll email the checklist to you. See our privacy policy.