Home/Markets & Brokers/How to Test an EA on a Demo Account
Markets & BrokersPublished March 2026

How to Test an EA on a Demo Account Before Going Live

Every broker behaves differently. Spreads spike at different hours, fills vary, and what works on one broker can bleed on another. This is the exact process to validate your gold EA on your specific broker โ€” before a single cent of real money is at risk.

๐Ÿ’ก
The core insight

Run each set file for at least 3 full trading days on your broker's demo. Export the MT5 report. Feed it to an LLM. Ask it which hours had the cleanest fills and lowest spread. Then configure your EA to trade only those hours.

01

Receive Your EA + Set Files

When you purchase any Pro-Scalper EA, you receive the .ex5 expert advisor file and a folder of set files โ€” pre-configured input presets, each representing a different trading style.

Conservative.set
Risk / trade0.5%
Daily trades3โ€“5 / day
Low frequency, tight SL
Moderate.set
Risk / trade1%
Daily trades8โ€“10 / day
Balanced risk, standard
Aggressive.set
Risk / trade2%
Daily trades12โ€“15 / day
High frequency, wider SL
Important: Do not mix set files on the same demo account. Test one set file at a time so you get clean, isolated data per configuration. If you want to test multiple in parallel, open a separate demo account for each.
02

Open a Demo Account on Your Broker

This is the most critical rule: your demo account must be on the exact same broker you intend to trade live. Demo accounts on a different broker are useless for this process โ€” they tell you nothing about the spreads, liquidity, or execution speed you will actually experience.

โš ๏ธ
Why same-broker demo only

Broker A might offer 0.1 pip spread on XAUUSD during London hours. Broker B might offer 0.8 pip spread at the exact same time. An EA that is profitable on Broker A can be a consistent loser on Broker B โ€” purely because of spread. This is why you must test on your broker.

1
Log into your broker's client portal
Most brokers offer unlimited demo accounts โ€” no deposit needed
2
Open a demo with the same account type as your planned live account
ECN demo if going ECN live, Standard demo if going Standard live
3
Use a balance that matches your real plan
$1,000โ€“$10,000 depending on your actual starting capital
4
Install MT5 and log in with the demo credentials
Ensure the demo connects to the same server as live
03

Load Each Set File โ€” Run for 3+ Days

Attach the EA to XAUUSD on your demo account and load the set file via the EA inputs panel. Then leave it running for a minimum of 3 full trading days โ€” do not interfere.

Why 3 days minimum?
Day 1
Captures the Monday open โ€” often wider spreads as liquidity returns after the weekend
Day 2โ€“3
Mid-week trading โ€” the cleanest spreads and most representative of normal conditions
Day 4+
Optional but ideal โ€” captures any Thursday/Friday liquidity shifts before the weekly close

How to load a set file in MT5

1.Open the EA inputs: double-click the EA on the chart โ†’ click "Inputs" tab
2.Click "Load" at the bottom of the inputs panel
3.Navigate to the set file folder and select the .set file
4.Click "OK" โ€” the inputs populate automatically
5.Ensure "Allow AutoTrading" is enabled (the toolbar button should be green)
Leave it alone. Resist the urge to tweak settings or close trades manually. The purpose of this phase is to collect clean, uninterrupted data โ€” not to optimise results. Three days of clean data is worth more than a week of interfered data.
04

Export the MT5 Strategy Report

After 3+ days, export the full trade history from MT5. This report is what you will feed to the LLM in the next step.

How to export the report

1
Open Account History
In MT5: View โ†’ Terminal โ†’ Account History tab
2
Set the date range
Right-click inside the history panel โ†’ Custom period โ†’ select your 3-day window
3
Save as Report
Right-click again โ†’ Save as Report (HTML format is easiest to copy)
4
Open in browser
The HTML file opens a full trade-by-trade table with open time, close time, profit, and swap
5
Copy the trade table
Select all rows (Ctrl+A), copy, and paste into your LLM of choice โ€” or save as CSV for file upload
What the report contains: open time, close time, symbol, type (buy/sell), lot size, open price, close price, swap, commission, and profit/loss per trade. The open time column is the key data point โ€” it tells you exactly what hour each trade was opened and how it performed.
05

