Nasdaq Futures (NQ)
    23 Hours/Day, 5.5 Days/Week

    Building Nasdaq Swing Systems on 23-Hour Data

    In brief

    The goal
    Build long-only Nasdaq swing systems that trade 23 hours a day, 5.5 days a week.
    What Trademaid did
    Trademaid chose indicators in two passes, set Dates Mode to All to see results after the training end, walked the systems forward, checked each indicator on its own in TradeStation, and optionally optimised the profit target and break-even stop.
    What it shows
    How Trademaid picks systems by their walk-forward curves and stability, and removes indicators that don't hold up on their own.
    Main caveat
    The TradeStation figures ($249,165, $255,440, profit factor 2.32) have "one extra non GSB filter added", include no slippage and run only to October 2023. They are hypothetical back-tests, not GSB output alone.

    Want to build this yourself? Practical Build 6: Nasdaq 23-hour swing systems takes you through it in GSB, step by step (free with a GSB Pro account).

    Scenario

    Trademaid's November 2023 methodology update: building long-only Nasdaq (NQ) swing systems on 23-hour data, 5.5 days a week, using a two-pass indicator method, family selection and per-indicator checks in TradeStation.

    Most GSB examples use day-session data. This November 2023 update builds long-only swing systems on Nasdaq futures using 23-hour data (NQ.30.24HOURFROM1MIN, 30-minute bars built from 1-minute data), 5.5 days a week. The example was built in GSB 1.0.66.47 (October 2023). Trademaid notes these builds are slow (roughly three times more bars per day than an 8:30-15:00 system) and use about 10 GB of memory per worker. The challenge is the same as always: separating systems that keep working on unseen data from those that only fit the past.

    Approach

    1
    Step 1: Two-Pass Indicator Discovery

    Find the indicators that suit 23-hour NQ:
    • First pass: run Macro M1 (greenMax10)
    • It builds systems and selects the top indicators for the next pass

    Second pass:
    • Run Macro M2 (NW-GC-v2023.11.02.1) with the reduced indicator set
    • Systems are saved into Favorites (300, 17, 7, 1 in the example)
    GreenMax10 macro setup

    Macro M1 (greenMax10) runs the first indicator-discovery pass

    Systems in Favorites after building

    After the build, systems are saved into Favorites (300, 17, 7, 1)

    2
    Step 2: Check the Key Settings

    Settings from Trademaid's page (all in the supplied settings file):
    • Long only
    • Entry type: any indicator stop (Trademaid's wording)
    • $1,250 stop and $2,500 profit target
    • Exit mode SFR (secondary filter reverse)
    • SF Indicator (secondary filter): CloseLessPrevCloseDBpv, not normalized, rather than GeneticAlgorithm (which uses normalized indicators)
    • No filter or tertiary filter
    • Entries between 9:00 and 15:00, but exits any time the market is open; nth 20
    • 3 indicators per system in the example
    Secondary filter settings for 23-hour systems

    SF Indicator set to CloseLessPrevCloseDBpv instead of GeneticAlgorithm

    3
    Step 3: Extend the Dates and Select Systems

    • Select all systems in Favorites B (click, then Ctrl+A)
    • Right-click > Dates Mode > All, and re-backtest so the results include data after the training end
    • Create families (right-click > Create/Update Family)
    • Walk-forward your candidates and examine the curves
    • Choose systems with high anchored and rolling stability scores
    • Good sign: the WF OOS (brown) curve stays close to and parallel with the training curve
    • Red flag: curves that diverge more and more over time
    Example of good walk-forward curves

    Good walk-forward: the WF OOS (brown) curve stays parallel with the training curve

    Example of poor walk-forward curves

    Poor walk-forward: large divergence between curves that grows over time—reject these systems

    4
    Step 4: Test Each Indicator Individually

    Check every indicator pulls its weight (Trademaid: for advanced users, but highly recommended):
    • Copy the system to TradeStation (Scripts tab, TradeStation - LiveTrading / WF)
    • Add // in front of 2 of the 3 indicators so only one is active
    • Look at the performance metrics; if they are poor, leave that indicator's line commented out
    • Repeat for each of the other indicators
    • Check the results after 1 March 2022, which GSB has not seen, and confirm they are profitable
    Individual indicator testing setup

    Add // in front of 2 indicators and test the curves in TradeStation

    5
    Step 5: Optional Enhancements in TradeStation

    • Make the profit target an input and optimise it first (tested from $2,250 to $7,000)
    • Then add a break-even stop as an input (bestop) and optimise it (Trademaid's test ran $250 to $2,950)
    • Beware: Trademaid says larger profit targets tend to curve-fit to a few days with massive wins, which is why the default settings don't use them
    Break-even stop implementation

    Adding a break-even stop input (bestop) in the TradeStation code

    Results after profit target optimization

    TradeStation optimisation of the profit target from $2,250 to $7,000 (no slippage, one extra non-GSB filter, data to October 2023)

    Build this yourself: Practical Build 6, Nasdaq 23-hour swing systems

    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 example, the selected system's walk-forward showed Params. Rol. Stab. Coarse 58 and Params. Anc. Stab. Coarse 56, with the WF OOS curve tracking the training curve. In the TradeStation optimisations, the highest net profit came with a $4,250 profit target ($249,165) and a $1,450 break-even stop ($255,440), while a $750 break-even stop gave the higher profit factor (2.32). Trademaid notes that these results "do not include slippage, are up to October 2023 and have one extra non GSB filter added", so they are not what GSB alone produced. They are hypothetical back-test results, and the profit-target test is exactly where curve-fitting can creep in. Trademaid also reports that this method gave very significantly lower results on the S&P 500, and that a Nasdaq system did not go so well on Russell 2000 and Dow futures. Update from the forum (late 2023 to early 2024): Peter Zwag (GSB's developer) later found 20 and 60-minute bars work as well as 30-minute bars on this data. Start the TradeStation chart and the GSB data on the same date so the results line up. On 23-hour data, CloseD is the close at midnight (or the Sunday open), not the 3 pm close. In November 2023 he reported a bug in the Hull MA filter on 23-hour data, so check the release notes for your build. The supplied settings install by running Click-on-this-to-install.bat.

    Members only
    Peter's update: getting low-correlation systems from one market (2023)

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

    Key Takeaways

    23-hour data can be used for swing systems, not just day-session systems

    Use the two-pass method: find the best indicators first, then rebuild with them

    Extend Dates Mode to All so you can see results after the training end

    Look for walk-forward curves that stay parallel; reject diverging ones

    Test each indicator on its own in TradeStation and leave any weak indicator commented out

    Optimising profit targets and break-even stops can help, but can also curve-fit

    On 23-hour data, CloseD means the midnight or Sunday-open close, not the 3 pm close

    Terms used here

    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.
    Astab-C / PAS-C
    Anchored parameter stability (coarse) from a walk-forward. It shows how steady the best parameters stayed across the anchored walk-forward runs; higher is better. Shown as Params. Anc. Stab. Coarse on the chart. PRS-C (Params. Rol. Stab. Coarse) is the rolling version.
    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. 3Walk-Forward Optimization

    Also used in this case study: Selecting Systems

    Want to build this yourself? Practical Build 6: Nasdaq 23-hour swing systems 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.