Getting Started with GSB
What GSB does, then your first project click by click. The steps match lesson 1.3 in the Training Hub.
- 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
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.
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
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
- Click File in the top menu.
- Click Load Optimization Settings.
- An Open window appears.
Step 2: Pick the natural gas file, click Open
- Settings files end in
.gsboptset. In Trademaid's screenshot they're inC:\GSB\Data\Settings\Optimization\Manager. - Click
NG_20250717_40%InSample. - Check its name is in the File name box.
- Click Open. GSB fills in the whole left panel.
40%InSample file, check Trademaid's current help or ask on the Trademaid forum.Step 3: Check the Info section
- Scroll to the bottom of the left panel and open Info. (Click the small arrow beside a section heading to open or close it.)
- The Opt. Settings row shows the file that's loaded:
NG_20250717_40%InSample. - The row below shows when it was last updated.
- 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
| Row | Loaded value | What it means | Do this |
|---|---|---|---|
| Header Text | Nat_Gas | The title shown at the top of the window. | Leave |
| Icon Text | A short code | Shown in the small icon at the top left. | Leave |
| Icon Color | As loaded | Your own note. Doesn't change results. | Leave |
| Comment | As loaded | Your 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
| Row | Loaded value | What it means | Do this |
|---|---|---|---|
| Preferred Target Platform | As loaded | The platform GSB writes system code for. | Change: pick TradeStation, MultiCharts or NinjaTrader |
| # of Indicators | 3 | Trademaid recommends 3, with a maximum of 5. | Leave |
| Every other row | As loaded | Explained 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
| Row | Loaded value | What it means | Do this |
|---|---|---|---|
| Public Data Directory | Data | The folder GSB looks in for price files. | Leave |
| Opt. Price Data | Natural gas 1-minute data | The price file GSB builds systems on. | Leave (lesson 1.4 loads your own) |
| Enforce Multi Price Data | False | An extra for later. | Leave |
| Verf. Price Data Groups | Blank | An extra for later. | Leave |
| Optimize WF Price Data | False | An extra for later. | Leave |
Optimization and Genetic Algorithm: leave
| Row | Loaded value | What it means | Do this |
|---|---|---|---|
| Training % | 40 | GSB builds systems on 40% of the data. Trademaid recommends 30% to 50%. | Leave |
| Test % | 60 | 60% is held back as the out-of-sample test. | Leave |
| Validation % | 0 | No separate validation period. | Leave |
| Row | Loaded value | What it means | Do this |
|---|---|---|---|
| Generations | 25 | Explained in Module 2. | Leave |
| Population | 200 | Explained in Module 2. | Leave |
| Restarts | 5000 | Explained in Module 2. | Leave |
Quantity and Costs: leave
| Row | Loaded value | What it means | Do this |
|---|---|---|---|
| Capital Quantity | 10000 | The capital used to size each trade. | Leave |
| Quantity Mode | CapitalInvestment | Trade size is worked out from the capital above. | Leave |
| Commission | 2.5 | Cost per trade, per side. | Leave |
| Mode (under Commission) | TradePerSide | Charged on each side of the trade. | Leave |
| Slippage | 15 | Allowance for fills worse than the chart price, per side. | Leave |
| Mode (under Slippage) | TradePerSide | Charged 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.
| Row | Loaded value | What it means | Do this |
|---|---|---|---|
| Fitness Criteria | Net Profit times Average Trade | The score GSB uses to rank systems. | Leave |
| Positions Allowed | Long and Short | Systems can trade both ways. | Leave |
| Max. Uniq. Sys. | 2500 | The number of systems the run aims to build. | Leave |
| Max. Run Time | 24 hours | The 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
- Click File, then Save Optimization Settings As.
- A Save As window opens.
- 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.
- 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
- Click the green Start button at the bottom left, or press F5.
- Start greys out while the run is going.
- Watch Uniq. Sys. in the right panel count up as systems are found.
- 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
- Best: load your saved file again with File → Load Optimization Settings.
- 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_SysBuildand 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
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.