Interface Reference & Advanced Features

    A guide to GSB's interface panels, menus and settings, with annotated screenshots organised by area. Screenshots come from several GSB builds, so labels may differ slightly from your version. In GSB, click a setting or hover over it to read its description box.

    How to Use: Each section below shows an overview with key features. Click "View Screenshots & Details" to expand comprehensive documentation with annotated screenshots and detailed explanations.

    Day one: what to change

    This page explains every setting, but you don't need to change them. On day one (lesson 3):

    • Change only Preferred Target Platform (Strategy section) to the platform you trade.
    • Leave every other row as the settings file loaded it.
    • Values for your first build are on Building Trading Strategies.
    • Values for your first walk-forward are on Walk-Forward Optimization.

    Left Side Menu

    GUI Panel

    Visual Customization

    The GUI section labels your project: Header Text, Icon Text, Icon Color and Comment. These are cosmetic and help you tell projects apart.

    Interface Appearance

    These project labels are separate from the application-wide GUI options in Tools → App Settings.

    The GUI section labels this project inside GSB. These settings are cosmetic only – they don't affect the trading logic or optimization – but they make it much easier to keep multiple projects organized.

    GUI panel showing Header Text (Nat_Gas), Icon Text (NG2), Icon Color (128, 255, 255), and Comment (NG40%InSample)
    GUI Section: Workspace labeling controls including Header Text, Icon Text, Icon Color, and Comment fields for visual organization.

    Header Text

    The main title for this system.

    • Example: Nat_Gas
    • Use something descriptive like market + timeframe or version: ES_Daily_v3

    Icon Text

    Short code shown in the small icon at the top left of the GSB window.

    • Keep it short (for example: NG2, ES, CLH)
    • Ideal for quick identification when multiple instances are open

    Icon Color

    Background color of the small GUI icon.

    • Helps visually group related systems (for example, all Nat Gas systems in light blue, all Equity systems in green)
    • Shown as an RGB value, e.g. 128, 255, 255

    Comment

    Free-form notes for this system (for example: NG40%InSample, ES 10m Breakout, Stock Long-Only).

    • Use it for version tags, data ranges or any other reminder

    Important Note: These GUI settings are cosmetic workspace labels only and do not affect trading logic, optimization algorithms, or backtest results. They are separate from the application-wide GUI options in Tools → App Settings → GUI.

    Strategy Panel

    Strategy Building

    Controls how systems are built: target platform, # of indicators (the description box recommends 3, maximum 5), entry modes, entry order, the secondary filter (SF) and the built-in and custom indicators GSB may use.

    Building Blocks

    The secondary filter (SF Indicator) is set per market. Peter Zwag (GSB's developer) now recommends (July 2025) the non-normalized CloseLessPrevCloseDBpv, chosen directly, for stock indices, and the normalized version (through GeneticAlgorithm) for energies. For other markets, test the SFs one at a time.

    Parameter Ranges

    Params., WF Params. and AI Params. show the parameter ranges GSB searches during the build, walk-forward and AI WF analysis.

    The Strategy section controls how GSB builds and evaluates a trading system for futures or stocks before exporting code to TradeStation, MultiCharts, or NinjaTrader.

    Note: These options change how systems are searched for and structured. They do not change your price data or broker settings.

    Basic Settings

    Strategy panel basic view showing Preferred Target Platform, # of Indicators, Entry Modes, and SF (secondary filter) settings
    Strategy Panel - Basic View: Target platform, number of indicators, entry settings and secondary-filter (SF) options.

    Preferred Target Platform

    The platform GSB writes code for (TradeStation, MultiCharts, NinjaTrader). It is more than a code-syntax choice. From build 65.22 GSB stops you building with indicators or features your platform can't run, and from 75.94 the settings editors only list items that work on it. Set it before you build.

    # of Indicators

    Number of indicators in the system. GSB's description box says three is recommended, with a maximum of five. Older tutorial notes suggested 5 may be preferred; Peter Zwag (GSB's developer) now uses 3 as his default for both the indicator pass and the build, and is not in favour of 5 unless your own benchmark proves it better. Systems with 4 or 5 indicators also need much larger walk-forward GA settings.

    PrimaryFilters

    True in these screenshots. Trademaid's help doesn't describe this setting; check its description box in GSB.

    Entry Modes

    The style of entry signal GSB may use (e.g. Cross). Entry mode is one of the "setup" choices, with session time and secondary filter, that Trademaid compares when choosing a system.

    • Compare1: trades when the combined indicator result is above zero. Peter has never seen it hold up well out of sample.
    • Compare2: multiplies each indicator by its weight (indicator1 × weight1 × indicator2 × …) and trades when the result crosses the entry level.
    • Compare3 (build 62.x): Compare2 with the weights and entry level fixed at zero, so only the sign of the result matters.
    • Cross / CrossSingleLevel / CrossDualLevels: cross-style entries. Entry Params 2 is only used by the dual cross.
    • AnyIndicatorCrossed (AIC): trades when any indicator crosses. Weights are fixed at 0. An indicator shown as GSB_Zero is an unused slot. An indicator that never fires can still ride along in the code, so test each one in TradeStation.
    • AICW (build 69.28): AIC with variable weights.
    • NoConflictsCross: another cross variant with weights fixed at zero.

    Peter's rule: enable one entry mode per build and test each mode separately.

    Weights Mode

    How indicator weights are treated when multiple indicators are combined. SignedPower lets indicators contribute with different strength and direction.

    • Peter's defaults: AIC weights are 0. For Compare2 he finds a weight range of 0 to 2, step 0.5, works better.
    • Never allow 0 in a power weight range: anything to the power of 0 is 1, so the indicator does nothing.
    • Keep every indicator's weight range identical. A blank weight 3 range is a common mistake.
    • If you don't understand these settings, leave the defaults from the supplied settings file.

    Entry Level Mode

    How entry thresholds are calculated from normalized indicator values (e.g. Power mode uses a powered scaling).

    EntryLevelValue

    Number that works with Entry Level Mode to define how strong a signal must be before an order is placed (higher = stricter).

    Entry Order

    Which entry-order template is currently active. Example: a specific Pivot/Camarilla stop or stop/limit structure.

    • Stop, limit and pivot entry orders arrived from build 69.26 (2025): for example a buy stop at the highest high of x bars, limit variants, CloseD(1)/HighD(1)/LowD(1) levels (69.36), 57 pivot types, and PivotOriginalStop types (70.65).
    • Peter tests these one at a time and expects most to be useless. On NQ and GC one order type was clearly best, but it was a different one on each market. Adding tick offsets did not help.

    SF Mode

    Secondary-filter mode. Enabled turns on the secondary filter (SF). Older builds label this "Secondary-Filter Mode".

    SF Indicator

    The secondary-filter indicator, e.g. GeneticAlgorithm or CloseLessPrevCloseD (today's close less than the previous day's close). Trademaid: secondary filters are critical to get right for each market. The SF Indicator for each market can also be set in Tools → Contracts List.

    • "Normalized" in GSB means scaled to roughly −100 to +100 over the last 100 bars. CloseLessPrevCloseDBpv picked directly is not normalized. The same filter picked through GeneticAlgorithm is normalized.
    • Older guides said stock indices suit CloseminusCloseDBPV and most other markets use GeneticAlgorithm. Peter's July 2025 advice: stock indices use the non-normalized CloseLessPrevCloseDBpv (chosen directly); energies use the normalized version (through GeneticAlgorithm). For other markets, test the SFs one at a time.
    • From build 69.9x there is also a normalized CloseLessPrevCloseDBpv filter and a normalized CloseLessOpenD filter.
    • "Secondary filter" has nothing to do with Data2. Entry modes apply only to the primary indicators, not the SF.

    SF Entry Modes

    Which entry modes the secondary filter may use. Example: 2 / 2 enabled: Compare1, Compare2.

    Leave both Compare1 and Compare2 on. That was the hidden default for years, before the setting became user-adjustable in August 2021. Compare1 triggers more easily. If you research secondary filters, test each mode per market.

    SF DataN

    Which data stream(s) the secondary filter uses (All in the screenshot).

    # of Filters

    Number of additional filters on top of the main entry logic (0 in the screenshot).

    A system has three layers: the indicators make the signal, the secondary filter decides its direction, and Filters add a third condition that must also be true before a trade is taken.

    Filters

    Summary of which filters are in use vs. available. Example: 0 (FU: 0) / 26 filters where FU = filters currently used.

    • A directional idea (an RSI-type indicator) suits the secondary filter. A volatility idea such as ATR suits a Filter: high ATR allows trades, low ATR blocks them.
    • You can enable All trades alongside other filters and let the GA choose whether a filter helps.
    • Time Period 1/2/3 filters are single bar start times.
    • The ATR Trend Reversal filter (2026) needs Data2 set to daily bars with the SF turned off.
    • An Opening Range Breakout filter and stop were also added in 2026.

    Operators (advanced / Alpha user mode)

    How indicator values are joined. Older guides (2019) suggested +; Peter now uses multiply (*) only (2021–2022).

    • + needs completely different weights and entry levels, and Peter has never found it better.
    • Mixing + and - asks for bullish and bearish indicators at once, which is worse and slower.
    • With *, an indicator that returns zero cancels the whole product, so a dead indicator can't sit in a system.
    • Operators, Normalization and Sign modes may be locked unless you use Alpha user mode (available to purchasers).

    Force (indicator list)

    Setting Force to True for an indicator puts it in every system. You can't force more indicators than # of Indicators. Peter never forces indicators: making GSB find something with a chosen indicator defeats the purpose of letting it search.

    Remove duplicate/redundant indicators

    Default True from build 67.24. GSB swaps redundant indicators for their primary versions.

    • Avoid RoofingFilter1Pole, NormalDensity and the old MACD, Detrend and Chaikin indicators. Use the Diff versions instead.
    • PercentR Lng/Sht/Med/Vlng share the same code and only differ in their parameter ranges.
    • Changing an indicator's parameter ranges breaks compatibility with systems you have already saved.

    Order Action

    When orders are sent. ThisBarOnClose = place orders at the close of the current bar.

    Stops

    Stop types available and how many are enabled (e.g. 0 / 6 stops: StaticStop, TrailingStop…).

    Targets

    Profit-target types available and how many are enabled (e.g. 0 / 3 targets: StaticTarget, TrailingTarget…).

    Params

    Overview of the parameter ranges for indicators and their weights. These ranges define the search space for optimization.

    Advanced Settings

    These show when advanced options are enabled.

    Strategy panel advanced view showing Built-In Indicators, Custom Indicators, Normalization Modes, and WF Params
    Strategy Panel - Advanced View: Additional settings including built-in/custom indicators, normalization modes, walk-forward parameters, and custom indicator parameters.

    Built-In Indicators

    Which built-in indicators GSB may use for the main entry logic and for the secondary filter (SF). Example: Main: 70 (FU: 0), SF: 1 (FU: 0) / 115 indicators.

    Custom Indicators

    Custom indicators added to GSB (see Tools → Custom Indicators), which can be used alongside the built-ins.

    Peter (2023) doesn't recommend them unless you are very experienced and have a superb indicator. Custom indicators don't take part in the indicator statistics or the green-indicator macro, and they have had problems on workers and in walk-forwards. If you want a public-domain indicator, ask Trademaid to add it as a built-in.

    Normalization Modes

    How indicator values are normalised before being combined. Example: 1 / 6 norm-modes: AdaptiveRange.

    • Older guides (2019–2025) favoured CenterScaling2 or HighestLowest2. Peter now (late 2025–2026) uses Sigmoid or ZScore (ZScore50), one at a time, never both together. He finds the older modes nowhere near as good. The best mode varies by market.
    • BollingerPosition and StochRsiSmoothed arrived in build 70.65 (March 2026, possibly for beta testers first). Peter found BollingerPosition good on gold and StochRsiSmoothed good on NQ.
    • Never use HighestLowest3 or CenterScaling3. They don't match TradeStation/MultiCharts, and results change with the chart start date.
    • Every extra mode multiplies worker RAM use and slows the cache. Turning all modes on gives worse out-of-sample results and slower builds.

    Filters Normalization Modes

    Same idea as Normalization Modes, but applied to filter inputs only (e.g. CenteringScaling2).

    The same rules apply: one mode at a time, never HighestLowest3 or CenterScaling3, and each extra mode costs worker RAM and speed.

    WF Params

    Parameter ranges used during walk-forward testing, including whether each parameter is fixed in the walk-forward (Is WF Fixed).

    AI Params

    The parameters analysed by the AI WF tab, with the number of steps above and below each value (edited in the AnalysisParameter Collection Editor).

    Custom Indicator Parameters

    Parameter ranges for the indicator functions listed here (ATR, AverageFc, CCI, Adx, AdxR and others in the screenshot).

    Strategy Configuration: The Strategy panel defines the structure of the systems GSB searches for. Basic settings control the fundamental search parameters and logic structure, while advanced settings provide fine-grained control over indicator libraries, normalization techniques, and walk-forward adaptation behavior.

    Data Management

    Data Panel

    Selects the price data GSB builds on (Opt. Price Data), trades on (TPD), verifies on and walks forward on.

    Datasets & Symbols

    Symbols and their specifications (ticks, point value, exchange time) are set in Tools → Contracts List; price data sets are created in the Price Data window.

    The Data section tells GSB which price files to use for optimization, verification, trading, and walk-forward testing.

    Tip: You normally set these once when you create a project, then reuse the same setup for all strategy runs on that market.

    Basic Settings

    Data panel basic view showing Public Data Directory, Opt. Price Data, Enforce Multi Price Data, and Optimize WF Price Data settings
    Data Panel - Basic View: Public Data Directory, Opt. Price Data, Enforce Multi Price Data, Verf. Price Data Groups and Optimize WF Price Data.

    Public Data Directory

    The folder that holds your data files. It is also set in Tools → App Settings → Data.

    Examples from screenshots: Data, or a full path such as D:\dropbox\GSB\Data. Your price files go in the Price Data folder inside it (Trademaid's guide uses C:\GSB\Data\Price Data).

    Opt. Price Data

    The price data GSB builds systems on. Older guides built on several bar intervals at once (e.g. 29, 30 and 31 minute bars made from 1-minute data). Peter Zwag (GSB's developer) now builds on a single interval (since 2022); building on several is slower, uses more RAM and isn't needed with the current methodology.

    Example: NG:Data1: ng\NG.1.minute.2007-20250610.tickVol.txt.

    All fitness, equity, and statistics during optimization are based on this data.

    Enforce Multi Price Data

    When set to True, candidate systems must work on all enabled price-data groups (for example, multiple contracts or time ranges).

    This is a robustness check; leave it False if you are only using one data series.

    Verf. Price Data Groups

    Lists which additional price-data groups are used for verification (out-of-sample) testing.

    Verification data is added the same way as price data. Right-click a system and click Verify to test it on these groups.

    Optimize WF Price Data

    The walk-forward counterpart of Optimize Price Data (see below). False in these screenshots.

    Older notes said it wasn't yet known whether to walk forward on several bar intervals (e.g. 29, 30, 31 minutes) or just the central one. Peter now says one interval is enough with the current methodology. If you do use several, pick the centre one for WF TPD and list the interval you trade first.

    Advanced Settings

    Advanced mode exposes extra data links used for trading and WF.

    Data panel advanced view showing TPD (Trading Price Data), Auto Verify Systems, WF Price Data, and WF TPD settings
    Data Panel - Advanced View: Additional data configuration for trading price data, automatic verification, and walk-forward testing parameters.
    Detailed Data panel showing multiple price data entries, TPD configuration with explanation, verification groups, and WF settings
    Data Panel - Older Build: Opt. Price Data on 29, 30 and 31 minute ES bars, Optimize Price Data False, TPD selected (with its description box below), verification on 25–35 minute bars, and WF Price Data / WF TPD on 30 minute bars.

    Optimize Price Data

    Default is False: GSB builds systems on all selected price data streams using the same parameters. If True, each system is built on only one time frame, with the best time frame chosen genetically (shown in some builds as Optimize Opt. Price Data).

    Peter found that optimising the data streams never improved his systems, and it needs far more walk-forward iterations. Leave it False, along with Optimize WF Price Data.

    TPD (Trading Price Data)

    The price data you will actually trade. If you build on 29, 30 and 31 minute bars but only trade 30 minute bars, choose 30 minute here.

    GSB's description box: if multiple price data are selected and "Optimize Price Data" is False, TPD is the price data used in systems' save, Portfolio Analyst export, in the GUI (if enabled) and finally live trading.

    Default is the first selected price data.

    Auto Verify Systems

    When True, systems are verified automatically instead of by right-clicking and choosing Verify.

    Trademaid's notes: a system that passes verification on other bar intervals and on noise-added data is more likely to work out of sample. The verification performance filter defaults to profit factor 1.8 and Pearson 0.85. Peter's later tests (2023–2024) found noise-added data and nearby intervals such as 29 or 31 minutes poor predictors; clearly different intervals (15, 20, 40 and 60 minutes for a 30-minute system) did much better.

    WF Price Data

    The price data used for Walk-Forward testing.

    You can walk forward on 29, 30, 31 minute bars, or just 30 minute bars. Peter uses just the one interval you trade.

    WF TPD

    The Trading Price Data for walk-forward results.

    If you walk forward on multiple time frames, choose the central one. If you use multiple markets, choose the primary one.

    Data Configuration: The Data panel defines which price files drive optimization, verification, and live trading. Basic settings handle the core optimization data source, while advanced settings provide fine-grained control over trading data, automatic verification, and walk-forward testing parameters.

    Optimization

    Optimization Panel

    Sets the optimizer type and how the data is split into Training, Test and Validation segments.

    Training/Test/Validation Splits

    Training % is the in-sample data the system is built on; Test % is out-of-sample. Test @ Beginning moves the test segment to the start of the data.

    The Optimization section controls how GSB splits your historical data for training and testing, and which engine is used to search the parameter space.

    Reminder: The percentages refer to the Opt. Price Data series selected in the Data panel. Training %, Test %, and Validation % should add up to 100.

    Basic Settings

    Optimization panel basic view showing Training % (40), Test % (60), and Validation % (0)
    Optimization Panel - Basic View: Data split configuration with 40% training, 60% testing, and 0% validation.

    Training %

    Percentage of the data used for training (in-sample).

    The optimizer fits indicator parameters on this segment only.

    Test %

    Percentage of the data used for testing (out-of-sample).

    Systems are not fitted on this segment; it is used to see how well they generalize beyond the training data.

    Validation %

    Optional third segment used as a final hold-out.

    If set above 0, this slice is not used for fitting and can be used for extra robustness checks or ranking.

    Advanced Settings

    Optimization panel advanced view showing Optimizer Type (GeneticAlgorithm), Training % (40), Test % (60), Test @ Beginning (False), and Validation % (0)
    Optimization Panel - Advanced View: Complete optimization configuration including Optimizer Type, data splits, and Test @ Beginning setting.

    Optimizer Type

    The algorithm GSB uses to search the parameter space.

    GeneticAlgorithm evolves candidate systems over many generations to find robust parameter sets.

    Test @ Beginning

    Controls where the Test % segment is placed in the data:

    • False – Training is at the beginning and Test is at the end (e.g. first 40% = Training, last 60% = Test)
    • True – Test is at the beginning and Training is at the end (useful if you prefer to train on the most recent data)

    Peter Zwag (GSB's developer) leaves it False, because recent years matter most to him and he wants them out of sample. He has never used True.

    Data Split Strategy: The Optimization panel controls how historical data is divided between training (in-sample fitting), testing (out-of-sample validation), and optional validation (final hold-out). The Genetic Algorithm optimizer searches the parameter space to discover robust trading systems that perform well on both training and test segments.

    Genetic Algorithm

    Genetic Algorithm Settings

    Sets Generations, Population and Restarts for the genetic search, plus (in advanced view) Random Seed, Max. Crossover Attempts and Early-Stop Reset-and-Restart.

    Mutation & Crossover

    More generations, population and restarts search more combinations but take longer. Trademaid's older tutorial example was 1000 × 200 × 10 = 20 million combinations.

    The Genetic Algorithm section controls how the GA engine searches for good parameter sets for your strategy.

    Tip: Larger values usually mean a deeper search but also longer run times.

    Basic Settings

    Genetic Algorithm panel basic view showing Generations (25), Population (200), and Restarts (5000)
    Genetic Algorithm Panel - Basic View: Core GA parameters with 25 generations, population size of 200, and maximum 5000 restarts.

    Generations

    Number of generations the GA will evolve.

    More generations = more refinement of solutions.

    Population

    Number of candidate systems in each generation.

    Higher populations explore more of the search space per generation.

    Restarts

    Maximum number of GA restarts allowed.

    A restart clears the current population and begins a fresh search, which can help escape local optima.

    Build 70.15 added Number of Systems before Restart (advanced). After the generations finish, GSB restarts with a new seed. Builds can plateau after a restart, and a large population slows builds a lot.

    Advanced Settings

    Genetic Algorithm panel advanced view showing all settings including Random Seed, Max. Crossover Attempts (1000), and Early-Stop Reset-and-Restart (100)
    Genetic Algorithm Panel - Advanced View: Complete GA configuration including Random Seed, Max. Crossover Attempts, and Early-Stop Reset-and-Restart settings.

    Random Seed

    Optional fixed seed for the GA's random number generator.

    Set this to a specific number if you want runs to be repeatable; leave blank for different results each time.

    Max. Crossover Attempts

    Upper limit on how many times the GA will try to create a valid "child" system during crossover before giving up.

    Helps control time spent when many combinations are invalid.

    Early-Stop Reset-and-Restart (%)

    If progress stalls and the population improvement falls below this percentage threshold, the GA can stop early and trigger a restart.

    This can shorten runs when the search is no longer improving meaningfully.

    Evolutionary Search Strategy: The Genetic Algorithm panel controls the evolutionary search process that discovers robust parameter sets. Configure generations, population size, and restart behavior to balance search depth with computation time. Advanced settings allow fine-tuning of reproducibility (Random Seed), crossover efficiency (Max. Crossover Attempts), and early stopping criteria.

    Walk-Forward Analysis

    Walk-Forward Panel

    Sets how GSB walk-forward tests a system: random-space tests, GA generations and population, OOS %, Runs, Nearest %, and whether stop-loss and profit target are optimised.

    Period Configuration

    In GSB the data is divided into segments (10 in Trademaid's example): parameters are optimised on one segment and tested on the next, and this repeats. The Anchored setting controls whether the in-sample start stays fixed.

    Walk-Forward Results

    Walk-forward results appear in the Walk-Forward grid tab. Trademaid looks for stable parameters: an anchored stability score above 40 is best.

    The Walk-Forward section controls how GSB performs walk-forward (WF) testing and, optionally, re-optimizes systems for each WF window.

    Concept: Walk-forward testing simulates a more "live" process: optimize on one segment, trade the next segment, then roll forward and repeat.

    Basic Settings

    Walk-Forward panel basic view showing # of Random-Space Tests, GA Generations, GA Population, OOS %, Runs, Nearest %, Optimize Stop-Loss and Optimize Profit-Target
    Walk-Forward Panel - Basic View: the rows of the Walk-Forward section. The numbers in this screenshot are one example from an older build, not values to copy. For your first walk-forward use GA Generations 120, GA Population 120, Nearest % 60 — see Walk-Forward Optimization.

    # of Random-Space Tests

    Only used by a Random Space walk-forward. Your first walk-forward uses Genetic, which Trademaid says is the default walk-forward method, so this row isn't used.

    Leave it on its default (10,000 in Trademaid's newer screenshots).

    GA Generations

    Number of genetic-algorithm generations used inside each WF optimization window.

    Controls how deeply each window is optimized. Peter Zwag (GSB's developer) treats 100 as the minimum: too few generations lower stability and make identical walk-forwards disagree. For a final check, raise it until repeated walk-forwards agree.

    GA Population

    Number of candidate systems in each WF optimization generation.

    Higher populations = more exploration per window. Use at least 100 (so 100 x 100 with GA Generations). The Enhanced Walk-Forward Optimizer can't change these values, so set them in GSB.

    OOS %

    Percentage of each WF window reserved for out-of-sample trading ("walk-forward" segment).

    Example: with 20% OOS, 80% of the window is optimized, 20% is traded and evaluated.

    Runs

    Number of walk-forward windows (steps) to perform.

    More runs give a longer WF equity curve but require more computation. Leave it on 10: Peter never uses anything else.

    Nearest %

    When using a "nearest" search space (see Search Space below), this controls how close candidate parameters must be to the base solution.

    Smaller values = tighter neighborhood around the original parameters.

    Optimize Stop-Loss

    If True, WF optimization can adjust stop-loss parameters per window.

    If False, stop-loss settings remain fixed across all WF runs.

    Optimize Profit-Target

    If True, WF optimization can adjust profit-target parameters per window.

    If False, profit-target settings remain fixed across all WF runs.

    Advanced Settings

    Walk-Forward panel advanced view showing all settings including Anchored (True) and Search Space (Nearest)
    Walk-Forward Panel - Advanced View: Complete WF configuration including Anchored mode (True) and Search Space (Nearest) settings.

    Anchored

    When True, the in-sample portion of each WF window is anchored at the start of the data and extended forward (growing window).

    When False, GSB uses a rolling window (the IS + OOS block slides forward through time).

    GSB systems consistently do better anchored. Rolling is a harder stress test, and Peter doesn't use its final parameters. Avoid rolling on systems with few trades.

    Search Space

    Defines how the WF optimizer chooses which parameters to explore:

    • Nearest – focus on parameter sets near the original/global solution
    • Other modes (when available) may search a wider or more random space

    Walk-Forward Validation Strategy: The Walk-Forward panel simulates realistic trading conditions by repeatedly optimizing on one data segment and testing on the next. Configure window sizes (OOS %), number of runs, search space parameters, and anchored/rolling window modes to validate system robustness across multiple time periods.

    Position Sizing & Costs

    Quantity Panel

    Sets position size: Fixed Quantity with FixedShareContracts, or Capital Quantity with CapitalInvestment (better suited to stock systems).

    Costs Panel

    Sets commission and slippage and how they are applied (e.g. TradePerSide).

    Trading Periods Panel

    Sets the global start and end dates, trading dates and times, week-days, Nth Day settings and alternate date periods.

    Quantity Panel

    The Quantity section controls how many contracts or shares each strategy trade will use during testing and when code is exported to TradeStation, MultiCharts, or NinjaTrader.

    Important: Quantity settings affect position size and therefore all performance statistics (P&L, drawdown, etc.).
    Fixed-size (Basic) Example
    Quantity panel showing Fixed Quantity (1) and Quantity Mode (FixedShareContracts)
    Fixed Quantity Example: Fixed Quantity set to 1, Quantity Mode set to FixedShareContracts for simple constant position sizing.
    Fixed Quantity

    A fixed number of contracts/shares per trade.

    Example: 1 = always trade 1 futures contract or 1 share block.

    Quantity Mode

    How quantity is calculated. In this example:

    FixedShareContracts – always use Fixed Quantity for every trade.

    Use this when you want simple, constant position sizing.

    Capital-based (Advanced) Example
    Quantity panel showing Capital Quantity (10000) and Quantity Mode (CapitalInvestment)
    Capital-based Quantity Example: Capital Quantity set to 10000, Quantity Mode set to CapitalInvestment for capital-based position sizing.
    Capital Quantity

    Capital allocated per trade. Trademaid's AAPL example uses CapitalInvestment with 10,000, which is better suited to stock systems than a fixed share count.

    Example: 10000 = size each position so that roughly $10,000 is invested based on the current price.

    Quantity Mode

    In this example:

    CapitalInvestment – GSB converts Capital Quantity into the appropriate number of contracts/shares for each trade.

    Use this when you want trades sized by capital instead of a fixed contract count.

    Costs Panel

    The Costs section applies realistic trading costs to every trade so that results are closer to what you would see live.

    Tip: Always set these to match your broker and market (per-contract or per-trade) before trusting any performance numbers.
    Costs panel showing Commission (2.5), Slippage (15), Commission Mode (TradePerSide), and Slippage Mode (TradePerSide)
    Costs Configuration: Commission set to 2.5, Slippage set to 15, both modes set to TradePerSide for realistic per-side cost application.
    Commission

    Commission amount applied according to Commission Mode.

    Example: 2.5 = $2.50 per trade side when using TradePerSide.

    Slippage

    Expected slippage applied according to Slippage Mode.

    Example: 15, applied per side with TradePerSide. Use the same slippage in your trading platform when you check the results.

    Commission Mode

    How commission is charged. Common settings include:

    TradePerSide – commission amount is charged once for each side (entry and exit). A round-trip trade is charged twice.

    Slippage Mode

    How slippage is applied:

    TradePerSide – the slippage value is applied on entry and again on exit.

    Cost Estimation Best Practice: Set commission and slippage to conservative values; underestimating costs can make weak systems look profitable.

    Trading Periods Panel

    The Trading Periods section controls when a strategy is allowed to trade – by date, time of day, weekday, and optional "special" periods.

    Note: These rules apply on top of all other filters. If trading is not allowed for a bar here, no new trades will be opened.
    Basic Settings
    Trading Periods panel basic view showing Glob. Start Date (2008-01-01), Glob. End Date (2025-06-10), and Alt Dates Mode
    Trading Periods - Basic View: Global date range from 2008-01-01 to 2025-06-10, with Alt Dates Mode showing alternate period configuration.
    Glob. Start Date

    Earliest date GSB will use for this project (YYYY-MM-DD).

    Bars before this date are ignored.

    Glob. End Date

    Latest date GSB will use for this project.

    Bars after this date are ignored.

    Alt Dates Mode

    Summary of any alternate date ranges you have defined (for example, holiday periods or special tests).

    Shows whether each period is Allowed/Not Allowed and Enabled/Disabled. See the advanced explanation below.

    Advanced Settings
    Trading Periods panel advanced view showing all settings including Dates, Dates Mode (Trd), Times (03:00:00 - 14:30:00), Week-Days, Nth Day settings, and Alt Dates Mode
    Trading Periods - Advanced View: Complete configuration with primary date range, Trd mode, intraday time window, weekday settings, and Nth Day cycle controls.
    Dates

    Primary trading date range used by the strategy (e.g. 2008-01-01 - 2025-06-10).

    This is usually the same as the global dates but can be narrower if you want to exclude early history.

    Dates Mode

    How the Dates range is treated. Typical modes include:

    • Trd – trade only inside the specified date range
    • Other modes (when available) can flip the logic to "no-trade" windows
    Times

    Intraday time window when trades are allowed (e.g. 03:00:00 - 14:30:00).

    Outside this time band, new entries are blocked; exits can still occur depending on order type.

    Times only gates entries. Every bar still feeds the indicators. For a swing system the stop also only works inside this window. Peter Zwag (GSB's developer) finds allowing entries over the whole session is nearly always best; skipping the last 30 to 60 minutes is optional.

    Week-Days

    Which days of the week are allowed to trade, and for which side.

    Example: Monday (LongAndShort, True), Tuesday (LongAndShort, True), ...

    You can disable specific days or restrict a day to long-only or short-only trading.

    Nth Day/Alt Day

    Day index within a repeating cycle (e.g. 1 = the first day in each cycle defined by Nth Day/Alt Date Period).

    This can be used to create patterns such as "don't trade on the first day of each rollover cycle".

    Nth Day Mode

    Nth Day Mode works on blocks of days, not single days. With an Nth period of 80, GSB alternates 80 days in one set and 80 days in the other, across the whole data.

    • NoTrd and Trd select opposite sets of blocks. A system built on one set has never seen the other.
    • After the build, switching to the other set shows only the held-out blocks (pure out-of-sample). All shows both together, so roughly half the period is unseen.
    • The blocks the system was built on will always look noticeably better than the held-out blocks. Don't filter out the held-out results: they are the honest view.
    Nth Day/Alt Date Period

    Length of the repeating cycle, in days (e.g. 10).

    Combined with Nth Day/Alt Day and Nth Day Mode to define repeating trade / no-trade patterns.

    Alt Dates Mode (detailed)

    Lists any additional date ranges you have defined as "alternate" periods (for example, crisis windows, specific roll periods, or holidays) and how they are treated:

    • Period Allowed – whether trading is normally allowed in that alternate range
    • Enabled – whether that alternate range is currently active

    These alternate periods layer on top of the global and primary date rules to give very fine control over when the system can trade.

    Period Control Layers: The Trading Periods panel provides multiple layers of control over when strategies can trade. Global dates define the overall testing range, primary dates and times control daily trading windows, weekdays enable/disable specific days, and Nth Day cycles create repeating patterns. Alternate date periods add fine-grained control for special situations like holidays or market crisis periods.

    Trading Periods – Post Build Panel

    The Trading Periods – Post Build section controls how GSB handles trading dates after a system has been built.

    These options can automatically relax or preserve the date / Nth-day rules you used during the build phase.

    Advanced Settings
    Trading Periods - Post Build panel showing Alt Dates Mode with Period (Unchanged) status
    Post Build - Basic View: Alt Dates Mode showing Period (Unchanged) status for alternate date periods.
    Trading Periods - Post Build panel advanced view showing Auto Trading Dates Mode (blank), Auto Nth Day Mode (All), and Alt Dates Mode
    Post Build - Advanced View: Complete post-build configuration with Auto Trading Dates Mode, Auto Nth Day Mode set to All, and Alt Dates Mode status.
    Auto Trading Dates Mode

    Controls what happens to the main trading date rules once the system is built:

    • Leave blank / default – keep the original trading date settings
    • Other modes (when enabled) can automatically switch the system to trade over a different date range for reporting or export
    Auto Nth Day Mode

    Determines how Nth Day rules are treated after the build:

    • All – ignore Nth-day restrictions and allow trading on all days
    • Other modes (when available) can keep or transform the original Nth-day logic
    Alt Dates Mode

    Shows the status of all alternate date periods after the build (e.g. Period (Unchanged), etc.).

    This indicates whether each alternate period keeps its original behavior or has been modified by the auto-settings above.

    Post-Build Flexibility: The Trading Periods – Post Build panel allows you to automatically adjust date and Nth-day restrictions after a system is built. This is useful when you want to optimize on specific date ranges but then trade across broader periods, or relax Nth-day restrictions for deployment while keeping them strict during the build phase.

    Exits & Risk Management

    Exits Panel

    Sets exits: minutes or bars in trade, stop loss, profit target, times of day, MOC (market on close) and weekend exits.

    Exit Modes

    MOC (Market On Day Close) True exits all trades at the end of the day; set it to False to build swing systems that hold overnight.

    The Exits section defines how and when open trades are closed.

    Exits panel showing Minutes, Bars, Stop Loss (2500), Exit Stop Loss Entry Check Factor (1), Profit Target, Times of Day, MOC settings (True, EasyLanguage mode), and Weekend Exit configuration
    Exits Configuration: Complete exit settings including stop loss (2500), profit target, time-based exits, MOC (Market on Close) with EasyLanguage mode, and weekend exit controls.
    Minutes

    Optional time-based exit.

    If set, a trade is closed after this many minutes in the position.

    Bars

    Optional bar-count exit.

    If set, a trade is closed after this many bars in the position.

    Stop Loss

    The hard stop-loss per trade, in dollars per contract.

    When open loss reaches this amount the position is exited.

    • Build 66.56 added extra stop types (ATR, ATR trailing, profit lock and break-even). You can tick them all, but the GA uses at most one per system, plus the fixed stop.
    • For day trading, Peter Zwag (GSB's developer) uses a big stop that is rarely hit (about $2,000 for ES, NQ and most markets) and no profit target.
    Exit Stop Loss Entry Check Factor

    Safety factor used when checking the stop loss around the entry bar.

    Leave at the default unless you are fine-tuning how quickly the initial stop can trigger.

    Profit Target

    The profit target per trade, in dollars per contract.

    When open profit reaches this amount the position is exited.

    • Peter: profit targets are likely only useful for swing systems. Large targets tend to curve-fit to a few huge days.
    • A small target (around $2,500) gives more trades to test with, but Peter considers it too small to trade.
    • If the stop and the target both fall inside one bar, GSB can't know which was hit first.
    Times of Day

    Optional intraday time window for forced exits.

    If populated, positions are closed when this time condition is met.

    MOC (Market on Close)

    True = exit all trades at the end of the day (the default). Set it to False to build swing systems that hold positions overnight. In NinjaTrader, tick "Exit on session close" for systems built with MOC True. GSB's MOC time must be in the local time of your exported data.

    Exit on Close Mode

    Controls how the market-on-close exit is coded.

    Example: EasyLanguage = use TradeStation-style EasyLanguage MOC logic in the generated strategy.

    EasyLanguage mode is fine for TradeStation and MultiCharts backtests. When trading live at a TradeStation brokerage, the built-in SetExitOnClose can fail unless the session ends at the standard close, so many users add an explicit end-of-day exit. See Live Trading Operations for the fix.

    MOC On Losing Position

    Market-on-close option for losing positions (False by default in the screenshots).

    Trademaid's help doesn't describe this setting in detail; click it in GSB to read its description box.

    MOC On CloseD(1)

    A further market-on-close option (False in the screenshots).

    Not described in Trademaid's help; click it in GSB to read its description box.

    Exit Modes (advanced)

    Extra exit rules the GA can add to a system, such as exiting when the indicator goes flat. The names are explained in Trademaid's Exit modes help.

    • Peter: day-trading (MOC) systems shouldn't use them. For swing systems, test exit 8 against no extra exit.
    • Turning them all on works badly and is much slower.
    • They mostly trade net profit for lower drawdown.
    • You can't add an exit mode to a system that's already built, except in TradeStation, by editing the decision input on the GSB_DecisionExit… line.
    • If the Exit Modes rows are missing in GSB, check Tools → App Settings → GUI → Advanced is True. Rows that are beta-only also need beta mode, which since June 2026 means Trademaid's mode.txt file in C:\GSB. (Older posts mention a GSB.exe.config file instead; that was the method before June 2026.)
    Weekend Exit Day

    Day of the week to flatten positions before the weekend (typically set to Friday).

    Weekend Exit Time

    Time of day to force all exits on the selected Weekend Exit Day (e.g. just before the futures session close).

    Comprehensive Exit Management: The Exits panel provides multiple layers of exit control including fixed stop-loss and profit targets, time-based exits (minutes/bars), intraday time windows, market-on-close orders with platform-specific coding, and weekend position flattening. These exit strategies work together to manage risk and ensure positions are closed according to your trading rules.

    General Settings

    General Panel

    Sets the fitness criteria, profits mode, which positions are allowed (long, short or both), and run limits such as maximum unique systems and maximum run time.

    Fitness & Grade Metrics

    GSB ranks systems by the Fitness Criteria, e.g. NetProfit * AvgTrade (net profit times average trade). Other criteria can be selected.

    The General section sets global rules for how GSB measures, grades, and limits systems during a run.

    General panel showing Volume (TickCount), Normalization Length (100), Fitness Criteria (NetProfit * AvgTrade), Profits Mode (Currency), Positions Allowed (LongAndShort), Max. Params. Sig. Dup. (0), Max. Uniq. Sys. (2500), and Max. Run Time (24:00)
    General Configuration: Global settings including Volume (TickCount), Normalization Length (100), Fitness Criteria (NetProfit * AvgTrade), Positions Allowed (LongAndShort), and run limits (Max. Uniq. Sys. 2500, Max. Run Time 24:00).
    Volume

    Which volume field the strategy uses (e.g. TickCount, actual volume, or contract volume).

    This affects any indicators or filters that rely on volume.

    Normalization Length

    Lookback length (in bars) used when normalizing indicators.

    Example: 100 = indicators are scaled relative to the last 100 bars.

    Fitness Criteria

    Main score GSB uses to rank systems.

    Example: NetProfit * AvgTrade favors systems with both good total profit and solid average trade size.

    Other options can include profit-to-drawdown ratios, Sharpe-style metrics, etc.

    Grade Metrics Increase

    List of performance metrics where higher is better when grading systems (e.g. Net Profit, Avg Trade, Win %, etc.).

    These metrics are boosted when the GA searches for good solutions.

    Grade Metrics Decrease

    List of performance metrics where lower is better (e.g. Max Drawdown, % Time in Market).

    These metrics are penalized when grading systems.

    Profits Mode

    How profit and loss are measured:

    • Currency – report P&L in account currency (e.g. USD).
    • Other modes (when available) may use points or ticks.
    Positions Allowed

    Which side(s) the strategy is allowed to trade:

    • LongAndShort – both long and short positions.
    • You can restrict to long-only or short-only if required.
    Max. Entries per Day

    Hard cap on the number of new entries allowed on any single trading day.

    Leave blank for no cap, or set a number to prevent over-trading.

    Setting it to 1 stops GSB re-entering after a stop-out, and stops reversals on the same day. As Peter Zwag (GSB's developer) puts it, a stop isn't really a stop if the system keeps re-entering the losing position.

    Max. Params. Sig. Dup.

    Maximum number of significantly duplicated parameter sets allowed.

    0 = no duplicates; higher values allow more similar parameter combinations to be kept.

    Peter keeps it at 0 for builds (March 2023).

    Max. Uniq. Sys.

    Maximum number of unique systems GSB will store from a run (e.g. 2500).

    Once this limit is reached, additional systems are not saved.

    Max. # Comp.

    Upper limit on how many comparisons/evaluations can be performed in a run.

    Used to cap run length when search settings are very large.

    Max. Run Time (h:m)

    Time limit for the run, in hours:minutes (e.g. 24:00).

    When this limit is reached, GSB stops searching even if other limits have not been hit.

    Global Control Center: The General Settings panel provides comprehensive control over how GSB evaluates and ranks trading systems. Configure fitness criteria to define what makes a "good" system, set grade metrics to reward desirable characteristics and penalize undesirable ones, control trading direction and frequency, and establish limits on duplicate systems, evaluations, and run time to manage computational resources effectively.

    Other Interface Components

    Workspace Management

    Workplace Panel

    Sets the maximum number of workers and whether systems are shown on the workers' GUI.

    Script Panel

    Holds the Debug Mode setting. Leave it Off unless you are working with Trademaid support.

    Macros Panel

    Links macro files to the M1–M6 macro buttons and can run a macro when an optimisation completes. Macros can fully automate tasks like market validation.

    Workplace Panel

    The Workplace section controls how many worker processes GSB uses and what they display while a run is in progress.

    Workplace panel showing Max. # of Workers (3) and Show Systems on Workers' GUI (True)
    Workplace Configuration: Worker process settings with Max. # of Workers set to 3 for parallel processing and Show Systems on Workers' GUI enabled (True) for live system information display.
    Max. # of Workers

    Maximum number of worker processes (parallel threads) that can run at the same time.

    Set this to match how many cores you want GSB to use; higher values can speed up runs but use more CPU.

    Show Systems on Workers' GUI

    True – each worker window shows live information about the system it is currently testing (equity curve, stats, etc.).

    False – worker windows run in a more minimal/hidden mode, which can slightly reduce overhead.

    Parallel Processing Control: The Workplace panel manages computational resources for optimization runs. Configure worker processes to leverage multi-core CPUs for faster genetic algorithm searches. Enable worker GUI display for real-time monitoring or disable it to minimize overhead during large-scale optimization runs.

    Script Panel

    The Script section is mainly for troubleshooting and internal diagnostics.

    Script panel showing Debug Mode set to Off
    Script Configuration: Debug Mode set to Off for normal operation (recommended for almost all users).
    Debug Mode

    Controls whether extra debug information is generated while systems are being built and tested.

    • Off – normal operation (recommended for almost all users).
    • Other modes (when available) can log additional details for support or advanced debugging, but may slow runs down.

    Leave this Off unless you are working with GSB support or investigating a specific issue.

    Advanced Only: The Script panel is designed for troubleshooting and internal diagnostics. Most users should leave Debug Mode set to Off. Enable debug modes only when working with GSB support to diagnose specific issues, as extra logging can significantly impact performance during optimization runs.

    Macros Panel

    The Macros section links macro files to a project. Macros can fully automate tasks like market validation; for example, a macro can add the top 1000 systems ranked by fitness to Favorites A. Macros included with GSB include IndicatorStats, NthAll and wf_stats.

    Basic Settings
    Macros panel basic view showing the User Macros row with the loaded macro and On Opt. Completed set to False
    Basic Macros Configuration: User Macros shows the loaded macro's commands; On Opt. Completed is False, so you start macros yourself.
    User Macros

    Shows the commands of the macro that's loaded, starting with a comment line. Leave it as loaded.

    To save or load a macro file, right-click the row and use the Macros menu. See Macros Overview.

    On Opt. Completed

    If True, the selected macro(s) will run automatically when the optimization finishes.

    Leave False if you prefer to start macros yourself from the M1–M6 macro buttons at the bottom of the window.

    Advanced Settings
    Macros panel advanced view showing M1-M6 Macros file fields with greenMax10Min10.gsbmacro and 300_build_p0.90_pf1.6+stats_is2018.2_oos202411-Fast examples
    Advanced Macros Configuration: M1-M6 Macros file fields showing example .gsbmacro file assignments (greenMax10Min10.gsbmacro, 300_build_p0.90_pf1.6+stats_is2018.2_oos202411-Fast).
    M1 Macros file – M6 Macros file

    File names of the .gsbmacro scripts linked to the M1–M6 macro buttons at the bottom of the window. There are three groups of buttons, giving up to 18 macros.

    Example: greenMax10Min10.gsbmacro

    When you click M1–M6, GSB runs the macro file specified here.

    Use these fields to assign different automation workflows to each macro button for this project.

    Automation Workflows: The Macros panel links .gsbmacro files to the M1–M6 macro buttons. Macros can run automatically when an optimisation completes, or be started from the buttons. See the Macros Overview for more.

    Performance Filtering

    Performance Filters Overview

    Hard pass/fail limits for Full Period, Latest Days, Training, Test, Validation, Test and Validation, Auto-Saved Systems, Verification and Walk-Forward. A system that fails an active filter is discarded.

    Training Filter

    Hard pass/fail limits on the training (in-sample) segment, such as minimum Pearson, profit factor and trades count.

    Out-of-Sample Filters

    Separate filter blocks apply to Test, Validation, Auto-Saved Systems, Verification and Walk-Forward results.

    The Performance Filter sections apply hard pass/fail rules to candidate systems. If a system does not meet all active filters, it is discarded.

    There are three separate filter blocks:

    • Full Period – checks performance over the entire test history.
    • Latest Days – checks performance over the most recent N days.
    • Training – checks performance on the training (in-sample) segment only.
    Performance Filter panels showing Full Period, Latest Days (365 days), and Training filters with various thresholds
    Performance Filters: Three filter blocks - Full Period (entire history), Latest Days (365 days window), and Training (in-sample) with configurable thresholds for Net Profit (3000), Pearson (0.96), Profit Factor (1.7), and Trades Count (100-1000000).

    Performance Filter – Full Period

    These rules use all available data (within your Trading Periods).

    Min. Avg. Trade

    Minimum allowed average trade (profit per trade). Use this to avoid systems with lots of tiny trades that won't cover commission and slippage.

    Min. Net Profit

    Minimum total net profit over the full period.

    Min. Pearson

    Minimum allowed Pearson correlation between time and equity curve (a proxy for "smoothness" of the curve).

    Values closer to +1 indicate a more steadily rising equity curve.

    Min. Profit Factor

    Minimum allowed Profit Factor (gross profit ÷ gross loss).

    Min. Trades Count

    Minimum number of trades required. Prevents systems with too few trades to be statistically meaningful.

    Max. Trades Count

    Maximum number of trades allowed. Useful to block "over-trading" systems.

    Min. Net Profit / Drawdown

    Minimum ratio of Net Profit to Maximum Drawdown. Higher values favor systems that earn more per unit of risk.

    Min. Custom Fitness

    Minimum value for any custom fitness metric you have defined. Leave blank if you are not using a custom fitness formula.

    Performance Filter – Latest Days

    These rules check performance only over the most recent N days.

    # of Days

    Length of the recent window (in calendar days), e.g. 365 = last year of data.

    Min. Avg. Trade

    Minimum average trade within the latest-days window.

    Min. Net Profit

    Minimum total net profit over the latest-days window.

    Min. Pearson

    Minimum Pearson correlation between time and equity over the latest-days window (smoothness of recent performance).

    PerformanceLatestDaysMinimum

    Internal minimum performance score for the latest-days window. Advanced setting – leave at default unless you are using a custom workflow.

    Min. Trades Count

    Minimum number of trades required in the latest-days window.

    Max. Trades Count (per year)

    Maximum trades allowed per year in the latest-days window (to control trade frequency).

    Min. Net Profit / Drawdown

    Minimum Net Profit–to–Drawdown ratio in the latest-days window.

    Min. Custom Fitness

    Minimum allowed value for your custom fitness metric in the latest-days window.

    Performance Filter – Training

    These rules apply to training (in-sample) data only.

    Min. Avg. Trade

    Minimum average trade on the training segment.

    Min. Net Profit

    Minimum net profit on the training segment.

    Example in the screenshot: 3000 = at least $3,000 profit required.

    Min. Pearson

    Minimum Pearson correlation between time and equity curve on the training data (e.g. 0.96 = very smooth equity).

    Min. Profit Factor

    Minimum Profit Factor on the training segment (e.g. 1.7 = gross profit must be at least 1.7× gross loss).

    Min. Trades Count

    Minimum number of trades on the training data (e.g. 100 to avoid under-sampled systems).

    Max. Trades Count

    Maximum number of trades allowed on the training data.

    Min. Net Profit / Drawdown

    Minimum Net Profit–to–Drawdown ratio on the training data.

    Min. Custom Fitness

    Minimum custom fitness score on the training data. Leave blank if not using a custom fitness formula.

    Performance Filter panels for Test, Validation, and Test and Validation showing various thresholds
    Out-of-Sample Filters: Test (disabled by default with -9999), Validation (Pearson 0.8, Profit Factor 1.3, Min Trades 100), and Test and Validation combined filters for comprehensive out-of-sample validation.

    Performance Filter – Test

    These rules apply only to the Test segment (out-of-sample) defined in the Optimization panel.

    In many templates the Test filters are "off" by default by using very negative values (e.g. -9999). Increase these thresholds to turn the filters on.
    Min. Avg. Trade

    Minimum average trade on the Test data.

    Min. Net Profit

    Minimum net profit on the Test segment.

    Min. Pearson

    Minimum Pearson correlation between time and equity on Test data.

    Min. Profit Factor

    Minimum Profit Factor on Test data.

    Min. Trades Count

    Minimum number of trades required in the Test segment.

    Max. Trades Count

    Maximum allowed trades on the Test segment.

    Min. Net Profit / Drawdown

    Minimum Net Profit–to–Drawdown ratio on the Test segment.

    Performance Filter – Validation

    These rules apply only to the Validation segment (if you allocate one in the Optimization panel). This is usually your strictest "final" filter.

    Min. Avg. Trade

    Minimum average trade on the Validation data.

    Min. Net Profit

    Minimum net profit on the Validation segment.

    Min. Pearson

    Minimum Pearson correlation between time and equity on Validation (e.g. 0.8 in the screenshot requires a reasonably smooth curve).

    Min. Profit Factor

    Minimum Profit Factor on Validation (e.g. 1.3 or higher).

    Min. Trades Count

    Minimum number of trades in the Validation data (e.g. 100 trades or more).

    Max. Trades Count

    Maximum allowed trades on the Validation segment.

    Min. Net Profit / Drawdown

    Minimum Net Profit–to–Drawdown ratio on the Validation segment.

    Performance Filter – Test and Validation

    These filters look at Test and Validation together as a combined out-of-sample block.

    Again, very negative defaults (-99, -9999, etc.) mean "filter effectively disabled" until you tighten them.
    Min. Avg. Trade

    Minimum average trade across combined Test + Validation data.

    Min. Net Profit

    Minimum total net profit across Test + Validation.

    Min. Pearson

    Minimum Pearson correlation for the combined Test + Validation equity.

    Min. Profit Factor

    Minimum Profit Factor on the combined Test + Validation segment.

    Min. Trades Count

    Minimum number of trades required across Test + Validation.

    Max. Trades Count

    Maximum allowed trades across Test + Validation.

    Min. Net Profit / Drawdown

    Minimum Net Profit–to–Drawdown ratio on the combined out-of-sample (Test + Validation) data.

    Performance Filter panels for Auto-Saved Systems, Verification (Pearson 0.95, Profit Factor 1.2, Min Trades 100), and Walk-Forward showing various thresholds
    Additional Filters: Auto-Saved Systems (mostly disabled with 99999999), Verification (Pearson 0.95, Profit Factor 1.2, Min Trades 100), and Walk-Forward filters for additional quality control layers.

    Performance Filter – Auto-Saved Systems

    These rules control which systems are auto-saved during a run (before you manually tag favorites).

    In the template shown, huge positive/negative values (e.g. 99999999, -99999999) are used so almost nothing is filtered. Tighten these thresholds if you want GSB to auto-save only stronger systems.
    Min. Avg. Trade

    Minimum average trade required for a system to be auto-saved.

    Min. Net Profit

    Minimum total net profit required for auto-saving.

    Min. Pearson

    Minimum Pearson correlation between time and equity for auto-saving.

    Min. Profit Factor

    Minimum Profit Factor for auto-saving.

    Min. Trades Count

    Minimum number of trades required (e.g. 100) before a system can be auto-saved.

    Max. Trades Count

    Maximum allowed trades for auto-saved systems.

    Min. Net Profit / Drawdown

    Minimum Net Profit–to–Drawdown ratio for auto-saved systems.

    Performance Filter – Verification

    These rules apply to Verification runs (using the Verification Price Data Groups from the Data panel).

    Min. Avg. Trade

    Minimum average trade on the verification data.

    Min. Net Profit

    Minimum net profit on verification data (e.g. 1 = must at least be profitable).

    Min. Pearson

    Minimum Pearson correlation on verification equity (e.g. 0.95 = very smooth curve required).

    Min. Profit Factor

    Minimum Profit Factor on verification data (e.g. 1.2 or better).

    Min. Trades Count

    Minimum number of trades on verification data (e.g. 100).

    Max. Trades Count

    Maximum allowed trades on verification data.

    Min. Net Profit / Drawdown

    Minimum Net Profit–to–Drawdown ratio on verification data.

    Performance Filter – Walk-Forward

    These rules apply to Walk-Forward (WF) results, using the WF settings from the Walk-Forward panel.

    The fields behave exactly like the Verification filters, but they are measured on the combined walk-forward equity curve:

    Min. Avg. Trade

    Minimum average trade over all WF runs.

    Min. Net Profit

    Minimum total net profit over WF runs.

    Min. Pearson

    Minimum Pearson on the WF equity curve.

    Min. Profit Factor

    Minimum Profit Factor on WF results.

    Min. Trades Count

    Minimum number of trades in WF testing.

    Max. Trades Count

    Maximum trades allowed in WF testing.

    Min. Net Profit / Drawdown

    Minimum Net Profit–to–Drawdown ratio on WF results.

    Quality Control Through Filtering: Performance Filters act as quality gates during optimization, automatically discarding systems that fail to meet minimum standards. Configure separate thresholds across 9 filter types: Full Period, Latest Days, Training, Test, Validation, Test+Validation, Auto-Saved Systems, Verification and Walk-Forward. Trademaid's notes give the verification defaults as profit factor 1.8 and Pearson 0.85: reduce them if too few systems verify, or raise Pearson to 0.95 if too many pass. Each filter type serves a specific validation purpose - use Training for in-sample quality, Validation for out-of-sample confirmation, Verification for additional market testing, and Walk-Forward for time-based robustness validation.

    Backtest Termination

    Early Termination Rules

    Stops a backtest early if a system is clearly failing: after % Bars of the data, the system must meet minimums such as Avg Trade, Net Profit, Pearson, Profit Factor and Trades Count.

    The Backtest Termination rules let GSB stop a backtest early if a system is clearly failing. This saves time by not running poor systems over the full history.

    The checks are done after a certain percentage of bars has been processed. If the system fails any rule, the backtest is terminated.
    Backtest Termination panel showing % Bars 20, Min. Avg. Trade 0, Min. Net Profit 1, Min. Pearson -1, Min. Profit Factor 1.1, Min. Trades Count 1, Max. Trades Count 1000000, Min. Net Profit / Drawdown -1000000000
    Early Termination Rules: Configure thresholds to stop backtests early if systems are clearly failing (checked at 20% bars in this example with Profit Factor 1.1 minimum).
    % Bars

    Fraction of the total data to run before applying the termination rules. Example: 20 = check the rules after 20% of the bars.

    Min. Avg. Trade

    Minimum average trade required at the check point. If the current Avg Trade is below this, the backtest stops.

    Min. Net Profit (in currency)

    Minimum net profit (e.g. in USD) required at the check point.

    Min. Pearson

    Minimum Pearson correlation between time and equity at the check point. Low or negative values indicate an unsmooth / drifting equity curve.

    Min. Profit Factor

    Minimum Profit Factor required at the check point (e.g. 1.1 = gross profit must already be at least 1.1× gross loss).

    Min. Trades Count (per year)

    Minimum annualized trade count the system must be on track to achieve. Helps terminate systems that trade too rarely to be useful.

    Max. Trades Count (per year)

    Maximum annualized trade count allowed. Terminates systems that are over-trading.

    Min. Net Profit / Drawdown

    Minimum Net Profit–to–Drawdown ratio required at the check point. If the system's risk/reward is already poor, the backtest is stopped.

    Efficiency Through Early Termination: Backtest Termination rules optimize processing time by stopping clearly failing systems before completing the full historical backtest. Configure the percentage of bars to process before checking (e.g. 20%), then set minimum thresholds for key metrics. Systems failing any criterion are immediately terminated, allowing GSB to focus computational resources on more promising candidates. This is especially valuable during genetic algorithm optimization with large populations and multiple generations.

    Info Panel

    Settings Information

    Read-only panel showing which App Settings and Opt. Settings files are loaded (optimisation settings files use the .gsboptset extension, e.g. NG_20250717_40%InSample.gsboptset) and when they were last updated.

    The Info section is read-only and shows when key settings were last saved for this project.

    Info panel showing App Settings (blank), App Settings Last Update (blank), Opt. Settings (NG_20250717_40%InSample.gsboptset), and Opt. Settings Last Update (2025-07-17 13:53)
    Settings Information: Read-only display showing current optimization settings file (NG_20250717_40%InSample.gsboptset) and last update timestamp (2025-07-17 13:53).
    App Settings

    Name of the App Settings file loaded, if any (blank in this example).

    App Settings Last Update

    Date/time when the global app settings were last changed.

    Opt. Settings

    Name of the optimization settings file currently loaded for this project. Example: NG_20250717_40%InSample.gsboptset.

    Opt. Settings Last Update

    Date/time when the optimization settings file was last saved or updated.

    Settings Tracking: Use the Info panel to check which optimisation settings file (.gsboptset) is loaded and when it was last saved. Settings files are saved and loaded with File → Save Optimization Settings As… and File → Load Optimization Settings….

    Parameters – Signature

    Parameter Uniqueness Control

    Contains the IncludeProfitTargetInParamete setting (True in the screenshot). Its name suggests it controls whether the profit target is part of a system's parameter signature; check its description box in GSB.

    The Parameters-Signature section has one setting, IncludeProfitTargetInParamete (the label is cut off in the panel). Trademaid's help doesn't describe it; its name suggests it decides whether the profit target is part of a system's parameter signature. Click it in GSB to read its description box.

    Parameters-Signature panel showing IncludeProfitTargetInParamete set to True
    Parameters-Signature: IncludeProfitTargetInParamete set to True.

    Results Right-Click Menu

    Right-Click Menu

    Right-click a system in the results grid for actions: Favorite A–D, Verify, Run Walk-Forward, Create/Update Family, Statistics, Run Macro, Load, Save, Export Systems To and more.

    Right-click a system in the results grid (for example the Unique-Systems tab) to open a menu of actions for the selected system or systems.

    Right-click menu on the results grid showing Refresh, Use Trading Price Data (TPD), Override Original Settings (OOS), Favorite A to D, Reset All, Dates Mode, Nth Day Mode, Verify, Run Walk-Forward, Create/Update Family, Statistics, Run Macro, Load, Find, Save, Export Systems To, Export Params. To and Delete
    Right-click menu: Favorite D is open, showing the ratings No, Yes Good, Yes Very Good and Yes Excellent.

    Menu items shown in the screenshot

    • Use Trading Price Data (TPD) and Override Original Settings (OOS): re-run the selected systems with different settings
    • Favorite A–D and Reset All: rate systems into favourite categories
    • Dates Mode and Nth Day Mode
    • Verify / Cancel Verify: test systems on the verification price data
    • Run Walk-Forward, Use WF Cur. Params (WFP), Cancel Walk-Forward
    • Create/Update Family and Remove Family
    • Statistics, Cancel Active User Tasks
    • Run Macro / Cancel Macro
    • Load…, Find…, Save…, Export Systems To…, Export Params. To…, Delete
    • From 77.46, Export Systems exports only the rows you've selected; with nothing selected it exports the whole table.

    Items are greyed out when they don't apply to the current selection.

    Cancel Macro only stops once the current step has finished. Peter puts a 60-second delay at the start of his macros, so he has time to cancel one he started by mistake.

    App Settings

    Application Settings

    Tools → App Settings holds application-wide settings: Data (Public Data Directory, price file date and time formats), Machine Resources, Optimization, Walk-Forward, Workplace, GUI (Advanced, Show Favorite A–D, Top/Latest options) and more.

    Open Tools → App Settings for application-wide settings that apply to every project, such as the data folder and price file formats, machine resources, GUI options and performance filter defaults. App settings can be saved and loaded from the File menu.

    GUI Settings (App Settings)

    App Settings GUI section showing Advanced, Unique-Systems settings, Show Favorite A/B/C/D checkboxes, Top Period/Size/Update, and Latest Size/Update options
    GUI Configuration (App Settings): Tools → App Settings → GUI, with sections for Data, Machine Resources, Optimization, Walk-Forward, Workplace and GUI. The GUI section includes Advanced, Unique-Systems 1-by-1 Updates, Unique Systems Period, Top Period/Size/Update Enabled, Latest Size/Update Enabled and Show Favorite A–D.

    General App Settings

    App Settings showing Performance Filter - Uniqueness and Performance Filter - Full Period with Min. Avg. Trade 80 and Min. Net Profit 80000 highlighted
    Performance filter defaults: App Settings also holds performance filter sections such as Uniqueness and Full Period (here Min. Avg. Trade 80 and Min. Net Profit 80000).

    Input Data Format

    App Settings Data section showing Public Data Directory, Price Files Date Formats, Price Files Time Formats, Price Files Separator and file-sharing settings
    Data section: Public Data Directory (the folder that holds your data), Price Files Date Formats, Price Files Time Formats and Price Files Separator. GSB should auto-detect date and time formats; if it doesn't, add yours here. Note that M is month and m is minute.

    Top Menu Functions

    File, Process & Tools Menus

    File loads and saves App and Optimization settings and opens Supplementary Scripts (TS & MC). Process has Start, Pause and Stop. Tools has App Settings, Contracts List, Sessions List, Price Data List, Custom Indicators, Reset Price Data Cache and Close Workers.

    File Menu

    • Load App Settings… / Save App Settings As…: global preferences for GSB itself
    • Load Optimization Settings… / Save Optimization Settings As…: everything in the left panel for one project (saved as a .gsboptset file)
    • Reset App Settings (To Default) / Reset Optimization Settings (To Default) (in newer builds)
    • Supplementary Scripts (TS & MC): opens the folder of GSB function scripts for TradeStation and MultiCharts
    • Export / Import System Building Settings (build 75.94, July 2026): packs your optimisation settings, contracts, sessions, price data and macros into one portable .share.7z file, so you can move a full setup to another PC or share it
    • Exit

    Process Menu

    Start, pause and stop a run. The same commands are on the green, yellow and red buttons at the bottom left of the window.

    Process menu showing Start (F5, greyed out during a run), Pause (Ctrl+P) and Stop (Shift+F5), with the matching buttons below
    Process Menu: Start (F5), Pause (Ctrl+P) and Stop (Shift+F5). Start is greyed out while a run is in progress.

    Tools Menu

    GSB's global settings and lists.

    Reset Price Data Cache: use it after you replace or update a data file, or change a contract's specs. Otherwise GSB keeps using the cached data. Restart the workers afterwards.

    Impersonate (beta users only, in earlier builds): switches between Alpha-User, Purchased-User and Trial-User feature sets. Choose Purchased-User to get back to the normal licensed version. Trademaid hasn't confirmed whether it's still there after the June 2026 beta-mode change.

    Tools menu showing App Settings, Contracts List, Sessions List, Price Data List, Custom Indicators, Reset Price Data Cache and Close Workers
    Tools Menu: App Settings, Contracts List, Sessions List, Price Data List, Custom Indicators, Reset Price Data Cache and Close Workers.

    Help Menu

    Added or expanded in build 75.94 (July 2026):

    • Application Log: a live log you can filter. It can also load Manager and Worker logs, which helps when a run stalls.
    • What's New: a panel listing the changes in recent builds
    • Support ticket: raise a ticket with Trademaid from inside GSB

    GUI Tabs

    Analysis Tabs

    Performance, Graphs, Trades, Parameters, Script (TS & MC) / Scripts, Settings, Reporting Graph (Fitness Graph in some builds), AI WF, WF Graph and Macro Log tabs. Tab names vary slightly between builds.

    Graphs Tab

    Shows the equity curve of the selected system, with its performance figures in a table below.

    Graphs tab showing equity curves for 29, 30 and 31 minute bars with the performance table below
    Equity Curve: One curve per price data stream (here 29, 30 and 31 minute bars), with the performance figures (fitness, profit, drawdown, average trade, % profitable, Pearson, profit factor, trades, NP/DD) below.
    Graphs tab X-axis drop-down showing Auto, Trade Number and Trade Date
    X-axis: Plot the equity curve by Auto, Trade Number or Trade Date.

    Trades Tab

    Lists every trade of the selected system: entry and exit times and prices, position, quantity, profit in $, %, points and ticks, and entry and exit reasons.

    Trade tab showing detailed trade list with dates, prices, and P/L
    Trade List: Use the drop-down at the top to switch between the time frames and tickers the system was built on.
    Trades tab drop-down listing @ESD29, @ESD31 and @ESD30
    Price data selector: Choose which data stream's trades to show (here 29, 30 or 31 minute ES bars).

    Parameters Tab

    Inspect optimized parameter values for selected trading systems.

    Parameter tab showing optimized indicator and exit parameter values
    Parameter Values: View all optimized parameter settings including indicator periods, exit thresholds, and strategy-specific values discovered by genetic algorithm.

    Script (TS & MC) / Scripts Tab

    Shows the generated code for the selected system. Newer builds have a drop-down to choose TradeStation, MultiCharts or NinjaTrader 8; right-click the script and choose Copy to Clipboard.

    Script tab showing generated EasyLanguage/PowerLanguage code
    Generated Code: The comment lines at the top record the system ID, price data and settings, including MaxBarsBack.

    Settings Tab

    Review all optimization settings and configuration used to generate selected systems.

    Settings tab showing complete optimization configuration
    Configuration Review: Complete summary of optimization parameters including data range, GA settings, performance filters, and all panel configurations used.

    Reporting Graph Tab

    Charts the progress of a run.

    Reporting Graph showing fitness metrics with peak fitness (dark blue), average fitness (bright blue), systems passing (brown), unique systems (red)
    Fitness Metrics: Peak (dark blue), average (bright blue), systems passing metrics (brown), unique systems (red). Diverging brown/red shows duplicate rejection increasing.
    Reporting Graph showing Number of Systems and Running, Idle and Paused Workers over time
    Systems and workers: With the NS and WC boxes ticked, the graph shows the number of systems found and the running, idle and paused worker counts over time.

    AI WF (Parameter Analysis) Tab

    Analyses how the selected system performs as each parameter is stepped above and below its value (set up in AI Params.).

    AI WF tab showing parameter sensitivity analysis interface
    Parameter Selection: The AnalysisParameter Collection Editor (from AI Params.) lists the parameters to analyse and the steps above and below each (e.g. 20).
    AI WF results table showing performance metrics across parameter values
    Results Table: Detailed performance metrics (Net Profit, Trades, Avg Trade, Profit Factor) for each parameter value tested.
    AI WF results graph showing performance metrics (Profit Factor, Trades Count, Net Profit) across parameter values
    Performance Analysis: View metrics across parameter range - Trades Count (pink/left axis), Avg Trade (red/left axis), Net Profit (dark red/right axis). Identify optimal values and detect flat regions indicating redundant parameters.

    WF Graph Tab

    Shows the progress of walk-forward tasks. Walk-forward results themselves are listed in the Walk-Forward grid tab below the chart.

    WF Graph tab showing waiting, running and completed walk-forward tasks over time
    WF tasks: Waiting, Running and Completed walk-forward tasks over time (here 250 walk-forwards completed).

    Macro Log Tab

    Track macro execution history with detailed command log showing timestamps and parameters.

    Macro Log showing execution history with Index, Time, and Macro command details
    Macro Execution Log: Track macro playback with detailed command history showing Index (sequential order), Time (precise timestamps), and Macro (command with parameters). Monitor actions like Comment, SwitchGrid, DatesMode, GlobalDates, UseWFCurParams, and Stats execution for debugging and verification.

    Quick Navigation Tips

    • • Data Panel: Start here to choose the price data you build on
    • • Strategy Panel: Number of indicators, entry modes and secondary filter
    • • Optimization Panel: Training/Test split for the build
    • • Walk-Forward Panel: Validate strategies with out-of-sample testing
    • • Performance Filters: Set minimum quality standards for generated systems
    • • Right-Click Menu: Verify, walk forward, add favourites and export systems
    • • GUI Tabs: Review a system through the Performance, Graphs, Trades and Script tabs

    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.