GSB Automation Documentation
A step-by-step guide to GSB Automation, the add-on that drives GSB through macros to run whole batches of tests. It follows the GSB Automation video course and Trademaid's help pages: the basic path first, with the exact clicks and values, then the advanced options.
Prefer to watch? This page has a video lesson
Module 5: Add-on Tools · Training Hub · free with a GSB Pro account
GSB Automation Add-On
GSB Automation and its summary spreadsheet are a separate purchase from Trademaid. Trademaid's help lists US$700 for both, with 1 year of updates; check the current price and licence terms on Trademaid. See also how to buy add-ons.
Introduction
Once you know the best setup for a market, building systems in GSB is fast. Finding that setup takes a lot of testing. GSB Automation runs the 2-pass indicator method, the build and the statistics for you, so you can change one setting, rerun, and compare with your benchmark.
- Runs the 2-pass indicator method and the build for you (e.g. 2,500-system tests, the top 300 into Favorites A, and the out-of-sample statistics written to a CSV file)
- Tests one change at a time with MOVE lists: secondary filters, entry modes, sessions, bar intervals and more
- Repeats each test as many times as you ask, so you can tell a real improvement from luck
- Comes with an Excel summary spreadsheet to compare runs

Before You Start
- Know GSB's basics (Modules 1 to 3 of the GSB training) and watch lesson 5.1, the GSB Automation overview.
- Watch Module 7 · Macros. Automation drives GSB through macros, so you need to know what a GSB macro is and where they live.
- Keep GSB on its newest build. Trademaid's help notes that GSB will likely fail to run with Automation if it isn't. Check Trademaid's current GSB Automation help for the minimum GSB build.
- Have your market's data loaded in GSB.
- Expect long runs on one computer. Trademaid's example times used about 150 workers (roughly 10 high-end PCs or servers); with fewer, runs take considerably longer. GSB can also use workers on the GSB cloud: a small amount of cloud power is free, and you can buy or subscribe to your own GSB cloud servers.
GSB Automation is a research tool that drives GSB itself. It is not a link to your trading platform.
Installation & Setup
Watch the lesson: GSB Automation Lesson 1Installing GSB Automation and Finding Your Way Around · in the Training Hub (free GSB Pro account)Two jobs: install Automation in the right folder, and copy its macros into GSB.
Step by Step: Install
- Get the GSB Automation installer from Trademaid. Buyers are sent a pCloud download link with their purchase; if you can't find yours, check Trademaid's current GSB Automation help or ask Trademaid support for the current link.
- Run the installer. When it asks for a folder, accept the default:
C:\GSB\GSB_AUTOMATION. - If you choose another folder, never pick the GSB program folder
C:\GSBitself. Trademaid's help is clear: installing straight intoC:\GSBwill kill GSB.
Step by Step: Copy the Macros into GSB
Automation runs GSB macros, and each one must already be in GSB's macro folder. If macros are new to you, watch Module 7 · Macros first.
- Open Windows File Explorer and go to the Automation folder,
C:\GSB\GSB_AUTOMATION(or the folder you chose). - Select the macro files (
.macro) there and copy them. - Go to
C:\GSB\Data\Settings\Macros\and paste them.
Instead of copying by hand, you can run install-into-GSB.bat from the Automation folder. It copies the macros, settings files and gold data into GSB. Its last step overwrites GSB's sessions.txt, so skip that step (or back the file up first) if you've made your own sessions.
- Updating by hand: copy the new
GSBAutomationYYYYMMDD.exe, its.pdb,version.txtand the workbook into the Automation folder, then point your shortcut at the new exe (or rename it). Buyers get updated files through the same pCloud link as the installer: copy them over the old ones. - The summary spreadsheet is only for buyers and isn't in the public installer. It comes through the same pCloud link.
- Auto-update only runs when every Automation window is closed.
M1_PASS1.macro (the same as GreenOrange), M2_PASS2.macro (the same as Green) and Build+stat2018.macro (the build macro from the crude oil video, with a 60-second delay after building to fix a bug where add to favourites occasionally failed). Newer help screenshots use other macros, such as greenMin4 and GrOrMin4. Check Trademaid's current GSB Automation help for the files that ship with your build and which to use.Step by Step: First Look in Automation
- Open GSB Automation.
- In the left grid, under GSB, check Path Mode reads
Autoand Path readsC:\GSB. Leave both on these defaults unless your GSB isn't installed inC:\GSB. - Click Save As (top of the window) and save a copy of your Automation setup before you change anything.
Next: tour the window and add your first GSB settings file (below).
Interface & Settings
Watch the lesson: GSB Automation Lesson 2Preparing GSB and Adding Your Settings File · in the Training Hub (free GSB Pro account)Watch the lesson: GSB Automation Lesson 5Testing Secondary Filters, Entry Modes and Sessions · in the Training Hub (free GSB Pro account)The window has three areas: the settings grid on the left, the buttons across the top, and the queue on the right, which fills with the steps Automation will run.
The Buttons and the Queue
- Save saves your Automation setup, Save As saves it under a new name, and Load opens one you saved earlier.
- Stay on top keeps the Automation window in front of other windows.
- Start (green, top right) begins the run and turns into a red Stop button.
- Export isn't explained in the help, so leave it alone.
- The queue has one row per step: Index, Opt. Set. (the GSB settings file), Macros (the macro or move being run), AutoExit, Elapsed, Cumulative and Status (Pending, Running or Done). The title bar shows the time so far and an estimate of the time left.
The Left Grid, Row by Row

