Guides · Glossary

Algorithmic trading glossary

54 terms you come across when trading with robots in MetaTrader or with a prop firm. Each one in one or two sentences. When a guide covers it in more depth, you'll find it linked.

Robots and platform

Expert Advisor (EA)

A program that trades for you in MetaTrader following fixed rules. It is also called a trading robot.

Complete guide to algorithmic trading

MetaTrader 5 and MetaTrader 4

MetaQuotes platforms where EAs run. Version 5 is the current one; its predecessor is still widely used.

MQL5

The language used to program MetaTrader 5 EAs. The previous version uses MQL4.

Magic number

A number each EA stamps on its orders to tell them apart from the rest.

The magic number: what it is and why it isn't enough

Symbol

The instrument being traded: EURUSD, XAUUSD, US30. Each broker may add its own suffix to it.

Timeframe

How long each candle on the chart lasts. M5 is five minutes; H1, one hour; D1, one day.

Lot

The unit that measures the size of a trade. In forex, a standard lot equals 100,000 units of the base currency.

How much to risk per trade

Pip

The standard minimum price move of a currency pair. On EURUSD it is the fourth decimal place.

VPS

An always-on computer in the cloud where MetaTrader is left running day and night.

Do you need a VPS for your robots?

Demo account

An account that trades with virtual money at market prices. It lets you test an EA without risking anything.

Backtest and validation

Backtest

A simulation of a strategy on past data. It shows what would have happened, not what will happen.

Why your EA performs differently live

Strategy Tester

The MetaTrader tool that runs an EA's backtest on the broker's price history.

In sample (IS)

The part of the history used to design or optimize the strategy.

Out of sample (OOS)

A held-out period the system didn't see when it was built. It is used to check whether the edge holds.

Alpha (edge)

A strategy's advantage: what it earns beyond chance. An alpha study checks whether it keeps that advantage outside the backtest.

Backtest vs live: does it keep its edge?

Overfitting

Tuning the parameters so much that the system ends up fitting the noise of the past.

Overfitting: the backtest that looks too good

Walk-forward

A test that optimizes on one segment to validate on the next, several times in a row.

Monte Carlo

A technique that replays the history thousands of times with random changes. It shows the range of possible outcomes.

Incubation

A period on demo, or with little money, to check a robot on new data before giving it capital.

How many trades does a robot need?

StrategyQuant X (SQX)

Software that generates strategies automatically so they can then be tested on historical data.

Slippage

The difference between the price an order asks for and the one it gets when it is filled.

Metrics

Balance

What the account holds counting only closed trades.

Equity

The balance plus the result of open positions. It is what the account is worth at that moment.

Drawdown

A fall from an account peak to the next low. It is expressed in money or as a percentage.

Is your robot broken or just on a losing streak?

Maximum drawdown

The largest of those falls over the whole period measured.

Profit Factor

The sum of the gains divided by the sum of the losses. Above 1, the system makes money.

Profit Factor, Ret/DD and R²: how to read them

Ret/DD

Net profit divided by maximum drawdown. The higher it is, the more the system earns for every euro it was down at its worst.

R²

Measures how steadily the balance curve rises, from 0 to 1. Close to 1, the result is consistent.

Win rate

The share of trades that end in profit. On its own it doesn't tell you whether the system makes money.

Expectancy

What the system earns on average per trade, counting winners and losers alike.

R multiple

What a trade risks. Winning 2 R means making twice the amount at stake.

Correlation

How closely the results of two strategies move together, from −1 to 1.

How to combine robots so they don't all lose at once

Risk and costs

Stop loss

An order that closes the position when it reaches a loss set in advance.

Take profit

An order that closes it when it reaches the profit target.

Spread

The difference between a symbol's buy price and its sell price.

Spread, commissions and swaps: the real cost

Commission

A fixed amount the broker charges for each lot traded.

Swap

Interest paid or earned for holding a position open overnight.

Leverage

It lets you open positions larger than your balance. It magnifies gains and losses equally.

Margin

The part of the balance the broker holds as collateral for open positions.

Martingale

A system that increases the lot size after each loss to win it back with the next entry.

Martingale and grid: why they blow accounts

Grid

A ladder of orders at fixed distances, opened against the price movement.

Risk of ruin

The probability that a losing streak leaves the account without enough capital to continue.

Hedging

Holding a buy alongside a sell on the same symbol at the same time.

News filter

A feature that stops trading around high-impact economic announcements.

Trading robots and high-impact news

Funded accounts

Prop firm

A company that lends capital to traders who pass its challenge, in exchange for a share of the profit.

The rules of each prop firm

Challenge (evaluation)

A paid test with a profit target alongside loss limits.

Passing a challenge with an EA

Funded account

The account you get when you pass. You trade the firm's capital under its rules.

Maximum daily loss

The most you can lose in a single trading day, measured in the firm's time zone.

Daily drawdown at a prop firm

Maximum total loss

The floor the account must never cross. It can be static or trailing.

Trailing vs static drawdown

Trailing drawdown

A loss limit that rises with each new account high and never goes down.

Consistency rule

A cap on the share of profit that can come from a single day.

The consistency rule

Payout

The withdrawal of profits from a funded account.

Profit split

The percentage of the profits the trader keeps.

Server time

The broker's or the firm's clock. It sets when each trading day starts.

Put your robots in orbit.

Try it free

Sign up in a minute, no card required.