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
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.

Importing crude oil data in exchange time

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

Random-noise verification data: 4 streams with 5 ticks and 4 with 10 ticks
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 indicators for crude oil

Trading Times 10:00 - 14:30, build dates to 2015-06-30, Max. Stop Loss 1000
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
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

Use SumOfIndicatorsSign mode when building with two indicators

First pass removes red indicators; second pass keeps only green for final builds
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

On Opt. Completed = True runs macro M1 (build + walk-forward of the top 250) once the build finishes
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).
Hypothetical Performance Disclosure
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.
These systems were built with Genetic System Builder: its genetic algorithm search finds candidate systems, the walk-forward and robustness tests check them, and the code export puts them on your trading platform. See how GSB compares with StrategyQuant and Build Alpha.
Related case studies
Crude Oil Fast Revised Methodology: Efficient System Building
Out-of-sample fitness should rise from pass 1 to pass 2; if it doesn't, recheck the setup.
Read case studyCore GSB Methodology: From Baseline to Robust Trading Systems
Record a baseline first, then judge every change against it on data the systems weren't built on.
Read case studyFree: 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.
Try this yourself
Follow the same steps on your own market. Start with these Strategy Guide pages, which have the exact settings and clicks:
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).