EUR/USD 1.08270 ▼ 0.27%
GBP/USD 1.29820 ▼ 0.29%
USD/JPY 160.350 ▼ 0.63%
XAU/USD 3734.75 ▲ +2.63%
USD/CHF 0.84853 ▼ 0.12%
AUD/USD 0.66168 ▼ 0.13%
USD/CAD 1.42600 ▲ +0.02%
EUR/GBP 0.83400 ▲ +0.02%
ESC
MetaTrader 5 (MT5) Guide 2026: Setup, Order Types, Netting vs Hedging and Testing
Share:
18px
Fact checked
Disclaimer
Key Takeaways
  • MT5 is a trading terminal from MetaQuotes; the broker behind the server decides which instruments, spreads, commissions, leverage and execution you get
  • MetaQuotes lists 21 timeframes, 38 built-in indicators, 44 analytical objects, 2 market order types, 6 pending order types and 4 execution modes for MT5
  • The account mode — netting or hedging — is set by the broker per account and changes how positions combine, close and use margin
  • US forex dealers must offset positions first-in, first-out under NFA Compliance Rule 2-43(b), so US accounts cannot hold opposite positions in the same pair
  • Always open the symbol's Specification before trading: contract size, tick value, swap and margin settings differ between brokers
  • For short-term strategies, backtest with Every tick based on real ticks; generated ticks can flatter results
Ad

Open a free Exness demo

  • Practice with virtual funds before you deposit
  • Spreads from 0.0 by account type
  • MT4, MT5 and the Exness app
  • 800K+ active clients
  • Automated withdrawals; arrival time still varies
  • Confirm the legal entity before you fund
  • Withdrawals are requested in the client area; arrival time varies
  • Fund a live account only after the demo is clear
Code: 4oyfhm9xl3 Use at signup
800K+ active clients

Why this ad

MetaTrader 5: direct answer#

Short Answer

MetaTrader 5 (MT5) is a free multi-asset trading platform from MetaQuotes. It gives you charts with 21 timeframes, 38 built-in indicators, six pending order types, automated trading in MQL5 and a multi-currency strategy tester. It is not a broker: the server you log in to decides your symbols, prices, costs and execution.

Detailed Explanation

Every MT5 account belongs to a broker's trade server. The broker configures which instruments you see, their contract sizes, spreads and swaps, which execution mode applies, and whether your account uses netting or hedging. Two MT5 installations can look identical and still trade very differently.

Example

On one broker, EUR/USD may appear as EURUSD with a 0.0-pip spread and $7 commission per lot. On another, the same pair may be EURUSD.m with a 1.2-pip spread and no commission. Same software, different contract.

Common Mistake

Assuming MT5 availability says something about a broker's regulation or execution quality. MetaQuotes licenses the platform to many firms, licensed and unlicensed alike.

Professional Tip

Before your first live trade, open the Specification for every symbol you plan to trade and note contract size, tick value, swap and trading hours in your trading journal.

⚠️ Risk warning: MT5 makes it easy to open large leveraged positions with one click. European regulators found that 74–89% of retail CFD accounts typically lose money (ESMA, 2018). Practise on a demo account first and size every trade from a fixed cash risk.

