ES, NQ, YM Futures
    30-Minute Bars

    Index Futures Day Trading: Building ES/NQ/YM Systems

    In brief

    The goal
    Build Nasdaq, S&P 500 or Dow day trading systems that hold up across several separate out-of-sample years.
    What Trademaid did
    Trademaid ran a 20,000-system indicator pass, then a 20,000-system build filtered into Favorites B to D. It compared yearly out-of-sample statistics (March 2017 to February 2021), grouped the systems into families and walked forward the best family.
    What it shows
    How Trademaid uses yearly out-of-sample periods and family size and average fitness to choose systems.
    Main caveat
    Trademaid warns that picking the top member of a family "is going to lead you… to over estimate how good the GSB systems are". Figures are hypothetical, without slippage or commission, and the later unseen period was an exceptionally good one for the Nasdaq.

    Want to build this yourself? Practical Build 3: Index futures day trading: Nasdaq takes you through it in GSB, step by step (free with a GSB Pro account).

    Scenario

    Trademaid's methodology for building day trading systems on index futures (ES, NQ, YM): a two-pass indicator method, yearly out-of-sample statistics and family-based system selection, shown on a Nasdaq example.

    Index futures (E-mini S&P 500, Nasdaq, and Dow) offer substantial liquidity and tight spreads, making them ideal for algorithmic day trading. The challenge is discovering systems that maintain their edge across different market regimes—not just bull markets or high volatility periods, but consistently profitable across years of varied conditions. This methodology uses multiple out-of-sample periods (March 2017 to February 2021, split into yearly chunks) to verify systems work across different environments, not just the specific conditions they were optimized on.

    Approach

    1
    Step 1: Discover Your Best Indicators

    Build 20,000 systems to identify the indicators that suit the market:
    • Load the NQ settings file (nq-800-1500_30minBars_75i.gsboptset in the example)
    • Max. Uniq. Sys. is 20000
    • Run Macro M1 (greenMax10) for the first pass
    • It selects the top 10 indicators for the next pass
    • Results vary from run to run, which gives some strategy diversity
    Loading NQ optsettings with advanced mode

    Opening the Nasdaq settings file (nq-800-1500_30minBars_75i) in GSB Manager

    Top 10 indicators automatically selected

    Max. Uniq. Sys. 20000 and Macros M1 (greenMax10), M2 (nct3-300) and M3 set up for the build

    2
    Step 2: Build Systems with the Chosen Indicators

    Rebuild using the indicators from Step 1:
    • Run Macro M2 (nct3-300_build...)
    • The top 300 systems go into Favorites, then are filtered into Favorites B, C and D (300, 281, 116, 67 in the example)
    • Statistics A: in sample (2007 to 28 Feb 2017)
    • Statistics B-E: yearly out-of-sample periods from 1 Mar 2017 to 28 Feb 2021
    • Statistics F: the whole 2017-2021 out-of-sample period

    Favorites D contains your strongest candidates.
    Top 300 systems statistics overview

    Statistics showing $49,678 average profit across entire 2017-2021 out-of-sample period for top 300 systems

    GSB Automation results spreadsheet

    GSB Automation spreadsheet output: F result of 6.77 (out-of-sample net profit / drawdown)

    3
    Step 3: Create and Analyze Families

    Group similar systems to find stable strategies:
    • Put all Favorite D systems into family groups
    • Each family = variations of same core strategy
    • Look for families where most, ideally all, members have good out-of-sample results; ideally at least 3 members
    • Reject families with inconsistent member performance

    Trademaid's warning: families are sorted by member count and then fitness, so the first member you see is automatically the best of its family. Choosing it "is going to lead you the user, to over estimate how good the GSB systems are". Either build without families, or look at all the members down to the last (worst) one.
    Family expansion view

    67 systems in Favorite D organized into 9 families—top family has 41 members (parameter variations)

    Family 1 average fitness

    Family 1 average fitness: 67,819,286—highest member count and best average performance

    Example of bad family results

    Family 3 from a different setup: 4 of its 8 members performed poorly, so reject families like this

    4
    Step 4: Extend Out-of-Sample Testing

    Verify systems work on most recent data:
    • Change Dts to "All" and push the global end date past the end of your data (2023-02-28 in the example; the data ran to 5 May 2022)
    • Select all systems in chosen families
    • Verify average fitness stays high
    • Check that most family members remain profitable
    • Review equity curves for linearity and drawdowns
    Extended out-of-sample date adjustment

    Dts changed to All, with the global end date pushed past the end of the data, to test on data after the training end

    Worst member of Family 1 over the full dates

    The worst of the 41 members of Family 1 over the full dates: about $208k net profit and $14.6k drawdown (the top member: $214k and $12.1k)

    5
    Step 5: Walk-Forward Final Candidates

    Generate fresh performance data on your finalists:
    • Select top members from best families
    • Criteria: highest member count + highest average fitness
    • Walk-forward these systems one final time
    • Examine curves for tight, parallel lines
    • Look for high anchored and rolling stability scores

    Systems that pass this are candidates for the final checks below and in TradeStation, not proof of future results.
    Final walk-forward analysis

    Walk-forward curves showing parallel lines and high stability scores (no slippage or commission yet)

    6
    Step 6: Validate Each Indicator (Recommended)

    Final check to ensure all components work:
    • Test each indicator individually in final systems
    • Comment out all others, test one at a time
    • Verify profitability after last training date
    • In the example the training ended 28 Feb 2021, so check from March 2021
    • Remove any indicators that fail on recent data

    This catches components that helped in optimization but fail on fresh data.

    Build this yourself: Practical Build 3, Index futures day trading: Nasdaq

    Free for members

    Every step in GSB, one at a time: the settings file, the macros, the run, reading the stats and choosing candidates.

    Results & Insights

    In Trademaid's Nasdaq example (entry mode AnyIndicatorCrossed), the top 300 systems averaged $49,678 net profit over the whole March 2017 to February 2021 out-of-sample period (Statistics F), and the GSB Automation spreadsheet recorded an F result of 6.77 (out-of-sample net profit / drawdown). The 67 systems in Favorites D formed 9 families; Family 1 had 41 members with an average F-F fitness of 67,819,286, higher than Family 2.The top member of Family 1 made about $214k net profit with $12.1k drawdown over the full dates; the worst of the 41 made about $208k with $14.6k drawdown. Family analysis can flag parameter sensitivity: when a family's members vary widely (some profitable, some losing), avoid it. Trademaid also cautions that out-of-sample results depend heavily on market conditions: March 2021 to May 2022 "were exceptionally good times for the nasdaq". These are hypothetical back-test results without commission or slippage. Update from the forum: Peter Zwag (GSB's developer) now looks only at Statistics A (in-sample) and F (the whole out-of-sample period). He says B to E cost CPU time, and one year on its own doesn't tell you much (December 2023). The in-sample end of 28 Feb 2017, and leaving data after February 2020 out of builds, are deliberate, so the volatility of 2020 to 2022 isn't curve-fitted. AnyIndicatorCrossed is used on NQ and ES because it has no weights, which means fewer combinations and more stable parameters.

    Members only
    Peter's updates: fitness (2021-22) and tuning the build macro for a new market (2023)

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

    Key Takeaways

    Two-pass optimization (indicators first, then systems) prevents overfitting while ensuring quality components

    Multiple out-of-sample periods (yearly splits) catch systems that only work in specific market conditions, though Peter now reads only Statistics A and F (2023)

    Look at every member of a family, down to the worst: you want most, ideally all, to be profitable

    Prefer families with many members and a high average fitness over a single standout system

    Entry mode differs by market: this Nasdaq example used AnyIndicatorCrossed, Trademaid's Dec 2019 note suggested crossover dual for S&P 500 day trading and compare2 for crude oil, and its S&P 500 swing systems use Compare2

    Extended out-of-sample verification (data through current date) is the final reality check before considering live trading

    Terms used here

    F-F
    The fitness score over the full period. In GSB's results grid, columns ending in -F are full-period figures (for example PF-F is profit factor, full period). "Avg. B F-F" is the average F-F of the out-of-sample period B.
    Favorites (A to D)
    GSB's four shortlists of systems. In Trademaid's macros the performance filters get tighter from A to D, so Favorites D holds the fewest, strongest systems.
    Families
    A group of systems that use the same indicators with different parameters (right-click, Create/Update Family). A family with many members, most of them good, suggests the idea doesn't depend on exact parameters. The first member shown is the best of the family, so look at all of them.
    Walk-forward (WF) and out of sample (OOS)
    Out-of-sample data is data the system was not built on. A walk-forward repeatedly re-optimises on one window and tests on the next unseen window, so you can see how the system copes with data it hasn't seen.

    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.

    Try this yourself

    Follow the same steps on your own market. Start with these Strategy Guide pages, which have the exact settings and clicks:

    1. 1Building Strategies
    2. 2Macros Overview
    3. 3Selecting Systems

    Also used in this case study: Walk-Forward Optimization, GSB Automation

    Want to build this yourself? Practical Build 3: Index futures day trading: Nasdaq takes you through it in GSB, step by step (free with a GSB Pro account).

    Start your free 14-day GSB trial on Trademaid and apply the same processes to your own markets.