FxRobotEasy Editorial · 9 terms in this cluster
MetaTrader Files & Configuration Glossary — .set, .tpl, Magic Number
MetaTrader file formats, configuration files, and the operational glossary of running EAs in production.
MetaTrader's file ecosystem is one of the things experienced EA users learn by exposure and rarely have explained clearly. This cluster collects the file formats and configuration concepts you need to understand to operate EAs at scale — running multiple EAs on one account, switching between configurations cleanly, sharing setups with other traders, and avoiding the operational pitfalls of multi-EA accounts.
The `.set` file (MetaTrader preset) stores EA input parameter values. Vendors distribute recommended `.set` files alongside their EAs (e.g. `MyEA_EURUSD.set`, `MyEA_XAUUSD.set`), and traders create their own after parameter optimisation. Managing `.set` files well — naming conventions, version control, documentation — is part of operating EAs as a professional rather than a hobbyist.
The `.tpl` file (chart template) stores complete chart visual configuration including applied indicators, drawing objects, colour scheme, and the attached EA. Templates let you recreate complex chart setups across charts. Vendor-distributed `.tpl` files typically include their recommended indicator overlays alongside the EA itself.
Magic numbers are the unique identifiers that distinguish one EA's trades from another's on the same account. Running multiple EAs on a single account requires careful magic-number assignment — conflicts produce subtle bugs where EAs modify or close each other's positions. Standard practice is to use 4-8 digit unique integers per EA instance, documented in a central registry for the account.
Symbol mapping addresses the broker-naming-convention problem: the same instrument (EUR/USD) is named differently across brokers (`EURUSD`, `EURUSD.r`, `EURUSDpro`, etc.). EAs that hardcode symbol names break when switched between brokers; robust EAs include mapping logic or expose symbol names as configurable inputs.
For commercial EAs: vendor distribution typically includes both `.ex5`/`.ex4` binary files and `.set` files for recommended configurations. Higher-quality vendors also include `.tpl` files for recommended chart setups and detailed documentation of magic-number defaults, symbol-mapping configuration, and parameter explanations.
For self-developed EAs: invest time in the operational layer (clean parameter exposure, magic-number management, documentation) even though it feels less glamorous than strategy development. Production operation depends on operational quality more than strategy sophistication; a well-operated mediocre strategy beats a poorly-operated brilliant one.
All 9 terms in this cluster
.set File (MetaTrader EA Preset)
beginnerA .set file is a MetaTrader preset file containing saved EA parameter values. Traders save optimised parameter sets to .set files for easy switching between configurations (e.g. on…
.tpl File (MetaTrader Chart Template)
beginnerA .tpl file is a MetaTrader chart template containing the visual configuration of a chart — applied indicators, drawing objects, colour scheme, time scale, and which EA is attached…
Magic Number (EA Identifier)
intermediateA magic number is an integer identifier attached to every order placed by an EA, allowing the EA to distinguish its own positions from other trades (other EAs, manual trades). Each…
MQL5 Symbol Mapping
intermediateSymbol mapping in MQL5 handles the variation in how brokers name the same instrument — EUR/USD might be 'EURUSD', 'EURUSD.r', 'EURUSDpro', or 'EURUSD-Pro' depending on the broker. …
Default Value
beginnerDefault values are the parameter settings shipped with an EA or indicator — the values that apply if the trader does not modify them. Vendor-supplied defaults are starting points, …
.ex5 File
intermediateA .ex5 file is the compiled bytecode artefact produced by the MQL5 compiler — the form in which Expert Advisors, indicators, and scripts are actually distributed and loaded by Meta…
Versioned Changelog
intermediateA versioned changelog is a documented history of changes to an EA — version numbers, dates, what changed in each version. Essential for vendor accountability (buyers know what they…
MQL4
intermediateMQL4 is the programming language used to develop expert advisors, indicators, and scripts on MT4. Simpler than MQL5 — procedural syntax, less type-strict, smaller standard library.…
MQL5
intermediateMQL5 is the modern programming language used to develop expert advisors, indicators, and scripts on MT5. Object-oriented, more strictly typed, larger standard library than MQL4. Re…
Explore other clusters
- → Performance Metrics Glossary — Sharpe, Calmar, Profit Factor, and More
- → Execution & Broker Models Glossary — Slippage, Last-Look, A-Book vs B-Book
- → Order Types Glossary — Market, Limit, Stop, OCO, Trailing, and More
- → Risk Management Glossary — Drawdown, Position Sizing, Kelly Criterion
- → AI & Machine Learning Glossary — Pattern Recognition, Overfitting, Walk-Forward
- → Forex Scam Prevention Glossary — KYC, Chargeback, Ponzi, Regulator Routes
- → Automated Trading Fundamentals Glossary — From EA Design to Live Operation
Back to the full glossary
9 terms in this cluster, 134 terms in the full forex glossary.
Browse all glossary terms →