What MT5 is (and isn't)#

Short answer: MT5 is the terminal; the broker is the market you connect to.

MetaQuotes develops MetaTrader 5 and licenses it to brokers. According to MetaQuotes, the platform supports forex, stocks and futures, algorithmic trading through Expert Advisors (EAs), copy trading through its Signals service, and desktop, web and mobile versions for Android and iOS.

What MT5 does not decide:

  • whether your broker is regulated, or by whom;
  • your spread, commission, swap or leverage;
  • which instruments are available on your account;
  • how your orders are actually filled.

That's why the how to choose a broker decision comes before the platform decision.

MT5 key specifications#

These figures come from MetaQuotes' official platform pages for MT5 and MT4.

Feature MetaTrader 5 MetaTrader 4
Chart timeframes 21 9
Built-in technical indicators 38 30
Built-in analytical objects 44 23
Market order types 2 2
Pending order types 6 4
Execution modes 4 (Instant, Request, Market, Exchange) 3
Position accounting Netting or hedging (set by broker) Separate positions
Depth of Market Yes No
Built-in economic calendar Yes No
Programming language MQL5 MQL4

For a full side-by-side comparison, see MT4 vs MT5.

Getting started: from login to first symbol#

  1. Download from your broker or MetaQuotes. Brokers often provide a branded installer pre-loaded with their server list.
  2. Log in: File → Login to Trade Account. Enter the login number, password and the exact server name from your broker's welcome email. A demo and a live account usually sit on different servers.
  3. Check the connection in the bottom-right corner of the terminal. A ping time means you're connected; "Invalid account" usually means the wrong server or password.
  4. Show your symbols: right-click in Market Watch (Ctrl+M) → Show All, or use Symbols to search. Note any suffix your broker adds.
  5. Open a chart: drag a symbol from Market Watch onto the chart area, then choose a timeframe from the toolbar.
  6. Check account mode: your account type in the Navigator or the broker's welcome email tells you whether it's netting or hedging. This matters before you place a second trade in the same symbol.
  7. Enable one-click trading only once you're comfortable. It removes the confirmation step, which is useful for speed and dangerous for mistakes.

Common mistake: Logging in to a demo server and assuming the live account has the same spreads and symbol list. Many brokers configure them differently.

Reading a symbol specification#

Short answer: Right-click a symbol in Market Watch → Specification. This window is the contract you're trading.

Field Typical EUR/USD value (illustrative) Why it matters
Contract size 100,000 Units per 1.00 lot; drives pip value
Digits 5 Price precision; 1 pip = 10 points on 5-digit quotes
Tick size / tick value 0.00001 / 1 USD Profit or loss per tick per lot
Margin currency EUR Margin is calculated in the base currency, then converted
Margin calculation mode Forex Determines the margin formula
Swap type In points (or money) How overnight swap is expressed
Swap long / short e.g. −7.5 / +2.1 Nightly charge or credit for each direction
3-day swap Wednesday Day the weekend swap is charged
Minimum / step volume 0.01 / 0.01 Smallest position and increment
Stops level e.g. 0 points Minimum distance between price and your stop or limit
Trading sessions e.g. Mon 00:05 – Fri 23:55 When you can trade and when the market is closed

With these numbers you can work out exactly what a position is worth. On a 5-digit EUR/USD quote with a $1 tick value, one pip (10 points) on one lot is $10; on 0.10 lots it's $1. Our pip guide and lot size guide go deeper.

Professional tip: Check the specification again after changing broker or account type. Gold (XAUUSD) is a common trap: contract size can be 100 ounces at one broker and different at another, which changes your risk per lot completely. See our gold trading guide.

Order types and execution#

Short answer: MT5 offers 2 market orders, 6 pending orders, stop loss, take profit and a trailing stop.

Order Use it when you want to… Triggers when
Buy / Sell (market) Enter now at the current price Immediately
Buy Limit Buy on a pullback below the current price Ask falls to your price
Sell Limit Sell on a rally above the current price Bid rises to your price
Buy Stop Buy a breakout above the current price Ask rises to your price
Sell Stop Sell a breakdown below the current price Bid falls to your price
Buy Stop Limit Buy after a breakout, but not above a set price Ask hits the stop, then a buy limit is placed
Sell Stop Limit Sell after a breakdown, but not below a set price Bid hits the stop, then a sell limit is placed

Execution modes. MT5 supports four, and the broker picks one per symbol: Instant (you may get a requote), Request (you request a price first), Market (filled at the available price, so slippage is possible) and Exchange (orders go to an external exchange). Most forex brokers use Market execution.

Stop losses are not guarantees. A triggered stop becomes a market order and can fill at a worse price during gaps or fast markets. See forex order types for when each order makes sense.

Example: EUR/USD trades at 1.0850 and you expect a breakout above 1.0880, but you don't want to chase beyond 1.0885. A Buy Stop Limit with a stop price of 1.0880 and a limit of 1.0885 enters only if price breaks out and you can buy at 1.0885 or better. If price jumps straight to 1.0895, your order waits as a buy limit instead of filling at a bad price.

Netting vs hedging accounts#

Short answer: Netting combines all trades in a symbol into one position; hedging keeps each trade separate. Your broker sets the mode per account, and you can't switch it yourself.

According to the MT5 help documentation:

Netting Hedging
Positions per symbol One Many, in either direction
Buying 1 lot, then selling 1 lot Closes the position Leaves two open positions
Buying 1 lot, then selling 2 lots Reverses to a 1-lot short Opens a separate 2-lot short
How to close Opposite trade of the same volume Close Position on the chosen ticket
Margin for opposite positions Not applicable "Hedged margin" setting may reduce margin
Typical use Exchange markets, US forex Retail forex outside the US

United States: NFA Compliance Rule 2-43(b) states that forex dealer members "may not carry offsetting positions in a customer account but must offset them on a first-in, first-out basis." US clients therefore can't hold a buy and a sell on the same pair at once, regardless of platform.

Common mistake: Placing a "hedge" on a netting account. The opposite trade simply reduces or closes your position — which may be what you wanted, but it isn't a hedge.

Margin worked example#

Short answer: For forex symbols, margin = contract size × lots × price ÷ leverage, converted to your account currency.

  • Account currency: USD
  • Trade: buy 1.00 lot EUR/USD at 1.0850
  • Notional value: 100,000 × 1.0850 = $108,500
  • Leverage: 30:1 (the FCA and EU retail cap on major pairs, per FCA PS19/18)
  • Required margin: $108,500 ÷ 30 = $3,616.67

With a $5,000 account, that one trade uses 72% of your equity as margin. A move of about 140 pips against you ($1,383) leaves equity equal to the margin used — a margin level of 100% and no free margin. At about 320 pips, equity reaches 50% of required margin, the level at which UK and EU retail rules require the position to be closed out. MT5 shows the result live in the Toolbox's Trade tab under Margin, Free Margin and Margin Level.

A more typical risk-based size for a $5,000 account risking 1% ($50) with a 25-pip stop is 0.20 lots ($2 per pip), which needs about $723 of margin at 30:1. Read what is margin and what is leverage for the full mechanics.

Using the strategy tester properly#

Short answer: Open it with Ctrl+R, choose real ticks for short-term strategies, and set realistic costs.

MetaQuotes describes the MT5 strategy tester as multi-currency and multi-threaded, with optimisation that can be distributed across local cores and the MQL5 Cloud Network.

Modelling mode Speed Suitable for
Every tick based on real ticks Slowest Scalping, tight stops, news-sensitive systems
Every tick (generated) Slow Testing when real tick history isn't available
1 minute OHLC Fast Rough checks of strategies with wider stops
Open prices only Fastest EAs that only act at bar open
Math calculations Very fast Pure calculations with no price history

Generated ticks are interpolated within each one-minute bar and, as the MT5 help explains, they don't reproduce real spread changes. For any strategy with a target under about 20 pips, use real ticks and compare results against a period of forward testing on demo.

Other settings that change results: initial deposit and leverage, commission (check that the test report actually deducts it; if not, subtract it from the results yourself), and delays (the tester can simulate execution delay instead of ideal fills). Our backtesting guide covers curve fitting and out-of-sample testing.

Useful shortcuts#

Shortcut Action
F9 New order window
Ctrl+M Show or hide Market Watch
Ctrl+N Show or hide Navigator
Ctrl+T Show or hide Toolbox (trades, history, journal)
Ctrl+R Show or hide Strategy Tester
Alt+B Depth of Market
F4 Open MetaEditor (MQL5 coding)

To export your trading history for a journal or tax records, go to the Toolbox History tab, right-click and choose Report.

Common mistakes#

  • Choosing the wrong server at login. Demo, live and regional servers have different names.
  • Not checking account mode. A second trade behaves completely differently on netting vs hedging.
  • Assuming lot sizes are universal. Check contract size on gold, indices and crypto CFDs before trading.
  • Backtesting scalpers on generated ticks. Fixed or interpolated spreads flatter short-term systems.
  • Running an EA from an unknown seller. Test it on demo for weeks; read its code if possible.
  • Leaving one-click trading on. A misclick can open a full-size position instantly.
  • Treating the platform as proof of a broker's safety. Check the regulator's register instead.

Checklist#

  • I have logged in to the correct server and confirmed whether my account is netting or hedging.
  • I have opened the Specification for every symbol I trade and noted contract size, tick value, swap and hours.
  • I know the execution mode and whether slippage or requotes can occur.
  • I can place, modify and close every order type I plan to use, on a demo first.
  • I calculate position size from cash risk, not from free margin.
  • I backtest short-term strategies with real ticks and realistic commissions.
  • I export my history regularly for my journal and tax records.
  • I have checked my broker's licence on the regulator's own website.

Glossary#

MetaQuotes: The company that develops MetaTrader 4 and MetaTrader 5.

Trade server: The broker's system to which your terminal connects; it defines your account, symbols and execution.

Netting: An account mode with one position per symbol; opposite trades reduce or reverse it.

Hedging: An account mode that allows several positions per symbol, including opposite directions.

Expert Advisor (EA): An automated trading program written in MQL5 (or MQL4 for MT4).

MQL5: The programming language for MT5 indicators, scripts and EAs.

Specification: The MT5 window listing a symbol's contract terms.

Margin level: Equity divided by used margin, shown as a percentage; brokers close positions when it falls to the stop-out level.

Summary#

MT5 is a capable, widely available platform, but the experience you get depends on the broker behind it. Learn the four things that most affect your trading — the server you log in to, your account's netting or hedging mode, each symbol's specification, and the strategy tester's modelling mode — and you'll avoid most of the expensive surprises. Then pair the platform with a regulated broker, a written risk plan and plenty of demo practice.

Keep learning: MT4 vs MT5 · MetaTrader 4 guide · backtesting guide · forex order types · what is margin · copy trading · how to start forex

Frequently Asked Questions

MetaTrader 5 is a multi-asset trading platform developed by MetaQuotes. Brokers use it to offer forex, CFDs, stocks and futures. It provides charts, order entry, automated trading in MQL5 and a strategy tester.

No. MT5 is software. A broker licenses it and connects it to a trade server that supplies your account, symbols, prices, fees and execution.

The platform is free to download and use. Your costs come from the broker through spreads, commissions and swaps, plus any paid indicators, signals or VPS you choose.

Use File and then Login to Trade Account, enter the login number and password from your broker, and choose the exact server name the broker gave you. A wrong server is the most common login error.

In netting mode, all trades in one symbol combine into a single position. In hedging mode, each trade is a separate position, so you can hold a buy and a sell on the same symbol at once. The broker sets the mode per account.

No. NFA Compliance Rule 2-43(b) requires US forex dealers to offset positions first-in, first-out and prohibits carrying offsetting positions in a customer account.

MetaQuotes lists 21 timeframes for MT5, from one minute to one month, compared with 9 in MT4.

Two market orders (buy and sell), six pending orders (buy limit, sell limit, buy stop, sell stop, buy stop limit, sell stop limit), plus stop loss, take profit and trailing stop.

It places a buy limit order once price reaches a stop trigger. You use it to enter after a breakout but only at a price no worse than your limit.

Right-click the symbol in Market Watch and choose Specification. It shows contract size, digits, tick size, tick value, swap rates, the 3-day swap day, trading hours and margin settings.

Use Every tick based on real ticks for scalping or tight-stop strategies. Open prices only or 1-minute OHLC are faster for rough checks of slower strategies, but can overstate results for short-term systems.

Not directly. MT4 uses MQL4 and MT5 uses MQL5, so EAs need rewriting or a vendor-supplied MT5 version, then fresh testing.

Right-click Market Watch and choose Show All or use the Symbols window. Brokers often add suffixes such as .m or .raw, and some instruments aren't offered on every account type.