Skip to content

MetaTrader 5

9min read

MetaTrader 5 (MT5) is MetaQuotes' successor to MT4, though MT4 remains in use. MT5 expands beyond forex to support stocks, futures, and options where the broker provides them, adds market depth with real order volumes on exchange instruments where the broker provides them (MetaTrader 5 help (external source: MetaQuotes); MT4 also has a Depth of Market window (external source: MetaQuotes)), and uses a netting position model (external source: MetaQuotes) in some configurations rather than MT4's hedging model. The choice between MT4 and MT5 depends mostly on what the broker offers and the trader's specific needs around order types, market depth, and asset classes.

This page covers the platform mechanics; it is not trading advice. How this page was checked

What MetaTrader 5 is

MT5 is the successor platform to MT4 from the same vendor (MetaQuotes Ltd). The visible interface resembles MT4's; the underlying architecture, scripting language, and capabilities differ substantially.

Beyond MT4's forex-and-CFD focus, MT5 adds native support for exchange-cleared instruments: stocks, futures, options, and bonds where the broker provides them. The broker chooses which asset classes to enable; some brokers run MT5 forex-only despite the platform's broader capabilities. On exchange instruments, the Depth of Market (DOM) (external source: MetaQuotes) shows real prices and order volumes from market participants where the broker provides them; MT4 also has a Depth of Market window.

MT5 introduces the netting position model alongside MT4's hedging model. In netting mode, the account holds one position per symbol — opening a sell while already long results in the long position being reduced, closed or reversed. In hedging mode (MT4's only model), the account holds each position separately, including opposite positions on the same symbol — opening a sell while already long produces a second, independent position. The mode is broker-set — some brokers offer both as separate account types; check your account specification before trading.

How MT5 handles margin, pip values, and position models

