Loading GSB Functions

    Important first step: load the GSB functions into TradeStation or MultiCharts before using GSB systems

    Prefer to watch? This page has a video lesson

    Module 6: Going Live · Training Hub · free with a GSB Pro account

    Create your free account to watch the videos →

    What you need
    • GSB installed (Standalone or Manager)
    • Your trading platform installed and open: TradeStation (with its Development Environment) or MultiCharts (with its PowerLanguage Editor). NinjaTrader 8 users: see NinjaTrader 8
    • About five minutes. You do this once, and again whenever GSB gives you a newer script file

    What the GSB functions are, and why you need them

    A system that GSB builds is written as code for your platform. That code doesn't contain everything itself: it calls GSB's own helper functions for its indicators and filters. In TradeStation they show up with names starting GSB_, for example GSB_Cci, GSB_RoofingFilter2PoleFilter2 and GSB_ZeroSafe.

    Trademaid's help puts it simply: these functions need to be imported into MultiCharts or TradeStation before the system code (scripts) developed in GSB will work. If they're missing, the system code won't verify. So load them first, before you paste in any GSB system.

    Newer builds can export the files for you. From build 76.35 (August 2026), GSB can export the .ELD and .pla function files itself. Peter Zwag (GSB's developer) says that with this export there should be no need to import the files that come with GSB. If you don't use it, the rule below still applies: load the newest supplied file after every GSB update.

    PlatformFile to loadWindows file typeHow to load it
    TradeStationGSB_ALL_FUNCTIONS_yyyy_mm_dd.ELD (older builds: GSB_SCRIPTS_yyyy_mm_dd....ELD)EasyLanguage DocumentDouble-click it, or File → Import in the TradeStation Development Environment
    MultiChartsGSB_Scripts_..._MC.plaPLEditor.DocumentDouble-click it, or File → Import in the MultiCharts PowerLanguage Editor
    NinjaTrader 8No script file: uses the GSB AddOn insteadNinjaScript AddOnControl Center → Tools → Import → NinjaScript Add On, then compile. See NinjaTrader 8 below

    Step 1: Open GSB's Supplementary Scripts folder

    1. Open GSB.
    2. Click File → Supplementary Scripts (TS & MC). Hovering over it shows the tip Open GSB's supplementary scripts folder (for TradeStation's EasyLanguage and MultiCharts's PowerLanguage).
    3. A Windows folder window opens. This is where GSB keeps the function scripts.
    GSB File menu with Supplementary Scripts (TS & MC) highlighted and its tooltip showing

    In GSB: File → Supplementary Scripts (TS & MC)

    Step 2: Pick the newest file

    The folder holds an .ELD file for TradeStation and a .pla file for MultiCharts. The names include a date, for example GSB_SCRIPTS_2018_08_05E...ELD and GSB_Scripts_20180805_MC-20180924_MC.pla in Trademaid's screenshot. Your dates will be newer.

    • Always load the latest one: the newest date in the file name.
    • Current builds name the TradeStation file GSB_ALL_FUNCTIONS_YYYY_MM_DD.ELD, sometimes with _2 (and so on) on the end for a second release that day.
    • The file must be at least as new as your GSB build. Exported code names the date it needs in its dummy line (see Common errors).
    • MultiCharts uses the .pla file, not the .ELD.
    • Ignore the other files in the folder (Trademaid's screenshot also shows a .tsw workspace and a readme). You don't need them to load the functions.
    The Supplementary Scripts (TS & MC) folder showing a GSB_SCRIPTS ELD file for TradeStation and a GSB_Scripts _MC.pla file for MultiCharts

    The Supplementary Scripts folder: the .ELD is for TradeStation, the _MC.pla for MultiCharts (older build; your file names will have newer dates)

    Step 3 (TradeStation): import the ELD

    Trademaid gives two ways. Use either one.

    Option A: double-click

    1. With TradeStation installed, double-click the newest .ELD file in the Supplementary Scripts folder.
    2. TradeStation's import opens. Follow its prompts to the end.

    Option B: import from the Development Environment

    1. Open the TradeStation Development Environment.
    2. Click File → Import.
    3. In the Open window, browse to the Supplementary Scripts folder. (Tip: copy the folder's address from the window GSB opened in Step 1.)
    4. Leave the file type on EasyLanguage Archive and click the newest .ELD file. Its name appears in File name.
    5. Click Open, then follow the prompts to the end.
    TradeStation Development Environment Open dialog with GSB_SCRIPTS_2018_01_01.ELD selected and an arrow to Open

    TradeStation Development Environment: File → Import, select the newest ELD, click Open (older build)

    Trademaid's help doesn't list the screens TradeStation shows after you click Open (which items to tick, whether to overwrite existing functions). The usual approach is to import everything in the file. If you're unsure, check Trademaid's current help or TradeStation's help for importing EasyLanguage files.

    Step 3 (MultiCharts): import into the PowerLanguage Editor

    1. In the Supplementary Scripts folder, find the newest MultiCharts file (the _MC.pla file, type PLEditor.Document).
    2. Double-click it, or open the MultiCharts PowerLanguage Editor and click File → Import, choose the file and click Open.
    3. Follow the prompts to the end.

    MultiCharts needs the .pla file. Older help said to load "the latest ELD" into either platform, but since build 70.58 the TradeStation functions use object-oriented EasyLanguage that won't compile in MultiCharts. More on MultiCharts: Export to MultiCharts.

    NinjaTrader 8: the GSB AddOn instead

    NinjaTrader doesn't use the Supplementary Scripts files. Its equivalent is the GSB Lib AddOn. In short (lesson 23):

    1. Download the latest GSB and the NinjaScript AddOn through the Resource Manager.
    2. In the NinjaTrader Control Center, click Tools → Import → NinjaScript Add On.
    3. Pick the most recent file (sorting by Date modified helps) and click Open.
    4. Compile the AddOn. It won't work until it's compiled.
    5. Set up Trading Hours templates that match the sessions you used in GSB.

    Every click, with screenshots, is in Part A of Export to NinjaTrader.

    Step 4: Check it worked

    1. TradeStation: in the Development Environment, open one of the new functions, for example GSB_Cci. It opens as a Function, like the tabs in the screenshot above.
    2. The real test: when you paste your first GSB system into a new strategy and verify it, it verifies with no errors. That's covered step by step on Export to TradeStation.
    3. MultiCharts: the same test: the pasted GSB system compiles with no errors in the PowerLanguage Editor.
    Pass / fail checklist
    • You opened the folder from GSB with File → Supplementary Scripts (TS & MC)
    • You loaded the file with the newest date: .ELD for TradeStation, the MultiCharts file for MultiCharts
    • The import finished without errors
    • GSB_ functions (such as GSB_Cci) are now listed in your platform
    • A GSB system pasted into a new strategy verifies (compiles) with no errors

    All five ticked? You're ready to export your first system.

    Common errors

    The GSB system won't verify (compile): a GSB_ function is unknown

    The GSB functions aren't loaded, or an older set is loaded. Open GSB's File → Supplementary Scripts (TS & MC) folder again, import the newest file, then verify the strategy again.

    Value1 = GSB_Scripts_YYYY_MM_DD; won't verify

    Exported GSB code starts with a dummy line such as Value1 = GSB_Scripts_2025_12_15;. It does nothing except check that your function file is at least as new as the code. If it won't verify, your functions are older than your GSB build: load the newer file. Commenting the line out (//) only works as a stop-gap, because the newer functions the code needs will still be missing.

    A function for a brand-new GSB feature is unknown, even with the newest file

    The TradeStation version of that feature may not be written yet. Report it to Trademaid rather than editing the code.

    It verified before, but not after you updated GSB

    Trademaid's rule is to load the latest ELD. Close any GSB Managers and GSB Automation before you update GSB. After updating, open the Supplementary Scripts folder again and import the newest file there.

    You can't find the folder

    Its location depends on where GSB is installed. Don't browse for a fixed path: open it from GSB with File → Supplementary Scripts (TS & MC).

    Several script files in the folder

    Pick the one with the newest date in its name. Older files can stay where they are.

    Imported into the wrong platform

    The .ELD file is for TradeStation. MultiCharts needs the .pla file (see the MultiCharts section). NinjaTrader doesn't use either file.

    Functions are loaded but results don't match GSB

    That's a chart or settings problem, not a functions problem. Check bars back (500), session times, time zone, data, slippage and commission: see the reconcile checks on Export to TradeStation.

    Next Steps

    With the functions loaded, you're ready to put a system into your platform: copy its script from GSB, paste it into a strategy, set bars back to 500, match the chart to your GSB data and check the results match. Export to TradeStation walks through it click by click, then covers simulation and going live.

    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.