| Row | What it does | Day one |
|---|---|---|
| Header Text | A short label for this test. Automation adds it to the header of each GSB manager it opens, followed by the step's queue index. | Type a name you'll recognise, such as the market and what you're testing. No spaces or special characters: write GCv1, not GC v1. |
| Sound Each Test / Sound Completed Tests / Sound Repeated Times | Sounds played as tests finish. | Leave as they are. |
| Send Email | Email when the automation process is finished. | Leave as it is. The help doesn't explain the email set-up. |

| Row | What it does | Day one |
|---|---|---|
| Options | Shows the GSB manager build Automation will drive. | Nothing to change. |
| Path Mode / Path | Where GSB is installed. | Leave on Auto and C:\GSB unless GSB is elsewhere. |
| Settings Groups | The GSB settings files to run, each with its own command sequence. | Add your file (steps below). |
| Minimized | Whether the GSB managers open minimised. | Leave as it is. |
| Header Mode | Append adds your Header Text to each manager's header. | Leave on Append. |
| Repeat Mode | Not explained in the help. | Leave as it is. |
| Repeat Tests | How many times each test runs. Identical tests vary, so the help says 1 for a quick test, 4 for a thorough one. | 1 for your first run. |
| Default AutoExit | Closes each GSB manager when its step is done. | True for your first run (the help says True is best when first testing Automation). |
| Macros Table | Which GSB macro each command runs. | Set in Control Parameters (below). |
| #MOVE lists | The variations to compare, such as secondary filters, entry modes and sessions. | Leave for now; see MOVE lists below. |
| Settings and Log sections | Not explained in the help. | Leave exactly as they are. |
Newer builds show more rows (Multiple Copies, Max. Manager Open, more MOVE lists). For any row this guide doesn't cover, keep it simple and leave it as it is. What each of these rows defaults to on a fresh install isn't in the help: check Trademaid's current GSB Automation help if you're unsure.
Step by Step: Save Your Starting Settings File in GSB
Every Automation run starts from one GSB optimisation settings file. Trademaid's example uses crude oil and a file called CL15.30test; use your own market and name.
- Open the GSB manager and set up your data, bar interval and other basic settings for the 2-pass indicator method.
- Click File → Save Optimization Settings As…
- The Save As window opens in
C:\GSB\Data\Settings\Optimization\Manager. Leave it in that folder. - In File name, type a short name you'll recognise (e.g.
CL15.30test). The type is GSB optimisation settings (.gsboptset). - Click Save.
Step by Step: Add It to Automation as a Settings Group
- Switch to GSB Automation. In the left grid, under GSB, click the Settings Groups row.
- Click the … (three-dot) button at the right-hand end of the row. The GSBSettingsGroup2 Collection Editor opens.
- Click Add (bottom left). Member 0 appears.
- On the right, click the Opt. Settings row, then its … button.
- The Open window shows the Optimization\Manager folder. Click your file (e.g.
CL15.30test.gsboptset) and click Open. Can't see it? Check you saved it in the Manager folder. - Leave App. Settings empty. Trademaid's examples never fill it in.
- Keep the editor open: the next row, Command Seq., is the first click in Control Parameters (below).