Feed the Report to an LLM

This is the step most traders skip โ€” and it is the most powerful. An LLM can scan your entire trade history in seconds, group trades by hour, calculate win rate and average P&L per time window, and tell you exactly which hours your EA performed best on your specific broker.

Why each broker is different

Spread on XAUUSD is not fixed โ€” it changes dramatically by hour. The chart below shows a typical spread pattern. Your broker may differ significantly. The only way to know is to measure it directly with your own demo data.

00:00โ€“02:00
Asian open
High
03:00โ€“06:00
Mid-Asian
Medium
07:00โ€“08:00
London open
Low
08:00โ€“12:00
London session
Low
13:00โ€“16:00
NY + London overlap
Lowest
16:00โ€“20:00
NY session
Low
20:00โ€“22:00
NY close
Medium
22:00โ€“00:00
Rollover
Very High

* Indicative pattern only. Your broker's actual spread profile will vary โ€” hence the need to measure it yourself.

Which LLM to use

๐ŸŸขChatGPT (OpenAI)

Paste report as text or upload CSV

๐ŸŸ Claude (Anthropic)

Excellent at table & pattern analysis

๐Ÿ”ตGemini (Google)

Upload HTML report directly

The exact prompt to use

Copy this prompt, paste your MT5 report data below it, and send it to your chosen LLM:

PROMPTCopy and paste into ChatGPT / Claude / Gemini
I have attached my MT5 trading report (3 days of demo trades on XAUUSD).

Please analyse the data and tell me:
1. Which hours (UTC) had the best win rate and lowest spread?
2. Which hours should I avoid due to high spread or poor fills?
3. What time filter should I set in my EA settings for this broker?

Broker: [your broker name]
EA: [EA name]
What the LLM will tell you
โœ“A breakdown of win rate and average profit by UTC hour
โœ“The specific hours where spread was highest (biggest losing trades)
โœ“A recommended time filter window for your EA (e.g. "trade 07:00โ€“20:00 UTC only")
โœ“Any patterns specific to your broker (e.g. spread spike at rollover, low fill quality at Asian open)
06

Apply the Best Hours & Go Live

Take the LLM's recommendation and update the EA's time filter inputs before switching to a live account. Every Pro-Scalper EA has StartHour and EndHour inputs in the settings panel.

StartHour = 7
EA will not open new trades before this UTC hour
EndHour = 20
EA will not open new trades after this UTC hour
โœ…
You are now ready to go live

You have tested the EA on your specific broker, collected real spread data, and tuned the time filter to avoid the worst hours. This is exactly how professional EA traders validate a new setup โ€” and it takes less than a week to complete.

Frequently Asked Questions

How long should I run the EA on demo before going live?

Minimum 3 trading days per set file. This captures at least one full week cycle of broker spread patterns โ€” including the tighter London/NY overlap sessions and the wider rollover window at 22:00 UTC.

Does the demo account need to be with the same broker I will trade live?

Yes โ€” this is critical. Every broker has different spreads, execution speeds, and liquidity at different hours. A demo on Broker A tells you nothing useful about Broker B. Always test on the exact broker you plan to trade live.

What format should I export the MT5 report in?

Export as HTML from MT5 (right-click the account history โ†’ Save as Report). You can then open it in a browser and copy-paste the trade table into the LLM, or use a browser extension to export as CSV for easier analysis.

Can I use all three set files at the same time on one demo?

No โ€” run one set file at a time so the results stay clean. Open a separate demo account for each set file if you want to test them simultaneously.

What if the LLM says avoid a session my EA is configured for?

Adjust the EA's StartHour and EndHour inputs to exclude that window. Each Pro-Scalper EA has these settings exposed in the inputs panel so you can dial in your broker's optimal hours.

Is three days of data enough for the LLM analysis?

It's enough to identify obvious spread spikes (especially the rollover window and Asian session). For a deeper pattern you can run 5โ€“7 days. The goal is not a full backtest โ€” it's finding broker-specific hours to avoid.

๐Ÿ†

Ready to test your EA?

Every Pro-Scalper EA comes with multiple set files, full documentation, and direct support to help you get through the demo validation process and onto a live account with confidence.