On this page
Back to tutorials

Test 10 EA Variations in One Day

Duplicate strategies in Strategy Builder, sweep one parameter family, export ten .mq5 files, log Strategy Tester results in one spreadsheet.

📖 17 min read

📝 3,300 words

🏷️ MQL5 & Expert Advisors

Share this article:

Try the workflow from this guide

Open the live demo first — no signup. Sign up later to save your strategy and export from Code Generator.


Test 10 EA Variations in One Day — Strategy Builder Workflow

What do you need before testing 10 EA variations in one day?

Pick one base strategy you already trust (e.g. Donchian Breakout or MA Crossover). In Strategy Builder, create 10 saved copies changing one parameter family per sweep (example: Donchian Length 14, 20, 26, 32, 38 + five ADX Compare thresholds on a filter-only duplicate set). Export each → compile → run Strategy Tester with identical dates, spread, and model → log metrics in a single spreadsheet — pick candidates for Demo, not "the winner forever."

Disclosure: Workflow education — not optimized curve fitting. Ten tests in a day is for decision speed, not proof of future profits.


Why Most Traders Never Finish Parameter Sweeps

You have been here: Saturday morning, coffee, sixteen tabs open. You change Donchian Length in MetaEditor. Compile. Tester. Screenshot. Repeat. By variant four you are tired and start secretly hoping Length 22 wins so you can stop.

The bottleneck is not the Strategy Tester — it is rebuilding the same EA ten times.

Old loopTime sink
Edit MQL5 inputs by handSyntax errors, wrong buffer index
Lose track of which .mq5 is whichCompare apples to oranges
Change signal + filter + risk at onceNo idea what actually moved the needle

What changes with a visual builder: Steps 3–5 stay readable. You duplicate a strategy, tweak Length or Max Daily Trades, export again. Your brain stays on trading questions, not semicolons.

That is the real reason to try the tool — not because a banner said "no code."


What You Need Before You Start (One-Page Plan)

Write this before opening the builder:

ItemYour answer
Base strategye.g. Donchian H1 EURUSD
Fixed settingsSymbol, TF, tester dates, Every tick, spread
Sweep A (5 variants)e.g. Length 14 / 20 / 26 / 32 / 38
Sweep B (5 variants)e.g. ADX filter > 20 / 22 / 25 / 28 / 30
Success metricProfit factor, max DD, trade count — pick two only
Out-of-sample?Hold last 20% of dates unseen until final pick

If you cannot fill the table, read Build EA Without Coding first.


The One-Day Workflow (Hour by Hour)

Rough schedule for a focused day (breaks included):

BlockTimeTask
Setup0:00–1:00Base strategy built & saved; spreadsheet columns ready
Sweep A1:00–3:305 duplicates → 5 exports → 5 tester runs
Lunch3:30–4:00
Sweep B4:00–6:305 filter variants (clone from best A candidate)
Review6:30–7:30Rank by your two metrics; shortlist 2 for Demo
Optional+1hLondon session or news filter on shortlist only

Naming convention: Donchian_H1_L20, Donchian_H1_L26_ADX25 — future you will thank you.


Example Sweep: Donchian Length + ADX Filter

Base: Donchian Breakout EA — Breakout Up/Down, Period 5, Length 20.

Sweep A — only Length on Step 3:

VariantDonchian Length
V114
V220 (base)
V326
V432
V538

Sweep B — add filter on best two from A (example: V2 and V3):

Duplicate → Step 4 add ADX Compare > threshold:

VariantADX Compare value
F120
F222
F325
F428
F530

Reference: ADX Trend EA for ADX condition fields.


How to Record Results Without Fooling Yourself

Minimum spreadsheet columns:

ColumnExample
strategy_nameDonchian_H1_L26_ADX25
net_profit1,240
profit_factor1.18
max_dd_pct12.4
trades87
notesFewer trades, smoother equity

Rules:

  1. Same tester window for all ten rows.
  2. Do not drop "bad" runs until all ten are logged.
  3. Pick two finalists for Demo — not the highest profit row if DD doubled.

Strategy Tester vs Live before funding live.


Strategy Builder vs Rewriting MQL5 Each Time

TaskHand-written MQL5Strategy Builder
Change Donchian LengthFind input, recompile, hopeStep 3 parameter, re-export
Add ADX filter AND groupCustom codeStep 4 + AND
Ten versions in a dayUnrealistic for mostRealistic with discipline

Competitors (Wizard, blocks, AI prompts) each have sweeps pain — see Best MT5 No-Code Builders Compared. This workflow is why visual structure wins for iteration speed.


Next Steps

Stuck on variant three in MetaEditor? Open the live demo for fifteen minutes — duplicate your base strategy once, change only Donchian Length, export, and run one tester pass. If that felt faster than editing .mq5, you have your answer about whether the builder earns a place in your weekend workflow. Save and export the full sweep when you want ten rows in your spreadsheet.

References: Strategy Tester · Build EA Without Coding.

Build this EA in Strategy Builder

Start in the live demo — no signup required. Walk through signals, filters, and risk. Create a free account only when you want to save and export MQL5.

Frequently Asked Questions

Yes for parameter and filter sweeps on one base strategy — if you use Strategy Builder to duplicate saved strategies instead of rewriting MQL5. Expect 6–10 hours focused work: define variants, export, run Strategy Tester, log results in a spreadsheet. You are comparing process quality, not claiming the best 10 combos forever.

You export up to 10 .mq5 files from saved strategy versions (or re-export after edits). Compile each once. The time saver is editing Length, thresholds, and Step 4/5 in the builder — not hand-editing indicator handles.

Vary one family at a time: e.g. five Donchian Length values OR five ADX filter thresholds — not both at once on the first pass. Otherwise you cannot explain which change helped.

Demo is for trying the workflow without signup. Saving multiple named strategies and bulk export typically needs a free account and Code Generator access on your plan.

No guarantee. Use out-of-sample dates, realistic spread, and Demo. See Strategy Tester vs Live.

Try Strategy Builder — no signup

Try Strategy Builder — No Signup