Validation and Robustness

    Extra checks for a system that passed its walk-forward, then the advanced options for later

    Prefer to watch? This page has a video lesson

    Module 3: Walk-Forward Testing · Training Hub · free with a GSB Pro account

    Create your free account to watch the videos →

    Your robustness checklist
    1. The walk-forward passed (the scorecards on the Walk-Forward Optimization page)
    2. An identical second walk-forward agrees
    3. The system holds up in verification on clearly different bar intervals (Peter's 2024 test: 15, 20, 40 and 60 minutes for a 30-minute system), and in a Monte Carlo walk-forward
    4. Final checks: last out-of-sample period, linear curve, costs

    Check 1: the walk-forward passed

    Start with a system that passed both scorecards on the Walk-Forward Optimization page: the brown WF OOS curve, profit factor, average trade and net profit, then anchored stability above 40, rolling stability 62 or more, and WFE above 60%.

    Check 2: an identical second walk-forward agrees

    Run the same walk-forward again, with the same settings (right-click the system's arrow → Run Walk-Forward → Genetic Algorithm (Multi-Threaded)). It should give a similar result. If it's fairly different, Trademaid says you need more iterations: raise GA Generations and GA Population, for example to 150 each, and run it again.

    Check 3: verification, step by step

    Verification tests your system on data it wasn't built on. The idea: a system that still works on data it never saw is more likely to work out-of-sample. Older guides (including earlier versions of this page) start with random-noise copies of your data and nearby bar sizes. Peter Zwag (GSB's developer) changed his view in 2023 and 2024:

    • He has "zero faith" in random noise as validation (January 2023)
    • Nearby bar sizes (28, 29, 31, 32 minutes for a 30-minute system) and other index markets predicted little
    • In his November 2024 NQ test, verifying on 15, 20, 40 and 60-minute data predicted out-of-sample results far better than noise, nearby bar sizes, or ES, YM, RTY and EMD

    Verify on clearly different bar intervals

    Load 15, 20, 40 and 60-minute versions of your data into Verif. Price Data (or a verification group, below). Make them from your 1-minute data with Mult., the same way you made your 30-minute data. Peter has verified on anything from 5 to 60 minutes. Then right-click your system and choose Verify (or Verify Group). Different bar sizes give a different number of bars per day, which stress-tests the system.

    • If too few systems verify, reduce the Performance Filter - Verification values. If too many do, raise Pearson to 0.95
    Older method: random-noise verificationShow

    Peter no longer relies on noise, but these steps still show where verification data is loaded and how to verify. Steps 1 and 5 are the same whatever data you verify on.

    Step 1: Data → Verif. Price Data

    In the left panel, open the Data section. Click the Verif. Price Data row, then the small ... button at the end of it, just as you did for your price data. By default no verification data is used. Leave Auto Verify Systems on False, so you verify by hand.

    Data section of the left panel showing Opt. Price Data, Verif. Price Data and Auto Verify Systems set to False

    The Data section: Verif. Price Data is the row to open. Auto Verify Systems stays False

    Step 2: Right-click your data → Clone + Random Noise

    The Price Data window opens. In the list on the left, right-click the data your system was built on (here, CL30) and choose Clone + Random Noise. This makes copies of your data with small random changes to the prices. If a system only worked because of the exact prices in the past, it should struggle on these copies.

    Price Data window with CL30 right-clicked and Clone + Random Noise highlighted

    Right-click your data, then Clone + Random Noise

    Step 3: Clones 4, Ticks 5. Then again with Ticks 10

    The Random Noise Settings window opens. Set Clones to 4 and Ticks to 5, then click OK. It may take a minute. Then do it once more: right-click your data, choose Clone + Random Noise, and set Clones 4, Ticks 10. That gives you eight noisy copies, four with 5 ticks of noise and four with 10.

    Members only
    How the noise is applied to each clone

    Peter Zwag's notes on this from Trademaid's private forum for GSB buyers, free with a GSB Pro account.

    Random Noise Settings window with Clones 4 and Ticks 5

    Random Noise Settings: Clones 4, Ticks 5 for the first pass

    Trademaid's pages give slightly different noise recipes (4 x 5 ticks plus 4 x 10 ticks with the step-by-step screenshots; 4 x 4 plus 4 x 8 ticks, or 4 x 5 plus 4 x 8, elsewhere). This guide uses 5 and 10, matching the screenshots and the Training Hub lesson. Check Trademaid's current help.

    Step 4: Select the noise copies, then OK

    When the bar at the bottom says the random noise was generated successfully, select the eight new noise copies in the list. Hold Ctrl and click each one if you need to. Then click OK. The Verif. Price Data row now lists your noise data. You only need to do this once for each market and bar size.

    Verif. Price Data row expanded, listing random-noise data streams with 5 and 10 ticks of noise

    Verif. Price Data now lists the noise copies (5 ticks and 10 ticks)

    Step 5: Right-click your system → Verify

    Right-click your system the same way you did for the walk-forward, and click Verify. GSB tests the system on each verification data stream. Newer versions also have Verify Group, for when you've set up several verification groups. Plain Verify checks all of them, and for now that's all you need.

    Reading VS and VSS

    • VS is how many verification data streams passed, for example 5 / 8. A stream passes using Performance Filter - Verification, which Trademaid gives as profit factor 1.8 and Pearson 0.85 by default
    • VSS is how much the average of all the verification data degrades from your original data. Trademaid found VSS the better of the two
    • Peter's January 2025 test: systems that ranked well on both VSS and the Monte Carlo Sharpe ratio (MC-SR, see Monte Carlo walk-forward below) had 36–44% better out-of-sample fitness than the worst group
    Verification chart of a system on bar sizes from 25 to 35 minutes, with VS showing 5 / 8 and VSS +1.3% in the grid

    A system verified on nearby bar sizes. In the grid, VS shows 5 / 8 and VSS +1.3%

    Verification settings: what to use

    SettingUse thisDefaultWhat it does
    Verif. Price Data (Data section)15, 20, 40 and 60-minute versions of your data (or the 8 noise copies, older method)Empty (no verification data)The data streams GSB verifies the system on
    Auto Verify Systems (Data section)Leave on FalseFalseFalse means you verify by hand, with right-click → Verify. Verifying during builds is CPU-heavy, so don't switch it on for cloud builds
    Random Noise Settings, first pass (older method)Clones 4, Ticks 5-Four copies of your data with up to 5 ticks of random noise
    Random Noise Settings, second pass (older method)Clones 4, Ticks 10-Four more copies with up to 10 ticks of noise
    Performance Filter - VerificationLeave to startProfit factor 1.8, Pearson 0.85The pass mark each verification data stream must meet to count in VS

    Newer versions: Verf. Price Data Groups

    Verification groups arrived in build 68.45 (November 2024). The row is called Verf. Price Data Groups, and it opens a group editor where each group holds its own verification data (for example, your 15, 20, 40 and 60-minute data in one group). Right-click a system → Verify Group to test it on one group. GSB totals the VSS across all the data in the group, so you see the average degradation in one number. Trademaid's help page: Verification.

    VerificationPriceDataGroup Collection Editor listing four verification groups

    Newer versions: Verf. Price Data Groups opens the VerificationPriceDataGroup Collection Editor

    Whether the Performance Filter - Verification default is still profit factor 1.8 and Pearson 0.85 in current builds isn't confirmed yet. Check the Verification help page above.

    Time zones: when you use more than one data stream, all streams must be on the same time zone (including Data1). If you get this wrong, data streams may be looking into the future or delayed, and all results will be invalid.

    Check 4: final checks before you trust it

    • The system is profitable in its last out-of-sample period
    • The equity curve is reasonably linear
    • An identical second walk-forward gives a similar result (Check 2)
    • The average trade still covers brokerage and slippage

    Even then, robustness testing reduces the risk of over-fitting. It doesn't guarantee future results. If you change settings after looking at out-of-sample results, that data has become in-sample, so keep notes on what you tested, the results, and why you kept or rejected each system.

    Monte Carlo walk-forward in GSB

    Build 68.45 (November 2024, refined in 68.57) added a Monte Carlo walk-forward inside GSB. It runs a random-space walk-forward many times over, so you see the spread of walk-forward results rather than one result. Peter's settings: 1,000 iterations, a ±25% range, multi-threaded.

    • Many results better and many worse is fine. Most results much worse is a red flag
    • It adds a Monte Carlo Sharpe ratio (MC-SR) metric to the grid
    • From 68.64 the MC metrics (without the lines) are calculated on every walk-forward, and they can run on cloud workers
    • From 68.70 the WFS curves are off by default. Tick the box on the walk-forward screen to show them

    Trademaid's help page: Monte Carlo Walkforward.

    Robustness scorecard
    • Walk-forward passed both scorecards
    • Identical second walk-forward agrees
    • Holds up in verification on clearly different bar intervals (VS and VSS), and in a Monte Carlo walk-forward
    • Last out-of-sample period profitable, curve reasonably linear, average trade covers costs

    Going further

    That's the basic process. These options are for later, once the basic recipe feels easy.

    The rest of the Run Walk-Forward menu

    • Random Space searches the whole parameter range. Trademaid says it's fine to double-check a genetic result with one
    • WF to EWFO items send the walk-forward to the Enhanced Walk-Forward Optimizer, which adds cluster analysis (the walk-forward repeated with different settings), a Monte Carlo WF graph and its own rough pass criteria
    • @ Best Worker items send walk-forwards to the GSB cloud or your own workers. What setup they need isn't confirmed yet, so check Trademaid's current help

    Walk-forward options for later

    • A rolling walk-forward (set Anchored to False) and the Full search space
    • AI WF (right-click → Run Walk-Forward → AI WF) walks forward one input at a time. A bell curve is ideal. A flat line means the parameter doesn't matter (an orange to red flag), and an erratic shape is an orange flag
    • Monte Carlo walk-forward, now covered above
    • The walk-forward optimisation profile (build 67.05), which Trademaid calls new and experimental. Peter's view: using peak fitness as your only test of a parameter isn't a good idea, and the profile shows how fitness changes around it
    • The expert data options: Optimize Data Streams, WF Price Data and WF TPD. Peter never got an improvement from Optimize Data Streams
    • Not walking forward an input at all (new in version 54.81, per Trademaid's help). Fixing parameters inflates the stability score, so only do it for a good reason

    More robustness checks

    • Test any selection rule objectively. Take your roughly 300 systems (Favorites A or B), split them by your rule into the top third and the bottom third, and compare their out-of-sample results. If the top third isn't clearly better, the rule isn't helping. Peter calls this kind of test GSB's "superb strength"
    Members only
    Finding which metrics predict degradation

    Peter Zwag's notes on this from Trademaid's private forum for GSB buyers, free with a GSB Pro account.

    • Related markets. Trademaid's examples: build on crude oil and verify on heating oil and unleaded gas; build on the S&P 500 and verify on the Mid Cap 400, Nasdaq, Dow and Russell 2000
    • Keep recent data unseen. Set the Glob. End Date before today, then extend the dates later and walk forward the finalists again on new, unseen data. Trademaid's setup guide recommends a Training % between 30% and 50%. Peter leaves about 2 years completely unseen, then runs the walk-forward over the whole data set. Two traps: filtering on the Full Period turns every surviving system into an in-sample pick, and once you've acted on out-of-sample results, they're in-sample too
    • Families. A family is the unique set of indicators a system uses. If a family appears often, it's likely a good combination. Trademaid recommends seriously considering the top system of the first few families. Select systems, right-click and choose Create/Update Family. Peter's practice:
      • Judge the whole family, and walk forward several members. Each walk-forward has its own seed and its range is relative to that member, so the spread across members tells you something
      • Before Create/Update Family, set the dates to All (or in-sample). Never use the last out-of-sample period a stats macro left behind
      • To test a big family, rebuild with only that system's 3 indicators enabled, build 100 or more systems, and check their out-of-sample results
    • Market validation with Nth day. Build with Nth day settings that alternate trading days with held-out days, then switch the Nth day mode to test the held-out days.
      • Build with Nth Day Mode set to NoTrd. The manager then shows the systems as Nth All, so about half of the data before the cut-off date is out-of-sample
      • Performance filters only apply to the in-sample days, so the out-of-sample days look worse by design. That's GSB being honest with you, not a fault
      • Degradation = (1 − OOS ÷ IS) × 100
      • Never change the Nth setting and the dates at the same time, and wait for each job to finish
      • Set Nth back to All before you walk forward
      Members only
      When a market fails validation

      Peter Zwag's notes on this from Trademaid's private forum for GSB buyers, free with a GSB Pro account.

    • Macros automate the whole sequence: walking forward the top systems, verifying them, and ranking by anchored stability or VSS. See Automation & Macros
    • Monte Carlo on a finished portfolio is in Portfolio Analyst Pro

    Next steps

    With your systems through walk-forward and these robustness checks, the next step is combining the best of them into a portfolio.

    GSB's main tools are its genetic algorithm search, its walk-forward and robustness tests and its export to TradeStation, MultiCharts and NinjaTrader. New to it? See what Genetic System Builder does and how GSB compares with StrategyQuant and Build Alpha.