MetaTrader 4 and 5MT4

MetaTrader, made by MetaQuotes, is the platform many forex and CFD brokers hand to clients. MT4 (2005) and MT5 (2010) offer charts, indicators and Expert Advisors that trade automatically; your broker, not the software, decides the prices and fills.

MetaTrader is trading software, not a broker. MetaQuotes writes the program and licenses it to brokers, who connect it to their own price feeds and order handling.1 That split matters: two people running the same MetaTrader version can see different prices, spreads and fills because they use different brokers. This entry explains what the two versions do, how they differ, and what traders often get wrong about them.

Category
Trading Basics
Reading time
5 min
Also called
MetaTrader, MetaTrader 4, MetaTrader 5
Updated

MetaTrader in plain words

MetaQuotes was founded in 2000, launched MetaTrader 4 in 2005 and MetaTrader 5 in 2010.1 The company states that it develops software and does not provide investment or brokerage services.1

Both versions give you charts, technical indicators, order tickets and a way to run trading robots called Expert Advisors.2 Robots are written in MQL4 for MT4 and MQL5 for MT5, using the built-in MetaEditor.3

Think of MetaTrader as the dashboard and the broker as the engine. The dashboard shows you prices and sends orders; the broker supplies those prices and decides how orders are filled. See Broker.

How traders use MetaTrader, step by step

  1. Choose a regulated broker

    The software is only as trustworthy as the firm behind the account. See How to Check if a Broker Is Regulated.

  2. Open a demo or live account

    Accounts are opened through a broker inside the platform; demo accounts use virtual money.4 See Demo Account.

  3. Set up charts

    Pick a symbol and a Timeframe; MT4 offers 9 timeframes and MT5 offers 21.23

  4. Add indicators

    Apply built-in tools such as moving averages or oscillators. See Technical Indicator.

  5. Place orders

    Use market or pending orders, with stop-loss and take-profit levels. See Order and Pending Order.

  6. Automate if you want

    Run an Expert Advisor and test it first in the Strategy Tester.2 See Backtesting.

Worked examples

Example 1 — Netting account

One position

On an MT5 netting account, a trader buys 1.0 lot of a currency pair, then sells 0.4 lot of the same pair. Hypothetical sizes.

Example 1 — Netting account — calculation
First dealBuy 1.0 lot
Second dealSell 0.4 lot
Open position1.0 − 0.4 = 0.6 lot long

Under netting, a symbol has only one position at a time, and opposite deals shrink, close or reverse it.5

Example 2 — Hedging account

Two positions

The same two deals on an MT5 hedging account. Hypothetical sizes.

Example 2 — Hedging account — calculation
Position A1.0 lot long
Position B0.4 lot short
Net exposure1.0 − 0.4 = 0.6 lot long

Under hedging, each deal opens its own position, so opposite positions in one symbol can sit side by side.5 The net exposure is the same; the bookkeeping is not.

Example 3 — Reversing a netting position

Position flipped

A netting account is 0.5 lot long and the trader sells 1.2 lots. Hypothetical sizes.

Example 3 — Reversing a netting position — calculation
Starting position0.5 lot long
Sell order1.2 lots
Calculation0.5 − 1.2 = −0.7
New position0.7 lot short

On a netting account one large opposite deal can flip the position; on a hedging account positions are not reversed this way.5

MetaTrader 4 vs. MetaTrader 5

Figures as stated on MetaQuotes’ own product pages; a broker may not enable every feature.23

AspectMetaTrader 4MetaTrader 5
Launched20052010
Timeframes921
Pending order types46
Execution modes34
Built-in indicators3038
Programming languageMQL4MQL5
Position accountingNot listed on product pageHedging or netting

Why MetaTrader matters

  • Common broker platform

    Many forex and CFD brokers offer it, so the skills carry over between firms. See Forex Market and Contract for Difference.

  • Automated trading

    Expert Advisors let rules run without manual clicks. See Algorithmic Trading.

  • Strategy testing

    MT5 has a multi-currency strategy tester for robots.3

  • Multi-asset access

    MetaQuotes describes MT5 as covering forex, stocks and futures.3

