Articles · Virtual Risk Desk · Published 2026-10-26 · Updated 2026-10-26
MT5 Set Files: How to Load, Save and Version Them
Short answer: A .set file is a text file of an EA's input values. Load it from the EA's Inputs tab (click Load), save your own with Save, and keep every version with a date and the EA version in its name. Test any change on a demo first, and check every input after loading, because a set file built for a different EA version can silently leave settings at their defaults.
Key takeaways
- A set file changes inputs, not strategy. It can't make a risky EA safe.
- Name files with the EA, version, account and date. You'll thank yourself later.
- Always check the values after loading. Mismatches fail quietly.
- Change one thing at a time, on demo, and write down why.
What a set file is
Every expert advisor (EA) has inputs: lot size, magic number, stop distances, grid steps, trading hours and so on. A .set file stores those values as plain text, one input per line. Open one in Notepad and you'll see lines like Lots=0.01. Strategy Tester set files can also hold optimisation ranges.
Vendors often ship "recommended" set files per symbol or risk level. Traders also save their own after tuning. Either way, the file is only a snapshot of inputs. It doesn't record which EA version it was made for, what account it ran on, or why the values were chosen. That's your job.
Where set files live
In MT5, go to File, then Open Data Folder. Inside:
- MQL5\Presets is the default folder when you save or load from a chart's Inputs tab.
- MQL5\Profiles\Tester is where the Strategy Tester keeps its settings.
Each terminal has its own data folder. If you run several terminals on a VPS, each has its own Presets folder, which is an easy way to end up with different settings on different accounts.
How to load a set file
On a chart: 1. Drag the EA onto the chart (or double-click it if attached, via the EA's properties). 2. Open the Inputs tab. 3. Click Load and choose the file. 4. Read every value. Check lot size, magic number and any risk inputs in particular. 5. Click OK.
In the Strategy Tester: select the EA, open the Inputs tab, right-click and choose Load.
How to save one
Set the inputs you want, open the Inputs tab and click Save. Give it a clear name (see below). Do this every time you change a live EA's settings, before the change, so you always have the old version.
Version your set files
A file called settings_final2.set is no use at 3am. Use a pattern like:
EAname_v2.4_EURUSD_acc12345_2026-10-26.set
Then keep a simple change log next to the files:
| Date | EA | EA version | Account | File | What changed | Why |
|---|---|---|---|---|---|---|
| 2026-10-26 | … | 2.4 | Demo | … | Lot 0.01 → 0.02 | Testing scaled sizing |
Back up the folder off the VPS. A copy in a synced folder or private repository is enough. When an EA update arrives, treat the old set file as suspect until you've checked it against the new inputs. Our canary process for MT5 and EA updates covers that rollout.
Test changes on demo first
Any change to a live EA's inputs is a change to its risk. Before you make it:
- Backtest it on the same symbol and period as the old settings, using real ticks where you can. See how to backtest an MT5 EA.
- Compare drawdown, not just profit. Bigger lots or tighter grid steps can look better until the worst run. Reading MT5 backtest drawdown explains what to look for.
- Run it on a demo on the same broker server for long enough to see normal behaviour.
- Change one thing at a time, so you know what caused any difference.
- Promote to live only with the new file saved and logged, and the old one kept. After you rebuild charts from set files, or after a VPS restart, confirm every EA actually attached: VRD Terminal Health compares charts and EAs with the snapshot it saved before the terminal stopped.
Common pitfalls
- Wrong EA version. Renamed or new inputs stay at defaults, silently.
- Wrong symbol. A set built for one pair's volatility used on another.
- Duplicate magic numbers. Two EAs loaded from copied files with the same magic number can't be told apart, by you or by your tools. See running multiple EAs on one MT5 account.
- Lot size vs account size. A vendor set made for a larger deposit, run on a smaller one. Check how much capital you need to run an EA.
- "Recommended" sets as evidence. A set file says nothing about live results.
- Edits on the live chart without a saved copy. No way back.
Track the effect of each change
After a settings change, you want to know whether that EA behaves differently. The free VRD Insight tracker (free on the MQL5 Market) splits results by magic number, so each EA's results and closed-trade drawdown are shown on their own row. Note the date of each change in your log, and compare before and after.
If you want each EA to have its own loss limit regardless of its settings, VRD Guardian sets per-EA drawdown bands against each EA's operating capital.
If you'd rather review suggested sizing from an EA's own closed trades and save it yourself, VRD Complete combines Insight, Guardian and Quant, plus editable EA Passports and calibrate-and-save sizing.
Go further
Set-file versioning is one part of running EAs like an operations team. The How to Build an AI Trading Desk playbook includes registers and checklists for settings, updates and restarts.
Related reading
- MT5 Update Broke My EA? Use a Canary Process
- How to Backtest an MT5 EA Properly: Ticks, Costs, Set Files
- Running Multiple EAs on One MT5 Account: Risk and Stats
Free: The MT5 Sunday Restart Runbook
Two full chapters and two checklists, 7 pages.
Get the operations playbook · $49
The How to Build an AI Trading Desk playbook is a 48-page PDF plus an editable kit: monitoring prompts, the Sunday VPS restart runbook, checklists and capital rules. It is an operations guide, not a strategy, and it does not place trades.
Risk disclaimer: Trading forex and CFDs with leverage carries a high risk of loss, and you can lose more than you expect. Changing EA settings changes its risk. Backtests and demo results do not guarantee live results. Nothing here is financial advice.
Frequently asked questions
What is a .set file in MT5?
A small text file that stores an EA's input values. Loading it fills the EA's Inputs tab in one go, so you don't have to type every setting by hand.
How do I load a set file in MT5?
Attach the EA to a chart, open the Inputs tab, click Load and choose the .set file. Check the values, then click OK. In the Strategy Tester, right-click the Inputs list and choose Load.
Where are MT5 set files stored?
By default in the terminal's data folder, under MQL5\Presets for charts and MQL5\Profiles\Tester for the Strategy Tester. Open it with File, then Open Data Folder.
Can a vendor's set file make an EA safe?
No. A set file only changes inputs. It doesn't change how the strategy behaves in a drawdown, and a recommended set is not evidence of how it will perform on your account.
Why does my set file not load all settings?
Usually because the EA version changed. Inputs that were renamed or added don't match the file, so they stay at their defaults. Always check every value after loading.
One EA blowup costs more than the whole suite.
VRD Complete contains single-EA blowups and frees capital you have parked as idle buffers. $149 at launch pricing.