Getting Started with GSB

    What GSB does, then your first project click by click. The steps match lesson 1.3 in the Training Hub.

    What you need
    • A Windows PC with at least 16 GB of RAM (Trademaid's guide).
    • GSB installed: the free 14-day trial, on up to 2 machines. Not done yet? Follow the Installation Guide first.
    • No price data of your own. Your first project uses a settings file and data that come with GSB.
    • Time: one short sitting. The test run at the end only needs to find a few systems before you stop it.

    Prefer to watch? This page has video lessons

    Module 1: Getting Set Up · Training Hub · free with a GSB Pro account

    Create your free account to watch the videos →

    What is GSB Pro?

    GSB (Genetic System Builder) is trading system development software made by Peter Zwag at Trademaid. GSB Pro (this site) is an authorised reseller and learning site for GSB. Trials and licences come from Trademaid's site, trademaid.info. GSB uses a genetic algorithm to search combinations of indicators and parameters, and walk-forward testing to check the systems it finds. GSB:

    • Discovers which indicators work best for your markets
    • Can verify systems on other bar intervals, markets and held-back out-of-sample data
    • Generates code for TradeStation, MultiCharts and NinjaTrader 8
    • Walk-forward tests systems to check how they hold up out of sample

    Two Operating Modes

    Installing GSB puts three icons on your desktop: GSBStandalone, GSBManager and GSBWorker. All three work towards the same goal, making trading systems.

    GSB Standalone

    Standalone builds systems on its own, on one computer. It's the simplest option. Use it for your first session and the rest of Module 1.

    Standalone is fine for learning, but it's much slower. For real building, Peter Zwag (GSB's developer) recommends a Manager with your own workers, plus the free GSB cloud. A Manager with only one worker gains you little, so give it several.

    GSB Manager with Workers

    GSB Manager doesn't build systems itself. It drives GSB Workers, and the workers send their systems back to it. Together they build faster and use more of your computer, or several computers. Trademaid's rough guide is 1 worker per 10 GB of RAM. Once you've bought GSB, GSB Resource Manager can start and stop workers for you based on your CPU and RAM. The main window is laid out the same way in Standalone and Manager.

    Important Note

    GSB is designed for automated system building, not manual strategy testing. It searches for the indicators and parameters to use, rather than you choosing them by hand. All results are hypothetical backtests.

    The 3-Step Automated Process

    1. Discover
    GSB uses a genetic algorithm to search many combinations of indicators and parameters on your price data
    2. Validate
    Systems are checked on out-of-sample data, and can be verified on other bar intervals or markets and walk-forward tested
    3. Build
    GSB generates the system code, which you copy into TradeStation, MultiCharts or NinjaTrader 8

    Your First Session

    In GSB, a project is simply an optimization settings file: everything in the left panel. You load a ready-made settings file that comes with GSB, check it section by section, save your own copy and press Start for a short test run. Pause at any step and compare with your own screen.

    Before you start

    • Open GSBStandalone from your desktop.
    • The starter file is NG_20250717_40%InSample (natural gas).
    • Trademaid's quick guide lists ready-made files for natural gas, crude oil and gold, and says they can be opened and run immediately to get a feel for what GSB can do.
    • Trademaid calls natural gas a very easy market, and much faster to build systems on than crude oil.
    • Leave every row as loaded unless a step below says change it.

    Don't reset to defaults. Trademaid recommends starting from the settings files that come with GSB rather than the factory defaults, because the defaults may not be as correct or as up to date as those files.

    Step 1: File → Load Optimization Settings

    1. Click File in the top menu.
    2. Click Load Optimization Settings.
    3. An Open window appears.

    Step 2: Pick the natural gas file, click Open

    1. Settings files end in .gsboptset. In Trademaid's screenshot they're in C:\GSB\Data\Settings\Optimization\Manager.
    2. Click NG_20250717_40%InSample.
    3. Check its name is in the File name box.
    4. Click Open. GSB fills in the whole left panel.
    Your list of files will be different from Trademaid's screenshot. If your GSB is newer, the date in the file name may be different. The folder may also differ in GSBStandalone. If you can't find a natural gas 40%InSample file, check Trademaid's current help or ask on the Trademaid forum.

    Step 3: Check the Info section

    1. Scroll to the bottom of the left panel and open Info. (Click the small arrow beside a section heading to open or close it.)
    2. The Opt. Settings row shows the file that's loaded: NG_20250717_40%InSample.
    3. The row below shows when it was last updated.
    4. If it shows a different file, go back to step 1.

    Now check each section from the top. The values below are the natural gas values in Trademaid's screenshots. Click any row and the description box at the bottom of the left panel explains it.

    GUI: leave all four rows

    RowLoaded valueWhat it meansDo this
    Header TextNat_GasThe title shown at the top of the window.Leave
    Icon TextA short codeShown in the small icon at the top left.Leave
    Icon ColorAs loadedYour own note. Doesn't change results.Leave
    CommentAs loadedYour own note. Doesn't change results.Leave

    Trademaid calls these personal choices. Later you can rename them to tell different runs apart.

    Strategy: set your platform, leave the rest

    RowLoaded valueWhat it meansDo this
    Preferred Target PlatformAs loadedThe platform GSB writes system code for.Change: pick TradeStation, MultiCharts or NinjaTrader
    # of Indicators3Trademaid recommends 3, with a maximum of 5.Leave
    Every other rowAs loadedExplained in Module 2.Leave

    Preferred Target Platform is the one row you change in this session. Click it and choose the platform you trade.

    Data: leave on the natural gas file

    RowLoaded valueWhat it meansDo this
    Public Data DirectoryDataThe folder GSB looks in for price files.Leave
    Opt. Price DataNatural gas 1-minute dataThe price file GSB builds systems on.Leave (lesson 1.4 loads your own)
    Enforce Multi Price DataFalseAn extra for later.Leave
    Verf. Price Data GroupsBlankAn extra for later.Leave
    Optimize WF Price DataFalseAn extra for later.Leave

    Optimization and Genetic Algorithm: leave

    RowLoaded valueWhat it meansDo this
    Training %40GSB builds systems on 40% of the data. Trademaid recommends 30% to 50%.Leave
    Test %6060% is held back as the out-of-sample test.Leave
    Validation %0No separate validation period.Leave
    RowLoaded valueWhat it meansDo this
    Generations25Explained in Module 2.Leave
    Population200Explained in Module 2.Leave
    Restarts5000Explained in Module 2.Leave

    Quantity and Costs: leave

    RowLoaded valueWhat it meansDo this
    Capital Quantity10000The capital used to size each trade.Leave
    Quantity ModeCapitalInvestmentTrade size is worked out from the capital above.Leave
    Commission2.5Cost per trade, per side.Leave
    Mode (under Commission)TradePerSideCharged on each side of the trade.Leave
    Slippage15Allowance for fills worse than the chart price, per side.Leave
    Mode (under Slippage)TradePerSideCharged on each side of the trade.Leave

    Costs make the backtest more honest, so don't set them to zero. Put in your own broker's costs once you're building on your own market.

    General: leave, and note Max. Uniq. Sys.

    RowLoaded valueWhat it meansDo this
    Fitness CriteriaNet Profit times Average TradeThe score GSB uses to rank systems.Leave
    Positions AllowedLong and ShortSystems can trade both ways.Leave
    Max. Uniq. Sys.2500The number of systems the run aims to build.Leave
    Max. Run Time24 hoursThe longest the run is allowed to go.Leave

    Every section you haven't opened, such as Walk-Forward, Trading Periods, Exits and the Performance Filters, also stays as loaded.

    Step 4: Save your own copy

    1. Click File, then Save Optimization Settings As.
    2. A Save As window opens.
    3. In the File name box, type a new name. Trademaid's example keeps the original name and adds your initials and a note on the end.
    4. Click Save.

    The original file stays untouched. From now on the Info section shows your new file, and File → Load Optimization Settings will find it.

    Step 5: Press the green Start button

    1. Click the green Start button at the bottom left, or press F5.
    2. Start greys out while the run is going.
    3. Watch Uniq. Sys. in the right panel count up as systems are found.
    4. Once you've seen a few, press the red Stop button (or Shift+F5).

    Trademaid's quick guide says that with GSB on its defaults, clicking the green run button should build systems. The full first build is in Module 2. Remember, these are hypothetical backtest results.

    If you get lost: two ways back

    1. Best: load your saved file again with File → Load Optimization Settings.
    2. Factory defaults: right-click in the left panel and click Reset To Default, or use File → Reset Optimization Settings. Trademaid notes the defaults may not be as up to date as the files that came with GSB, so loading a file is usually the better choice.

    Going further (later lessons)

    • The crude oil and gold files load in exactly the same way.
    • Trademaid's recommended way to build is different: open NG_20250717_SysBuild and run it with macros, which come later in the course.
    • Your own market and data come next (lesson 1.4).
    • When you start changing settings, Trademaid's rule is to change only one thing at a time, so you know what made the difference.

    Next Steps

    You've loaded the natural gas file, checked the Info section, set Preferred Target Platform, left everything else as loaded, saved your own copy and pressed Start. Next, bring in your own market and data, then build properly.

    Older video walkthrough

    Video Tutorial: GSB Familiarisation
    A short overview of GSB Standalone vs GSB Manager with Workers (an older GSB version)

    Once you've installed GSB on your computer, you can build systems with GSB Standalone or GSB Manager with GSB Workers. This video explains the difference and how to operate both modes. Screens may look different in the current version.

    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.