FxRobotEasy Editorial · 87 terms in this cluster
Automated Trading Fundamentals Glossary — From EA Design to Live Operation
Vocabulary for designing, validating, deploying, and operating Expert Advisors on MetaTrader — the full lifecycle from idea to live capital.
Automated trading on MetaTrader sits at the intersection of several disciplines — strategy design, statistical validation, software development, operational hygiene, and risk management — and most retail attempts fail because they engage only one or two of those layers. This cluster collects the vocabulary you need across the full lifecycle from initial EA concept to sustained live operation, with realistic framing about where the failure modes typically occur.
The entry point is the EA architecture. Every Expert Advisor, regardless of complexity, decomposes into four layers: signal (when to enter), filter (when not to enter — news filter, regime filter, session filter), risk (how much to size each trade — position-size cap, daily loss limit, drawdown trigger), execution (how to submit and manage orders — market execution, fill rate, slippage tolerance). Understanding which layer is responsible for any observed behaviour is the foundational debugging skill. Most retail discussion focuses on the signal layer because it is the most marketing-visible, but live performance is typically dominated by execution and risk discipline.
The MetaTrader 5 ecosystem provides the runtime. MT5 hosts the EA, MetaEditor compiles the MQL5 source into the .ex5 binary, the Strategy Tester replays historical data through the strategy logic for backtest evaluation, the Expert Journal logs operational events and errors, Market Watch governs which symbols receive live ticks. The MQL5 Marketplace is the highest-trust distribution channel for commercial EAs; vendor-transparency signals (versioned changelogs, documented defaults, identifiable principals) discriminate higher- from lower-quality offerings within it.
Validation is the layer where most strategies fail. A clean backtest is necessary but emphatically not sufficient evidence of edge — almost any rule set, with enough parameters and enough optimisation, can be made to look attractive on any specific history. The discipline of out-of-sample testing (evaluating frozen parameters on data the optimiser never saw), walk-forward analysis (rolling-window in-sample/out-of-sample alternation), look-ahead-bias avoidance, and tick-data-quality awareness separates strategies with real edge from curve-fitted illusions. Modelling quality below 99% on execution-sensitive strategies invalidates the backtest entirely.
Deployment introduces operational layers absent in backtest. A persistent VPS is the always-on requirement; sub-10ms ping and selective co-location matter for latency-sensitive strategies; magic-number management distinguishes one EA's trades from another's on multi-EA accounts; .set files codify the production parameter configuration; default values are starting points requiring per-broker re-optimisation. Demo-account-parity matters because many brokers run demos with better conditions than live, inflating EA test results and producing nasty surprises on switchover.
Long-run operation requires risk discipline. Pre-commitment to capital-scaling rules and EA-retirement criteria — written down before deployment — prevents the emotional decisions that destroy retail accounts. Drawdown triggers, daily loss limits, and maximum drawdown cutoffs convert defensive responses into mechanical action. Review cadence — weekly tactical, monthly strategic — catches gradual degradation before it compounds. Realised expectancy compared to backtest expectancy is the empirical evidence of how much edge has survived live deployment.
The craft, ultimately, is operational rather than predictive: edge is small, fragile, and decays; defence is what compounds over decades.
All 87 terms in this cluster
Expert Advisor (EA)
beginnerAlso called an Expert Advisor or trading robot. An EA is a program written in MQL4/MQL5 that runs inside the MetaTrader client and can open, modify, and close trades automatically …
MT5 (MetaTrader 5)
beginnerMT5 is MetaQuotes' fifth-generation retail trading platform — the de facto standard for forex, CFDs, and (in some jurisdictions) equities and futures. It runs the EA architecture, …
MQL (MetaQuotes Language)
MQL is the programming language used to create Expert Advisors, custom indicators, scripts, and libraries for MetaTrader platforms. MQL4 is used for MT4 and MQL5 for MT5. It is a C…
Walk-Forward Test
intermediateA walk-forward test alternates parameter optimisation on a rolling in-sample window with out-of-sample validation on the next window. By repeatedly fitting and testing on never-ove…
Overfitting / Curve-Fitting
intermediateOverfitting (curve-fitting in trading) is when a model or strategy fits historical data so closely that it captures noise rather than signal. The model performs brilliantly on the …
Strategy Tester
The Strategy Tester is MetaTrader's built-in backtesting tool. It simulates an EA's performance using historical data with different modeling modes: every tick (most accurate), 1-m…
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…
Expert Advisor (EA)
An Expert Advisor is an automated trading program written in MQL4 or MQL5 that runs on the MetaTrader platform. EAs can analyze markets, place trades, manage positions, and execute…
MetaTrader 4 (MT4)
MetaTrader 4 is the most widely used forex trading platform, developed by MetaQuotes Software. It supports Expert Advisors written in MQL4, custom indicators, scripts, and backtest…
MetaTrader 5 (MT5)
MetaTrader 5 is the successor to MT4, supporting more asset classes (stocks, futures, options alongside forex), more timeframes, a built-in economic calendar, DOM (Depth of Market)…
Backtesting
Backtesting is the process of testing a trading strategy using historical market data to evaluate its performance. In MetaTrader, the Strategy Tester simulates trades based on past…
Forward Testing
Forward testing (or paper trading) runs a strategy on a demo account with live market data in real-time to validate backtesting results. It accounts for real-world factors like sli…
Demo Account
A demo account is a simulated trading account funded with virtual money, allowing traders to practice without financial risk. It uses real-time market data and replicates live trad…
VPS (Virtual Private Server)
A VPS is a remote server that runs your MetaTrader platform 24/7 without interruption. Essential for Expert Advisors that need continuous operation. Benefits include low latency to…
Forex Indicator
A forex indicator is a mathematical calculation based on price, volume, or open interest data that generates visual signals on charts. Indicators help traders identify trends, mome…
Script (MetaTrader)
A script is a program that runs once to perform a specific task in MetaTrader, unlike an EA which runs continuously. Scripts can close all open orders, place pending orders, calcul…
Timeframe
A timeframe defines the period each candlestick or bar represents on a chart. Common timeframes include M1 (1 minute), M5, M15, M30, H1 (1 hour), H4, D1 (daily), W1 (weekly), and M…
Scalping
Scalping is a high-frequency trading strategy that aims to profit from very small price movements. Scalpers open and close many trades within minutes, targeting 5-20 pips per trade…
Day Trading
Day trading involves opening and closing all positions within the same trading day, avoiding overnight risk and swap charges. Day traders analyze intraday charts (M5-H1) and make m…
Swing Trading
Swing trading aims to capture medium-term price moves over days to weeks. Swing traders use H4 and D1 timeframes, focusing on trend changes, pullbacks, and breakouts. It requires l…
Trend Following
Trend following is a strategy that enters trades in the direction of the prevailing trend and exits when the trend reverses. It uses indicators like moving averages, MACD, and ADX …
Grid Trading
Grid trading places multiple buy and sell orders at regular intervals above and below a set price, creating a grid. It profits from market oscillation within a range. Grid EAs auto…
Martingale
Martingale is a position-sizing strategy that doubles the lot size after every losing trade to recover all previous losses with one winning trade. While mathematically sound in the…
Hedging
Hedging involves opening opposing positions to reduce risk exposure. In forex, you might go long EUR/USD and long USD/CHF (since they're negatively correlated). Direct hedging open…
Range Trading
Range trading identifies support and resistance levels in a sideways market and buys at support while selling at resistance. It works best when markets are not trending. Oscillator…
Breakout Strategy
intermediateA forex breakout strategy enters a trade when price breaks through a defined support or resistance level with increased volatility, aiming to ride the new move that follows. Trader…
Mean Reversion
Mean reversion assumes that prices tend to return to their average over time. When price deviates significantly from its mean (measured by Bollinger Bands, RSI, etc.), traders ente…
News Trading
News trading involves taking positions based on economic news releases and events (NFP, interest rate decisions, GDP). Traders either straddle before news (placing pending orders i…
Copy Trading
Copy trading (or social trading) allows traders to automatically replicate the trades of experienced traders. Platforms like MQL5 Signals, ZuluTrade, and eToro offer copy trading s…
Algorithmic Trading
Algorithmic trading uses computer programs to execute trades based on predefined rules and mathematical models. It eliminates emotional decisions, enables faster execution, and can…
High-Frequency Trading (HFT)
HFT is a subset of algorithmic trading that executes a very large number of orders at extremely high speeds (milliseconds). It requires specialized hardware, co-located servers, an…
Price Action Trading
Price action trading analyzes raw price movements without relying on indicators. Traders use candlestick patterns, chart formations, support/resistance, and trend lines to make dec…
Currency Correlation
Currency correlation measures how two currency pairs move in relation to each other. Positive correlation (e.g., EUR/USD and GBP/USD) means they tend to move in the same direction.…
.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…
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. …
Pattern Recognition (in Trading)
intermediatePattern recognition in trading is the automated detection of recurring price-action structures — candle patterns (engulfing, doji), chart patterns (head-and-shoulders, triangles), …
Supervised Learning (in Trading)
advancedSupervised learning is the ML paradigm where models learn from labelled data — features (X) paired with target outputs (y). In trading, this typically means training a model to pre…
Walk-Forward Optimization
advancedWalk-forward optimisation is a backtesting technique that repeatedly optimises parameters on a training window, tests on a subsequent out-of-sample window, then rolls both windows …
Regime Detection
advancedRegime detection in trading is the identification of market state — e.g. trending vs ranging, high-volatility vs low-volatility, risk-on vs risk-off. Detection methods range from s…
Ensemble Model
advancedAn ensemble model combines predictions from multiple base models to produce a stronger overall prediction. Common patterns: bagging (random forest), boosting (XGBoost), stacking (m…
Reinforcement Learning (in Trading)
advancedReinforcement learning (RL) is an ML paradigm where an agent learns to take actions in an environment to maximise cumulative reward. In trading: the agent's actions are trade decis…
Walk-Forward Analysis
intermediateWalk-forward analysis is the formal evaluation framework around walk-forward testing — comparing in-sample versus out-of-sample performance ratios, identifying parameter instabilit…
In-Sample Period
beginnerThe in-sample period is the segment of historical data used to develop, tune, and parameterise a trading strategy. Performance numbers from in-sample alone are systematically infla…
Out-of-Sample Period
beginnerThe out-of-sample period is historical data held back from strategy development and used after parameters are frozen to validate that the strategy generalises beyond its training d…
Out-of-Sample Test
beginnerAn out-of-sample test runs a finalised, parameter-frozen strategy against historical data the developer did not use during tuning. The performance gap between in-sample and out-of-…
Optimisation
intermediateOptimisation is the search for parameter values that maximise a chosen performance metric over historical data. It is necessary for strategy development but dangerous when run unch…
Genetic Algorithm
intermediateA genetic algorithm is a heuristic optimisation method inspired by natural selection — candidate parameter sets are mutated, crossed, and selected over generations toward higher fi…
Curve-Fitting
beginnerCurve-fitting is the trading-specific term for overfitting: tuning a strategy's parameters until it produces excellent backtest results on a specific historical window, at the cost…
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, …
Demo Account Parity
intermediateDemo account parity is how closely a broker's demo environment replicates live conditions — spread, slippage, execution speed, requote behaviour, fills during news. Many brokers ru…
Signal (EA layer)
beginnerIn EA architecture, the signal layer reads price (and optionally volume, news, other indicators) and decides whether conditions are right to enter a buy or sell trade. It produces …
Signal Parameter
intermediateSignal parameters are the tunable inputs that govern an EA's signal layer — indicator periods, threshold levels, lookback windows, confirmation rules. They are the parameters most …
News Filter
beginnerA news filter prevents an EA from trading around high-impact economic announcements (NFP, CPI, central bank decisions) when spreads widen, slippage spikes, and execution quality de…
Regime Filter
intermediateA regime filter disables an EA when current market conditions fall outside the regime where its strategy works — e.g. a trend-following EA disables during ranging conditions, a mea…
Market Regime
intermediateA market regime is a persistent market state with distinctive statistical properties — trending vs ranging, high vs low volatility, risk-on vs risk-off. Strategies have natural reg…
MetaEditor
intermediateMetaEditor is the IDE bundled with MetaTrader for writing, compiling, and debugging MQL4/MQL5 code — Expert Advisors, custom indicators, scripts, and services. It is the developmen…
MQL5 Compiler
advancedThe MQL5 compiler is the toolchain bundled with MetaEditor that translates MQL5 source code into the .ex5 bytecode executed by the MetaTrader 5 client. It performs syntax checks, t…
MQL5 Marketplace
beginnerThe MQL5 Marketplace is the official MetaQuotes catalogue (mql5.com/en/market) for buying and selling Expert Advisors, indicators, and signals. It enforces basic vendor accountabil…
.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…
Expert Journal
beginnerThe Experts tab in MetaTrader's Toolbox window logs every event from running EAs — initialisation, order submissions, errors, custom Print() output. It is the primary debugging sur…
Market Watch
beginnerThe Market Watch window in MetaTrader displays live bid/ask quotes for the trader's selected symbol list. EAs require their target symbol to be present in Market Watch to receive p…
Arbitrage EA
advancedAn arbitrage EA attempts to profit from price discrepancies between brokers, between related instruments, or between cash and derivative markets. Effective latency arbitrage is pra…
Grid EA
intermediateA grid EA places sequential orders at fixed price intervals as price moves against it, averaging the entry price and waiting for a reversal to take profit. Grid strategies have att…
Scalper EA
intermediateA scalper EA targets very small per-trade profits — typically 3-15 pips — over short timeframes, relying on high frequency and high win rate to compound. Scalpers are acutely sensi…
Trend-Following EA
intermediateA trend-following EA enters in the direction of an established trend and exits when the trend weakens or reverses. The strategy class has the best long-run track record among algor…
Correlation (EA portfolio)
advancedCorrelation in an EA portfolio measures how synchronously multiple EAs' equity curves move. Running EAs with high correlation provides little diversification — when one drawdowns, …
Overfitting
beginnerAlso called curve-fitting in trading vernacular. Overfitting is the failure mode where a model or strategy is tuned so closely to specific historical data that it captures random n…
Hedging Account
intermediateA hedging account is a broker-side account type that permits the trader to hold opposing positions on the same symbol simultaneously (one long and one short of EUR/USD at the same …
Netting Account
intermediateA netting account is a broker-side account type that maintains a single net position per symbol — opposing orders on the same symbol collapse to the net exposure. The opposite of a…
PAMM
intermediatePAMM stands for Percentage Allocation Money Management — a broker-side account structure that allows a master trader to manage a pooled fund of investors, with proportional profit-…
Prop Firm (funded account)
intermediateA prop firm offers funded trading accounts to traders who pass a paid evaluation challenge, splitting profits typically 70-90/30-10 in the trader's favour. Legitimate prop firms (F…
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…
Multi-Strategy EA
intermediateA multi-strategy EA combines 3+ distinct strategy modules (e.g. trend-following + mean-reversion + session breakout + range mean) into a single deployment, with per-module risk all…
Strategy Class
beginnerA strategy class is the broad category of trading logic an EA implements: trend-following, mean-reversion, breakout, scalping, grid, martingale, arbitrage, news-based, etc. The cla…
Neural Network
intermediateA neural network is a machine-learning model composed of layered "neurons" — mathematical units that combine inputs via weighted sums and non-linear activation functions. In forex …
ML Filter
intermediateAn ML filter is a machine-learning model (typically a neural network or boosted-tree classifier) that scores rule-generated trade signals and rejects low-quality ones. Modern most-…
Retraining Cadence
intermediateRetraining cadence is how frequently a ML-based EA's underlying model is retrained on updated market data — typically weekly, monthly, or quarterly. The cadence matters because ML …
Concept Drift
advancedConcept drift is the phenomenon where the statistical relationships an ML model learned during training change over time in the live deployment environment. In forex EA context, co…
MT4 (MetaTrader 4)
beginnerMT4 is MetaTrader 4 — MetaQuotes' retail forex trading platform launched in 2005. Despite being superseded by MT5 since 2010, MT4 remains the most-widely-deployed retail forex plat…
MT5 (MetaTrader 5)
beginnerMT5 is MetaTrader 5 — MetaQuotes' modern multi-asset trading platform launched in 2010 as the successor to MT4. Despite slow adoption initially, MT5 has become the editorial prefer…
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…
Machine Learning
intermediateMachine learning is the practice of training mathematical models on historical data so they can make predictions on new data without being explicitly programmed for each case. In f…
Arbitrage
advancedArbitrage is the practice of exploiting price discrepancies between markets to extract risk-free or low-risk profit. In retail forex, true arbitrage opportunities are rare and capa…
Grid Expansion
advancedGrid expansion is the parameter in a grid EA controlling how the grid extends as price moves against existing positions. Aggressive expansion adds positions deeper into the adverse…
Training Data Window
advancedTraining data window is the historical date range used to train an ML-augmented EA's model. Short windows (3-6 months) produce models tightly fit to recent regimes but vulnerable t…
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
- → MetaTrader Files & Configuration Glossary — .set, .tpl, Magic Number
- → Forex Scam Prevention Glossary — KYC, Chargeback, Ponzi, Regulator Routes
Back to the full glossary
87 terms in this cluster, 134 terms in the full forex glossary.
Browse all glossary terms →