Margin display, lot conventions, and pip value calculation work as on MT4 for forex and CFD symbols: volume is entered in lots, in multiples of the volume step the broker sets for each symbol (the symbol's specification shows the minimal volume and the volume step), margin is shown in the Trade tab, and pip values are inferred from contract specifications. Leverage is set by the broker per account, as on MT4.

The position model affects how trades aggregate. In netting mode: a 1.0 lot long EUR/USD followed by a 0.5 lot sell EUR/USD produces a 0.5 lot net long position, not two separate positions. The opposing sell partially closes the long; it does not open a second position. In hedging mode: the same sequence produces two separate positions, the long 1.0 lot and the short 0.5 lot, each with its own entry price and P&L; margin on the hedged pair follows the broker's rule: the larger leg only, or the uncovered volume plus the covered volume charged at the symbol's hedged margin value (a value of 0 charges nothing on the covered volume; the full contract size margins it once).

Worked example in netting mode (USD account, 1:100 leverage): open 1.0 lot long EUR/USD at an ask of 1.1254 (EUR/USD quoted 1.1252 / 1.1254, an assumed 2-pip spread). Margin held = €1,000 (at a margin rate of 1 for the symbol), which MT5 converts at the current ask (MetaTrader 5 help (external source: MetaQuotes)): $1,125.40. EUR/USD then rises to 1.1262 / 1.1264 (bid / ask, the same assumed spread), and the same lot now holds $1,126.40. Sell 0.5 lot EUR/USD at the 1.1262 bid. In netting mode this partially closes the long, leaving 0.5 lot long. Margin held now: €500 × 1.1264 = $563.20, so $563.20 of margin returns to free margin.

Worked example in hedging mode (same trade sequence): two positions held separately. Long 1.0 lot from 1.1254 and short 0.5 lot from 1.1262 are both open, with EUR/USD at 1.1262 / 1.1264. Margin held for hedged exposure depends on the broker's setting for the symbol (MetaTrader 5 help (external source: MetaQuotes)): some charge margin only on the larger leg (€1,000); with the hedged margin set to the full contract size, the covered 0.5 lot is margined once, so the pair also holds €1,000; others charge a reduced value or nothing on the covered 0.5 lot (with nothing charged on it, only the uncovered 0.5 lot is margined: €500). Depending on the hedged-margin method, MT5 converts this margin into the deposit currency at a weighted average rate rather than the current ask, so the dollar figure can differ from the netting example. The broker's terms specify the calculation.

Placing, modifying, and closing orders

Order entry mirrors MT4: F9, or New Order in the Market Watch context menu. The dialog accepts the same fields as MT4's and adds others, including stop-limit variants: Buy Stop Limit and Sell Stop Limit are MT5-only order types that combine triggering (stop) with execution-price control (limit).

MT5's Depth of Market panel shows bid and ask prices at each level. On exchange instruments it shows real prices and order volumes from market participants; on other instruments it can be formed from the broker's own quotes, and without broker volumes it shows price levels calculated from Bid and Ask. Market and pending orders can be placed from the DOM, and dragging stop levels and pending orders there requires One Click Trading to be enabled.

Position modification and closing follow the same right-click pattern as MT4. The netting model interacts with closing: in netting mode, closing acts on the single net position for the symbol — closing the full volume closes it and a smaller volume reduces it, while reversing it takes an opposite deal larger than the position or the separate Reverse position command; in hedging mode, closing affects only the specific selected position.

MT5's Strategy Tester extends MT4's: it supports multi-currency backtesting (an EA that trades multiple instruments runs against historical data on all of them simultaneously) and tick-data backtesting at finer granularity. MQL5, the language of MT5 Expert Advisors, has a syntax very close to C++, and MT4 EAs need porting before they run on MT5.

Broker variations on MT5

Not every MT4 broker offers MT5, and a broker that does chooses which additional asset classes to enable on it.

Asset class breadth varies enormously by broker. A broker focused on retail FX may offer MT5 with the same forex-and-CFDs scope as their MT4 platform, with no actual stocks or futures. A broker with multi-market clearing relationships may offer hundreds of stocks, futures across major exchanges, and options. The MT5 client looks the same; the available symbols differ.

Position model is a configuration the broker chooses per account type. Brokers offering hedging mode allow multiple simultaneous positions in the same instrument; netting-mode brokers consolidate them.

DOM availability depends on the broker: MT5 help states that depth of market for exchange instruments is not guaranteed, and the number of bids and offers shown is set by the broker's symbol parameters. The broker's terms specify the data source behind the levels.

Common mistakes on MT5

Hedging vs netting confusion when migrating from MT4. A trader accustomed to opening counter-positions to hedge an existing trade discovers in netting mode that the second order reduces, closes or reverses the first instead of creating a second leg. The reverse surprise also occurs: a trader who expects netting finds the account in hedging mode, where an opposite order opens a second position. Which system applies is set by the broker for each account.

EA migration friction: a typical MT4 EA does not compile in MT5 unchanged. Ports require deliberate work, because MQL5 has no predefined Ask, Bid or Bars variables and adds event handlers such as OnTrade and OnBookEvent. An EA that its developer has not ported to MQL5 runs only on MT4.

Broker subset of features: a trader who opens an MT5 account expecting full multi-asset access discovers the broker only enables forex and a handful of indices. The platform's capability ≠ the broker's offering. Verify symbol availability before committing to a broker for a specific asset class need.

One-Click Trading carries the same risk as on MT4: the first time a one-click deal is attempted, MT5 shows its Terms and Conditions (MetaTrader 5 help (external source: MetaQuotes)), and once “I Accept these Terms and Conditions” is ticked, market orders from the chart's one-click panel, closing positions, deleting pending orders, removing Stop Loss or Take Profit levels, and placing or modifying pending orders on the chart go through without a confirmation dialog. On symbols the broker sets to Request Execution, one-click trading is unavailable and the standard trade dialog still appears. A triggered stop-loss closes the position with a market operation at the Bid or Ask, so it can fill beyond its level in fast markets.

Reporting differences: MT5's Reports view splits trading results into Summary, Profit/Loss, Long/Short, Symbols and Risks tabs and saves them as HTML or PDF. Traders who export MT4 history for tax or analysis purposes need to learn where MT5 keeps these reports.

Compare with other platforms

Markets traded on this platform

Terms used in this guide

Common questions

Should I migrate from MT4 to MT5?

Migrate when there is a specific reason: needing multi-asset support beyond forex, needing market depth with real order volumes on exchange instruments, or moving to a broker that offers only MT5. Being newer is not on its own a reason to migrate: for forex-only retail trading using market and stop orders on a hedging-mode MT5 account, the functional difference between the two platforms is minimal; on a netting-mode account, an opposite order reduces, closes or reverses the existing position instead of opening a second one. The migration cost is rewriting any custom EAs, retraining muscle memory, and porting or replacing any MQL4 custom indicators. Net benefit depends on what the trader actually uses MT4 for today.

Does MT5 support all the instruments my broker offers?

Not necessarily. MT5 the platform supports stocks, futures, options, bonds, forex, and CFDs natively. The broker decides which of those to enable. A retail forex broker running MT5 may offer the same forex-and-CFDs scope as their MT4, with no actual stock or futures access. Verify the broker's symbol list before assuming MT5 unlocks a wider asset class. The platform's capability is necessary but not sufficient — the broker has to provide the underlying market access for each asset class separately.