Crude Oil Futures (CL)
    15 & 30-Minute Bars, Exchange Time

    Crude Oil Methodology Setup: Complete Configuration Guide

    In brief

    The goal
    Prepare GSB for building crude oil systems before the first build.
    What Trademaid did
    Trademaid set up exchange-time data with noise-added verification streams, tested secondary filters one at a time, then chose indicators in two passes with two indicators per system.
    What it shows
    Why crude oil gets different secondary filters, entry type and trading times from stock index futures.
    Main caveat
    Trademaid marked this page as not complete and under construction (March 2020). It reports no performance figures.

    Want to build this yourself? Practical Build 7: Crude oil: the day-of-week method takes you through it in GSB, step by step (free with a GSB Pro account).

    Scenario

    Trademaid's crude oil setup: data preparation with noise-added verification data, secondary filter discovery, indicator selection and the macros used before building crude oil systems.

    Before building any trading systems, proper setup determines whether your results will be robust or riddled with data mining. Crude oil requires particularly careful configuration because it behaves differently than equity index futures: it responds to different secondary filters, uses different entry types, and requires specific session definitions to avoid false signals from the volatile first trading hour. This methodology walks through every setup decision from data import through secondary filter testing to ensure your foundation is solid before building the first system.

    Approach

    1
    Step 1: Import and Verify Your Data

    Set up your data streams properly:
    • Import 1-minute crude oil data in exchange time (9:00 - 14:30)
    • Use the multiplier to make 15-minute and 30-minute bars from the same file
    • Add verification price data with random noise:
    - 4 streams with 5 ticks of noise
    - 4 streams with 10 ticks of noise

    Noise streams filter out curve-fitted systems later.
    Data import dialog showing exchange time

    Importing crude oil data in exchange time

    Multiple timeframe configuration

    15- and 30-minute bars made from 1-minute exchange-time data using the multiplier

    Verification data streams with noise added

    Random-noise verification data: 4 streams with 5 ticks and 4 with 10 ticks

    2
    Step 2: Discover Best Secondary Filter

    Test which secondary filter works for crude:
    • Start with a small set of indicators that work on crude oil (e.g. AverageFc, MyStochastic, MyRSI, HighestFc, CounterTrend)
    • Run macro M13 (Group 3) for the basic settings
    • Session: data 9:00 AM - 2:30 PM, trading Times 10:00 AM - 2:30 PM
    • Build systems with the secondary filters enabled
    • Check the secondary filter (SF) statistics
    Starting indicator set

    Starting indicators for crude oil

    Critical session timing configuration

    Trading Times 10:00 - 14:30, build dates to 2015-06-30, Max. Stop Loss 1000

    3
    Step 3: Test Secondary Filters Individually

    Identify the winners:
    • Run macro M14 (Group 3)
    • Build systems with ONE secondary filter at a time (Trademaid: using several at once significantly degrades results)
    • Filters that scored well in Trademaid's SF statistics:
    - CloseLessPrevHighD
    - CloseLessPrevLowD
    - CloseOverPrevHighD
    - CloseOverPrevLowD
    4
    Step 4: Optimize Your Indicator Set (Recommended)

    Find indicators that work with your chosen filter:
    • Run macro M15 (Group 3) for two-indicator builds
    • Calculate the indicator statistics
    • First pass: select green AND orange
    • Second pass: rebuild, select ONLY green
    • Use SumOfIndicatorsSign sign mode when building with two indicators
    Sign mode indicator configuration

    Use SumOfIndicatorsSign mode when building with two indicators

    Two-pass indicator filtering results

    First pass removes red indicators; second pass keeps only green for final builds

    5
    Step 5: Build Final Systems and Select Families

    Create your trading candidates:
    • Build systems with your chosen settings
    • Turn on On Opt. Completed to run the next macro automatically
    • Or manually run macro M1 (Group1) after build
    • Run macro M3 (Group1) for statistics
    • Run M5 and M6 (Group2) for stability scores
    • Create families from top 91 VSS systems
    • Families whose members are consistently good are the candidates for further testing
    Opt Complete automation setting

    On Opt. Completed = True runs macro M1 (build + walk-forward of the top 250) once the build finishes

    Build this yourself: Practical Build 7, Crude oil: the day-of-week method

    Free for members

    Every step in GSB, one at a time: the settings file, the macros, the run, reading the stats and choosing candidates.

    Results & Insights

    The setup phase shows why crude oil needs its own settings. The CloseLessPrevHighD/LowD and CloseOverPrevHighD/LowD secondary filters scored well on crude oil, while Trademaid notes that stock indices tend to work best with a CloseminusCloseD{BPV}-type secondary filter. Trading starts at 10:00 AM, after the first hour of the session. Noise-added verification data (5 and 10 ticks) is used to check systems aren't fitted to exact prices, and the two-pass indicator selection keeps the indicator choice data-driven. Trademaid's page was still marked as under construction, so check it for updates. Update from the forum: Peter Zwag (GSB's developer) said in March 2023 that the old crude oil macros choose favourites inside the in-sample period and should not be used, and that the crude oil method was being revisited. Copy the current NQ or supplied macros instead. Crude oil builds made before GSB 1.0.65.21 (January 2023) don't match TradeStation from April 2020, because GSB assumed prices couldn't go below zero. Turn TRIX off on crude oil, because it's log-based. The two 50,000-system passes and the families from the top 91 by VSS are part of the older method: Peter now advises against single 50,000-system builds and no longer trusts noise-based VSS scores (see the Core GSB Methodology case study).

    Members only
    Peter's current crude oil build setup (May 2023) and its history

    Peter Zwag's notes on this from Trademaid's private forum for GSB buyers, free with a GSB Pro account.

    Key Takeaways

    Crude oil needs market-specific settings that differ from equity index futures

    Test secondary filters one at a time

    Trading starts at 10:00 AM, after the first hour of the session

    CloseLess/CloseOver PrevHighD/PrevLowD filters scored well on crude oil; stock indices tend to suit CloseminusCloseD-type filters

    Noise-added verification data helps catch over-optimised systems

    Proper setup takes time but saves chasing systems that never worked

    Crude oil systems built before GSB 1.0.65.21 (January 2023) don't match TradeStation from April 2020; turn TRIX off on crude oil

    Terms used here

    Families
    A group of systems that use the same indicators with different parameters (right-click, Create/Update Family). A family with many members, most of them good, suggests the idea doesn't depend on exact parameters. The first member shown is the best of the family, so look at all of them.
    VSS
    How much the average of all the verification price data (for example data with random noise added) degrades from your original data. Trademaid found VSS better than VS, the count of verification streams that pass.

    Free: The GSB Robustness Checklist

    Every check between a good-looking backtest and a system worth watching: shortlisting, families, walk-forward thresholds, verification and the final checks before trading. One page, with links to each step.

    We'll email the checklist to you. See our privacy policy.

    Try this yourself

    Follow the same steps on your own market. Start with these Strategy Guide pages, which have the exact settings and clicks:

    1. 1Building Strategies
    2. 2Macros Overview
    3. 3Validation and Robustness

    Also used in this case study: Selecting Systems

    Want to build this yourself? Practical Build 7: Crude oil: the day-of-week method takes you through it in GSB, step by step (free with a GSB Pro account).

    Start your free 14-day GSB trial on Trademaid and apply the same processes to your own markets.