MOVE Lists: Test One Change at a TimeAfter your first run
Do a plain first run before using these (see Control Parameters, below). Every MOVE works the same way: add a #MOVE command at the top of the command sequence, fill the matching #MOVE list in the left grid, and set Enabled to True for each variation to test. Automation then runs your whole sequence once for each enabled entry, changing just that one thing. The four basic MOVE commands are MOVE Entry Mode, MOVE Session, MOVE SF (secondary filter) and MOVE TF (tertiary filter).
Secondary filters (#MOVE SF List)
Secondary filters give the direction of the trade. Older help said most markets other than indices prefer GeneticAlgorithm. Peter Zwag's July 2025 guidance is more specific:
- Stock indices: CloseLessPrevCloseDBpv picked directly, which is not normalised. The help says you can skip this test for indices.
- Energies: the normalised version of the same filter, which is what you get when GeneticAlgorithm picks it.
- Other markets: test the secondary filters one at a time. From build 69.9x there are also normalised CloseLessPrevCloseDBpv and CloseLessOpenD filters to try.
Hybrid secondary-filter search Lots of CPU. If you have plenty of workers, Peter suggests: build normally and note the top 10 indicators; build 10,000 systems with just those 10 indicators and all secondary filters enabled; then test the top-ranked filters one at a time with this MOVE. Automation can import the filter list from GSB (May 2024). Peter found CloseLessPrevCloseDBpv best for crude oil day-of-week systems this way, while his previous favourite ranked 76th.
- Click the #MOVE SF List row, then its … button. The IndicatorMoveSF Collection Editor opens.
- Click each filter you want to test and, on the right, set Enabled to
True. Leave the others False. - Click OK.
- Open the settings group (Settings Groups …), click Command Seq. …, click Add and choose the
#MOVEcommand. - It's added at the bottom. Select it and click the up arrow until it's member 0, above Green+Orange, Green and Build.
- Click OK, OK again, then Save As and Start.


In the queue you'll see a step that sets the filter (it takes no time), then Green, Green and Build on that filter, then the next filter, and so on.
Entry modes (#MOVE Entry mode)
Each market tends to prefer one entry mode. Trademaid says stock indices normally use the cross modes and crude oil uses Compare2.
- Open Command Seq. …, click Add, choose
#MOVEEntryModeand use the up arrow to make it member 0. Leave AutoExit blank. Click OK. - Click the #MOVE Entry mode row and its … button. The list holds six modes: Cross, Compare2, Compare1, NoConflictsCross, AnyIndicatorCrossed and CrossDualLevels.
- Click each mode and set Enabled to True or False. To test all six, set all to True.
- Click OK, Save As, then Start.
The MOVE tests each mode on its own, which is what you want: Peter Zwag uses one entry mode per build. His order of interest is Compare2 and Cross first. If Cross does poorly, skip the other cross types. Then try AnyIndicatorCrossed and NoConflictsCross. Compare1 rarely holds up out of sample, and he no longer recommends CrossDualLevels.

Sessions (#MOVE Session List)
For most markets the session is clear: trade where volume × volatility is. Gold and the Dax have many valid session times, so they're worth testing. Trademaid's examples: S&P 500 830 to 1500 exchange time; crude oil 900 to 1430 is likely best. GSB session times follow the time stamps on your data (exchange or local time).
- The session start and the trading start are separate settings. For example, a 2:00 to 13:30 session can be set to trade only after 8:00.
- Peter Zwag finds the best entry window is nearly always the whole session.
- Don't search for the exit time with the genetic algorithm. Peter moves the session instead.
- Get the main session right first, then test other ideas on top of it.
- In GSB, click Tools → Sessions and make one session for each time to test. Name each by its times (e.g.
0130-1230), set the open and close for Monday to Friday, and tick Session Close. - In Automation, open Command Seq. …, click Add, choose
#MOVESessionand move it above Green+Orange, Green and Build. If you're new to this, test only the session move. - Click the #MOVE Session List row and its … button. Add the sessions you made in GSB, using the same names.
- Set Enabled to True for each session to test.
- Click OK, Save As and Start. Compare the sessions in the summary spreadsheet with Sort By
SESSION.

Control Parameters: Command Sequence & Start
Watch the lesson: GSB Automation Lesson 3Building the Command Sequence and Clicking Start · in the Training Hub (free GSB Pro account)The 2-pass indicator method is three runs, each one command in the sequence: Green+Orange picks the green and orange indicators, Green picks the green indicators from run 1, and Build builds the systems and does the statistics.
Step by Step: Build the Command Sequence
- In the settings group editor (from the last section), click the Command Seq. row, then its … button. The OptSetCommandOptions Collection Editor opens.
- Click Add. Member 0 appears.
- Click the Command row, open its drop-down and choose
GReen+ORange. Leave AutoExit blank: blank uses Default AutoExit from the main grid. - Click Add again and choose
GReenfor member 1. Leave AutoExit blank. - Click Add a third time and choose
Buildfor member 2. - Check the list reads 0 GReen+ORange, 1 GReen, 2 Build. If not, select a member and use the up and down arrows.
- Click OK. Back in the settings group editor, click OK again.
Trademaid's help mentions that a third indicator pass could be added, but Trademaid has never done this, so keep to two passes.


The Command drop-down has more options. Custom1 and Custom2 run whichever macros you put in those Macros Table rows, and the MOVE commands are covered under MOVE lists. You don't need them for your first run.
Step by Step: Macros Table, Repeat Tests and AutoExit
- In the left grid, expand Macros Table.
- Against Green+Orange, Green and Build, set the macro that does that job. Each macro must already be in
C:\GSB\Data\Settings\Macros\. - Click Repeat Tests and type
1for a quick first test (use4later for thorough tests). - Set Default AutoExit to
True, so each GSB manager closes when its step is done. - Leave Repeat Mode as it is.
Step by Step: Check, Save and Start
- Hold the mouse over the Settings Groups row. A pop-up lists every step: the green and orange macro on your file, the green macro on the result, then the build and stats macro. (MOVE lists aren't shown in this pop-up.)
- Click Save As, type a name for this Automation setup and save it. Next time, click Load, change one thing, and run a new test.
- Click the green Start button (top right). Automation opens a GSB manager, loads your settings file and runs each step. You don't need to click anything in GSB.
- Watch the queue: steps go from Pending to Running to Done, and the title bar shows the time so far and an estimate of the time left.

Macros, Indicators & Output
Automation drives GSB by macros, and any macro you use must already exist in GSB. GSB macros are taught in Module 7 · Macros.
Macros in Trademaid's Examples
Trademaid's newer screenshots use macros such as GreenMin4 (the green indicators or the top 4, whichever is more), GrOrMin4 (green and orange), and build macros that build 50,000 systems and put the top 250 or 300 into favourites A. These are examples from the help, not a list that ships with every build. Check Trademaid's current GSB Automation help for the current macros.
Older guides build 50,000 systems in one go. Peter Zwag (GSB's developer) now advises against it, because the top 300 from one huge build are too similar to each other. His research tests use 2,500 systems per pass, and the 2025 supplied build files do the same.
Step by Step: Find the Statistics File
- Open Windows File Explorer and go to
C:\GSB\Data\Exports\Statistics\. - Find the CSV named after your settings file. Automation adds each command to the name, so it may end in
_GReen_GReen.csv. - Open it if you want to look. At the top are the averages for each statistics period, then the primary indicators GSB chose, the secondary filter, the entry modes and the price data. You don't need to edit it: the spreadsheet reads it for you.

Reading the Numbers

- Periods A to F are set by your build and stats macro, so they depend on the macro you use. In Trademaid's Nasdaq example, A is in-sample (2007 to Feb 2017), B to E are one out-of-sample year each, and F is the whole out-of-sample period. Out-of-sample results matter most.
- Favourites A to D: the Favorites tab shows how many systems landed in each list. The rules get stricter from A to D, so more systems in the later lists is a good sign.
- Identical tests vary, because the random seed picks different systems. Use Repeat Tests 4 when you compare setups.
- Only A and F? Peter Zwag now uses just period A (in-sample) and F (the whole out-of-sample period). The yearly periods B to E cost CPU time, and one year on its own tells you little.
- LSR (long/short ratio) in the spreadsheet is, from GSB 64.80, log(Long NP·AT ÷ Short NP·AT). Above 0 means a long bias; below 0, a short bias.
- Data-stream usage statistics show whether Data2 is really being used by the systems.
- Count primary indicators defaults to No, for speed.

In Trademaid's gold example, the out-of-sample net profit from 2017.6 was $17,989, excluding slippage and commission.
Hypothetical back-test results from Trademaid's help, shown to explain the method. They do not represent actual trading and may exclude slippage and commission. Past performance is not a reliable indicator of future performance.
How to Get Systems to Trade
Automation's job is to find the best setup: the session time, entry mode and secondary filter with good out-of-sample statistics. Only then look for a system to trade. Trademaid covers this at a very high level; GSB Modules 2 and 3 cover the steps in detail.
- Find the setup with the best out-of-sample statistics using Automation.
- In GSB, put the dates back to the full start date (e.g. 200706 for gold).
- Select families and evaluate the top member of each.
- Walk forward the system and check the out-of-sample curve.

Hypothetical back-test results from Trademaid's help, shown to explain the method. They do not represent actual trading and may exclude slippage and commission. Past performance is not a reliable indicator of future performance.
Automation Summary Spreadsheet
Watch the lesson: GSB Automation Lesson 4Reading the Output and the Summary Spreadsheet · in the Training Hub (free GSB Pro account)An Excel (Visual Basic) workbook that comes only with GSB Automation. It reads the statistics CSV and summarises every run so you can compare setups side by side.
Step by Step: Process a Statistics File
- In Excel, open the statistics CSV from
C:\GSB\Data\Exports\Statistics\. The input sheet must be open. - Open the GSBAutomation spreadsheet.
- Click Select Input File and choose your file from the list (shown as WorkbookName;sheetname).
- In Sort By, type what you varied, e.g.
SESSIONin Trademaid's example. - Click Process. Two sheets are added to your input workbook: Final_Output and Summary.
- Straight away, click File → Save As and save it as an Excel workbook. A CSV can't keep the new sheets, so if you don't, the changes are lost.


Reading the Summary Sheet

- Each row is one variation (here a session time). Number of Data is how many tests it averages.
- BC Results cover periods B and C: average, peak, standard deviation, and Ave/Std (higher means more consistent). BCD Results do the same for B, C and D.
- On the right are the average counts in favourites A to D.
- Trademaid's reading: the 0100-1230 session gave the highest results overall. 0600-1230 had a high BC peak but a much lower BCD average, implying a later period was negative.
- In newer versions, Trademaid's Nasdaq example names the F result (out-of-sample net profit ÷ drawdown) and the number of systems in favourites D as the most important.
Hypothetical back-test results from Trademaid's help, shown to explain the method. They do not represent actual trading and may exclude slippage and commission. Past performance is not a reliable indicator of future performance.
Advanced Methods
Watch the lesson: GSB Automation Lesson 7Repeatability and the Short-Cut Method · in the Training Hub (free GSB Pro account)Watch the lesson: GSB Automation Lesson 8Import Indicators, Multiple Managers and More · in the Training Hub (free GSB Pro account)Get comfortable with the basic run first. These options help you tell real improvements from luck, save CPU time, and queue bigger jobs.
Repeatability: Is the Improvement Real?
Trademaid tested how repeatable identical tests are. With 82 indicators, 100 tests of 2,500 systems were repeatable within 4.7%; with 192 indicators, 6.2%. Unless a change improves results by more than that, you can't be sure it helped.
Hypothetical back-test results from Trademaid's help, shown to explain the method. They do not represent actual trading and may exclude slippage and commission. Past performance is not a reliable indicator of future performance.
Trademaid split the methodology in two:
- Older method: building systems to trade on a well-known market, or high-level exploration of a new market where big differences are expected (e.g. secondary filters).
- August 2023 method: looking for small improvements. Use the spreadsheet's median and 2-standard-deviation filter (version 64.1 or later), and do 50, preferably 100, tests of 2,500 systems if CPU time permits. If you're low on CPU power, Trademaid offers a reduced set of 82 trial indicators to import into GSB.
- For both: use the short-cut method below.

- Which green macro? The macro Peter Zwag rejected (slightly worse results) is
green10Fav300.greenMax10is the current supplied macro;greenMax6gave fewer but slightly better gold systems. - The short-cut method below is still current.
- Repeatability varies by market. The spreadsheet shows it in cell AC12 on the Sort tab.
- You only need the full 50 to 100 tests when you change your benchmark setup, not when you're simply looking for systems to trade.
Step by Step: The Short-Cut Method
Build one set of indicators, then build systems from it twice. Never more than twice: a bad indicator set reduces the repeatability of all your results. Trademaid says this cuts CPU time by about 50% with no significant negatives.
- Set Repeat Tests to
50. - Click the … button on Settings Groups.
- Click the … button on Command Seq. (your sequence already has Green, then Build).
- Click Add and set its Command to
Build. - Copy the settings from the first Build to the second, e.g. Max. Uniq. Sys.
2500. Max. # of Workers is optional. Leave Fav. B > X Members, Profit Target and Stop Loss blank. - Click OK (the sequence reads Green, Build, Build), OK again, then Save As and Start.
- Expect 150 steps: 50 indicator builds and 100 system builds.


Step by Step: Queue a Second Settings FileAdvanced
- Click the … button on Settings Groups. Member 0 is your first file.
- Click Add. Member 1 appears.
- Click Opt. Settings → …, select your second file (e.g. Trademaid's
CL15.30test101i, the same setup with 101 indicators) and click Open. - Fill its Command Seq. exactly as before (Green+Orange, Green, Build) and click OK.
- Hover over Settings Groups to check both groups, then Save As and Start. The second file runs after the first.
Import IndicatorsAdvanced
As in Trademaid's second gold video, Automation can build systems, then take the indicators used by the systems in favourites A for another Green and Build pass. In the help's example, Import Loops is set to 1. GSB keeps the indicators used in C:\GSB\Data\Exports\IndicatorsUsed\, one file per manager.
Multiple ManagersAdvanced
The June 2024 update lets several GSB managers run in parallel (Multiple Copies True; Max. Manager Open limits how many). Trademaid says this is only useful with multiple servers or spare GSB cloud workers; on a single computer, keep to one manager. Workers can be set per command with Max. # of Workers on each Build.
Bar Intervals & Day of Week
Watch the lesson: GSB Automation Lesson 6Bar Intervals and Day-of-Week Tests · in the Training Hub (free GSB Pro account)Two newer MOVE features. Get comfortable with the MOVE lists in Interface & Settings first.
Why Bar Intervals Need Matching Sessions
Automation can change the bar interval multiplier, e.g. from 30 to 29 minutes. On the Nasdaq with a 0800-1500 session, 14 × 30 = 420 minutes fits exactly, but 14 × 29 = 406, so the last bar is short. Starting at 0814 makes every bar 29 minutes. Never use bars under 5 minutes: Trademaid says they work poorly and can blow out worker RAM and crash workers.
Step by Step: Test Bar Intervals
- In GSB, click Tools → Sessions. Clone an existing session (e.g.
0830-1500), name the new one0814-1500, and set the open to 8:14 for Monday to Friday. - In Automation, click the #MOVE Bar Interval row and its … button. Add each interval to test, with its Multiplier (e.g. 30, 29) and Enabled True.
- Click the #MOVE Session List row and its … button. Add the matching sessions, set Enabled True, and set each one's Bar Intervals (e.g.
0814-1500→ 29). - Open Settings Groups … → Command Seq. …. Add
#MOVEBarIntervalas member 0 and#MOVESessionas member 1, with Green and Build below. - Click OK, OK, Save As and Start. Each bar interval is tested with the session that suits it.
Day-of-Week TestsNot yet documented step by step
Automation can test one day of the week on its own, or trade four days while rotating the day left out. Markets like crude oil have strong day-of-week and long/short characteristics.
- Enough trades: a day-of-week subset needs more than 300 trades to mean much.
- Loosen the filters: one day is about a fifth of the data, so lower the Pearson and trade-count filters a lot.
- Masks (September 2024): you can program long/short day masks such as "Tue LS, Wed LS, Fri Long", and force one day to be true.
- Peter Zwag's own approach: he adds day-of-week filters last, separately for longs and shorts, and checks them out of sample.

- Crude oil, each day: tested long and short, long only and short only, Wednesday long & short was clearly best; then Tuesday short with Wednesday long & short.
- "Best" is defined by the number of systems in favourites B and C, and the out-of-sample fitness results (E + F).
- Long-only market, one short day: in GSB, Trading Periods → Week-Days sets each day's position. Adding short on Tuesday, and perhaps Thursday, looked better than long only, but only 4 tests of 2,500 systems were done, so more are needed.
- To compare days in newer spreadsheets, put DayofWeek in a Sort By box.
Hypothetical back-test results from Trademaid's help, shown to explain the method. They do not represent actual trading and may exclude slippage and commission. Past performance is not a reliable indicator of future performance.
Reference & Tips
Your First Run, at a Glance
- Install to
C:\GSB\GSB_AUTOMATION(never intoC:\GSB). - Copy the macros to
C:\GSB\Data\Settings\Macros\. - In GSB: File → Save Optimization Settings As…
- In Automation: Settings Groups … → Add → Opt. Settings … → your file → Open.
- Command Seq. … → Add
GReen+ORange→ AddGReen→ AddBuild→ OK → OK. - Match the Macros Table; Repeat Tests
1; Default AutoExitTrue. - Hover to check, Save As, Start.
New Features (from Trademaid's help)
- June 2024: refinements to allow multiple managers, and much faster processing for users with lots of workers running managers in parallel
- August 2024: with AutoExit True, managers will not auto-exit if Fav A has >290 systems, Fav B >30, Fav C >20 or Fav D >10
- August 2024: more day-of-week features
Troubleshooting Tips
- GSB broken after install: never install Automation in a GSB folder such as
C:\GSB - Can't see your settings file: save it in
C:\GSB\Data\Settings\Optimization\Manager - Inconsistent results: identical tests vary because the random seed picks different systems; use Repeat Tests (4 for thorough tests, more for small improvements)
- Slow runs: add workers, or use the short-cut method
- Automation fails to run: update GSB to its newest build, and make sure every macro in the Macros Table exists in GSB. Only a GSB Manager can be driven, not GSB Standalone
- A step never finishes: some secondary filters can hang. Set an Automation timeout of about twice the expected manager time
- "indicators*.csv is missing": Import Loops is above 0, but no earlier pass exported its indicators
- Automation opens the old GSB after an update: set Path Mode to exe and point it at the new manager. Stop any running job before a major GSB update
- Logs are in
%AppData%\Roaming\GSB Automation\log - Test small first: try a new setup with tiny builds (5 to 500 systems) before a long run
- Queueing several Automation windows: number them with the sequence field (0, 1, 2…)
- Statistics missing: set custom export to False for the full statistics
- Odd numbers: use US number formats in Windows
- Header numbering or a macro goes wrong: remove spaces and special characters from macro names and Header Text. Automation uses a space to separate command-line items, so
GC v1breaks Append Header Mode; useGCv1, or put the text in quotes
Best Practices
- Change one setting at a time and compare with your benchmark
- Leave any row this guide doesn't cover as it is
- Use Save As before you change anything
- Don't use bars under 5 minutes
- Save the spreadsheet as an Excel file straight after processing
For anything not covered here, see Trademaid's GSB Automation help.
Ready to Automate Your Workflow?
GSB Automation, with its summary spreadsheet, is bought from Trademaid. See Trademaid's page for current pricing and licensing.
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.