Advantages and disadvantages

Advantages

  • One program for charts, orders and automation.
  • Built-in charting, indicators and pending orders.2
  • Automation through Expert Advisors and a strategy tester.3
  • Mobile and web versions exist alongside the desktop program.3

Disadvantages

  • Prices and fills depend on the broker, not on MetaQuotes.
  • MQL4 and MQL5 are separate languages, so robots do not simply move from one version to the other.
  • A familiar platform can make an unregulated broker look legitimate.
  • Demo accounts can be misused to show fake balances.6

Going deeper

Read as far as you need. Each level builds on the one before it.

Software vs. broker

Beginner

MetaQuotes makes the software; the broker holds your money and handles your orders.1 Always check who the broker is and which regulator supervises it. See How to Check if a Broker Is Regulated.

Order types and execution modes

Intermediate

MT4 lists two market order types, four pending order types, two stop orders and a trailing stop.2 MT5 lists six pending order types and four execution modes: Instant, Request, Market and Exchange.3 See Trailing Stop.

Exchange vs. over-the-counter behaviour in MT5

Advanced

In MT5, stop-loss and take-profit levels on forex positions stay in place when a position rolls to the next day, while on exchange instruments they are reset at rollover.5 In Exchange execution mode, orders are passed to an external exchange.5

Common mistakes

  1. Thinking MetaTrader is the broker

    It is software. Your counterparty and your protections come from the broker.

  2. Buying robots on promises

    Regulators warn that trading bots are not money machines.6 Test any Expert Advisor yourself.

  3. Trusting screenshots of balances

    In one CFTC case, fake customer balances were created with MetaTrader demo accounts.6

  4. Ignoring account type

    Hedging and netting accounts treat opposite trades differently.5

Check your understanding

Test yourself before moving on. Each answer comes with an explanation.

Q1On an MT5 netting account you are 1.0 lot long and sell 0.3 lot of the same symbol. What is your position?
Q2Who decides the prices and fills you get in MetaTrader?

Key points to remember

  1. MetaTrader is trading software from MetaQuotes; it is not a broker.
  2. MT4 launched in 2005 and MT5 in 2010.
  3. MT5 offers more timeframes, more pending order types and both hedging and netting accounts.
  4. Expert Advisors automate trading but still need testing and supervision.
  5. Check the broker’s regulation before trusting any account shown in MetaTrader.

Frequently asked questions

Is MT5 simply a newer MT4?

It is a separate platform with its own language (MQL5), more timeframes and both hedging and netting accounts. Programs written for MT4 need rewriting for MT5.

Does MetaQuotes hold my money?

No. MetaQuotes says it does not provide brokerage services.1 Your money sits with the broker.

Can I trade stocks in MetaTrader?

MetaQuotes describes MT5 as covering forex, stocks and futures,3 but what you can trade depends on the instruments your broker offers.

Further learning

Sources

This article is written in our own words. The sources below support the specific facts, rules and figures marked with a number in the text. Links open the original publisher’s page.

  1. MetaQuotes. About MetaQuotes (opens in a new tab) Checked .
  2. MetaQuotes. MetaTrader 4 Trading Platform (opens in a new tab) Checked .
  3. MetaQuotes. MetaTrader 5 Trading Platform (opens in a new tab) Checked .
  4. MetaQuotes (MetaTrader 5 Help). Opening an Account (opens in a new tab) Checked .
  5. MetaQuotes (MetaTrader 5 Help). General Principles (position accounting: netting and hedging) (opens in a new tab) Checked .
  6. Commodity Futures Trading Commission (CFTC). CFTC Customer Advisory Cautions the Public to Beware of Artificial Intelligence Scams (Release 8854-24) (opens in a new tab) Checked .

Educational content, not financial advice. Examples use hypothetical prices and simplified costs; actual fees, margin rules and regulations vary by broker, market and country. We are not affiliated with any publisher linked above. Last reviewed . Report an error or request a source credit.