MetaTrader 5, commonly called MT5, is a multi-asset trading platform developed by MetaQuotes. Traders use it to view prices, analyse charts, submit orders, run automated trading programs, and review account activity. Brokers and financial firms use the server-side software to distribute price data, manage accounts, and process trade requests.
MT5 began with a strong association with foreign exchange trading, but its design supports a wider set of instruments. Depending on the broker, an account may provide currency pairs, shares, exchange-traded funds, futures, metals, energy products, stock indices, cryptocurrencies, or contracts for difference. The products shown inside the terminal depend on the account provider rather than MetaQuotes.
That distinction matters. MetaTrader 5 is not a broker, exchange, or investment adviser. It is software that connects a trader to a broker’s server. Pricing, execution quality, withdrawals, account protection, leverage, and available markets are controlled by the broker and the rules applying to that firm.
What MetaTrader 5 Does
MetaTrader 5 combines market analysis and account management in one application. Its main functions include displaying live prices, opening charts, applying technical indicators, placing orders, managing open positions, and reviewing completed transactions. The platform can also run programs written in the MQL5 programming language.
MT5 uses a client-server structure. The client terminal runs on a computer, phone, tablet, or browser. The broker’s server maintains account records, distributes quotes, calculates margin, and handles order requests. A connection indicator in the terminal shows whether the client is communicating with the selected server.
This structure explains why two people using MT5 may receive different spreads, symbols, trading hours, or execution results. They may have the same client software but connect to separate brokers, account groups, or servers. Even accounts held at one broker can have different conditions if they use separate pricing models.
The platform is available in several forms:
- Desktop terminal: Offers the broadest charting, development, testing, and automated trading functions.
- Mobile application: Supports price monitoring, chart analysis, order entry, and position management on Android and iOS devices.
- Web terminal: Runs in a compatible browser without requiring a full desktop installation.
The desktop terminal is generally used for MQL5 development and continuous algorithmic trading. Mobile and browser versions are better suited to routine account monitoring and manual order management.
MetaTrader 5 Versus MetaTrader 4
MetaTrader 5 and MetaTrader 4 share a familiar visual structure, but they are separate platforms. MT4 was built mainly around foreign exchange trading, while MT5 was designed to support several asset classes and exchange-style trading arrangements.
The platforms also use different programming languages. MT4 programs are written in MQL4, while MT5 uses MQL5. An old expert advisor or custom indicator made for MT4 will not normally run in MT5 without code changes. Renaming the file does not fix the issue, tempting though that shortcut may be.
| Feature | MetaTrader 4 | MetaTrader 5 |
|---|---|---|
| Primary programming language | MQL4 | MQL5 |
| Position accounting | Commonly hedging | Netting or hedging |
| Built-in timeframes | 9 | 21 |
| Pending order formats | Four common formats | Includes stop-limit formats where supported |
| Strategy testing | Single-threaded in older installations | Multi-threaded and multi-currency testing |
| Exchange-traded instruments | Less commonly supported | Designed to support exchange execution |
MT5 is not automatically better for every user. A trader who relies on an older MQL4 program may continue using MT4 if the broker supports it. A trader who needs more timeframes, a modern testing engine, or access to exchange-traded products may find MT5 more practical.
Markets Available Through MT5
The instrument list is set by the broker. Some MT5 accounts contain a few dozen currency pairs, while others include thousands of shares and derivative contracts. Users can inspect available products through the Market Watch panel.
Foreign Exchange
Foreign exchange accounts commonly include major, minor, and less frequently traded currency pairs. Quotes display one currency relative to another, such as EUR/USD or GBP/JPY. Trading conditions may include a floating spread, fixed commission, overnight financing, and leverage.
Retail foreign exchange trading through MT5 is commonly conducted over the counter. The trader deals under the broker’s account terms rather than buying currency on a central exchange. Execution arrangements may include market execution, instant execution, or other broker-defined methods.
Contracts for Difference
A contract for difference, or CFD, tracks the price movement of an underlying market without transferring ownership of that asset. Brokers may offer CFDs based on shares, indices, metals, oil, bonds, or cryptocurrencies.
CFDs often permit leveraged long and short positions. They may also carry daily financing charges when held overnight. A share CFD does not normally provide the same legal ownership rights as a company share, although cash adjustments may be applied for dividends or corporate actions.
Shares and Exchange-Traded Funds
Some brokers use MT5 to provide access to listed shares and exchange-traded funds. In such accounts, orders may be routed to an exchange or another execution venue. The trader should check whether the account offers direct ownership, synthetic exposure, fractional shares, or share-based CFDs.
Exchange fees, custody charges, market-data subscriptions, settlement practices, and short-selling rules may apply. These conditions will not be identical across all brokers simply because the same terminal is used.
Futures and Other Derivatives
MT5 can support futures contracts with defined expiry dates, tick sizes, contract values, and trading sessions. A futures position may require attention before expiry because the contract can stop trading, settle in cash, or lead to another obligation under exchange rules.
Options may appear in some institutional or broker configurations, but support is less common among retail providers. Traders should not assume that every product supported by the software will be offered by their chosen firm.
Finding and Reviewing Trading Symbols
The Market Watch panel displays symbols enabled for the current account. Hidden instruments can often be added by opening the symbol catalogue and selecting the relevant group. Brokers may organise products under folders such as Forex, Metals, Indices, Shares, or Futures.
Symbol names are not standardised. One broker may display gold as XAUUSD, while another uses XAUUSD.a or GOLD. Suffixes can identify an account group, contract type, pricing feed, or execution arrangement.
Before placing an order, the trader can open the symbol specification window. It may show:
- Contract size and minimum price movement
- Minimum, maximum, and incremental trade volume
- Margin calculation method
- Trading and quotation sessions
- Stop-order distance rules
- Swap calculation and rollover days
- Execution and order filling policies
These details affect position sizing and cost. One lot of a currency pair does not necessarily represent the same financial exposure as one lot of an index CFD or futures contract.
The MetaTrader 5 Desktop Interface
The desktop terminal separates trading functions into several panels. Most panels can be resized, moved, hidden, or restored from the View menu.
Market Watch
Market Watch lists bid and ask prices for selected instruments. It also provides access to tick charts, depth-of-market data, order tickets, and contract terms. Prices shown in this panel update as quotes arrive from the broker.
The bid is commonly used to value or close a long position, while the ask is commonly used to open one. A short position usually opens at the bid and closes at the ask. The gap between those prices is the spread.
Navigator
The Navigator contains trading accounts, built-in indicators, expert advisors, scripts, and purchased or downloaded programs. Files placed in the correct MQL5 folders appear here after the terminal refreshes or restarts.
Dragging an indicator onto a chart opens its settings. Dragging an expert advisor onto a chart attaches the program to that chart and symbol. Automated trading must also be permitted in the terminal settings before the program can send orders.
Toolbox
The Toolbox shows positions, pending orders, exposure, account history, news, alerts, mailbox messages, and program logs. The exact tabs depend on the terminal build and broker configuration.
The Experts and Journal tabs are useful when an automated program does not behave as expected. Error messages may point to rejected orders, invalid volume, unavailable prices, disabled trading, or coding faults.
Charts, Templates, and Profiles
MT5 can display several charts at once. A chart may use candlesticks, bars, or a line based on closing prices. Users can alter colours, grid settings, scale, and displayed price lines.
A template stores the visual settings and indicators applied to one chart. A profile stores a group of open charts and their arrangement. A trader might maintain one profile for currency pairs and another for equity indices. This keeps the terminal orderly without rebuilding every chart after each session.
Charting and Technical Analysis
MT5 includes 21 standard timeframes, running from one minute to one month. The expanded selection includes two-minute, three-minute, six-minute, two-hour, six-hour, and twelve-hour charts, among others. Availability in historical records still depends on the data supplied by the broker.
Built-in indicators cover trend, momentum, volatility, and volume-based analysis. Common examples include moving averages, Bollinger Bands, Average True Range, Relative Strength Index, stochastic oscillators, and Moving Average Convergence Divergence.
An indicator performs a mathematical calculation using price, tick volume, or another data series. It does not know why the market moved and cannot guarantee the next movement. Indicators often lag because they rely on completed or current price data.
Graphical Analysis Tools
The platform provides trend lines, horizontal levels, channels, shapes, arrows, text labels, and Fibonacci tools. These objects can be used to mark prior highs, low-volume zones, projected targets, or planned entry areas.
Graphical objects remain subjective. Two traders can draw different trend lines on the same chart and both can follow internally consistent rules. Written criteria help reduce arbitrary changes after a trade has started.
Price Data and Broker Differences
Forex and CFD candles can differ between brokers because price feeds, liquidity sources, server time zones, and spread settings vary. Daily candles are particularly sensitive to server time. A broker using a different daily closing hour may produce different indicator values even if broad price movement is similar.
Tick volume in retail foreign exchange usually counts quote changes rather than the number of contracts traded across the entire market. Exchange-traded volume, where supplied, has a different meaning. Traders should verify which volume series appears on the chart before applying a volume-based method.
Order Types in MetaTrader 5
MT5 supports market orders and several pending order formats. Broker rules and the traded instrument determine which formats are available.
| Order | Common purpose |
|---|---|
| Buy market | Requests an immediate long position at an available price |
| Sell market | Requests an immediate short position at an available price |
| Buy limit | Requests a purchase below the current market price |
| Sell limit | Requests a sale above the current market price |
| Buy stop | Requests a purchase after price rises to a trigger |
| Sell stop | Requests a sale after price falls to a trigger |
| Buy stop limit | Activates a buy limit after a higher trigger is reached |
| Sell stop limit | Activates a sell limit after a lower trigger is reached |
A market order requests execution but does not promise the displayed quote. The fill can differ during fast movement, thin liquidity, or a market gap. A limit order controls the acceptable price but may remain unfilled. A stop order becomes active after its trigger and can fill away from that level.
Stop-Loss and Take-Profit Orders
A stop-loss instructs the broker to close a position after price reaches a defined adverse level. A take-profit instruction closes the trade after price reaches a target. Both can be entered with the initial order or added later.
A stop-loss controls the order instruction, not the fill price. If the market gaps past the stop, the position may close at the next available quote. Some brokers offer guaranteed stops on selected products, usually with an extra charge, but this is not a standard MT5 function.
Trailing Stops
A trailing stop moves with favourable price movement according to a set distance. In the desktop terminal, standard trailing-stop logic normally runs on the local client. If the terminal closes or loses its connection, the trailing action stops updating, although the last stop level sent to the broker may remain active.
Order Filling Policies
MT5 may show filling policies such as Fill or Kill, Immediate or Cancel, and Return. These determine how the server handles an order that cannot be filled completely at once. Exchange products and over-the-counter derivatives may use different policies.
If an order is rejected, the journal may report an unsupported filling mode. Choosing a mode accepted by the symbol can correct the problem. Automated programs should read the symbol settings instead of assuming one policy applies everywhere.
Netting and Hedging Accounts
MT5 supports netting and hedging position accounting. The broker assigns the method when the account is created.
Under netting, all trades in one symbol are combined into a single net position. If a trader holds one lot long and sells 0.4 lots, the remaining position is 0.6 lots long. A larger sale may close the long position and create a short balance.
Under hedging, each trade can remain as a separate position. A trader may hold long and short positions in the same symbol at the same time. Each position can have its own stop and target.
Holding opposite positions does not remove trading cost or market exposure in a practical sense. Both sides may incur spreads, commissions, and financing. Margin treatment also depends on the broker.
Trade Execution and Slippage
The order ticket sends a request to the broker’s server. The server checks trading permissions, market status, available margin, order volume, and price rules. If the request passes those checks, the broker or connected venue processes it.
Execution quality depends on liquidity, server capacity, network delay, order size, and the broker’s execution model. MT5 itself cannot guarantee a fill at the quote seen on screen. Prices can change between the moment a trader submits an order and the moment the server processes it.
Slippage is the difference between the requested or expected price and the executed price. It can be favourable or adverse. Slippage often increases during economic releases, market openings, gaps, and periods with few available orders.
Desktop users can view execution details in account history, though the amount of information varies. Traders who require fuller records may need broker statements showing order time, deal time, volume, price, commission, and transaction identifiers.
Account Balance, Equity, and Margin
The trade panel displays several figures used to monitor account status.
Balance records settled deposits, withdrawals, and results from closed positions. Equity adds unrealised profit or loss from open positions. Margin is the amount reserved to support current exposure, while free margin is the remaining amount available under the broker’s calculation.
Margin level is commonly calculated as:
Margin level = Equity ÷ Used margin × 100
If equity falls, the margin level can approach the broker’s margin-call or stop-out threshold. At the stop-out level, the server may close one or more positions automatically. The order in which positions are closed depends on broker policy.
Leverage and Position Size
Leverage reduces the cash required to open a position but does not reduce the position’s market exposure. A small price move can create a large gain or loss relative to deposited funds.
Position sizing should account for contract size, stop distance, tick value, account currency, and conversion rates. The lot number alone says little. A 0.10-lot position in gold can carry very different exposure from 0.10 lots in a currency pair.
Margin requirements may rise before major events, during weekends, or for larger positions. Brokers can also apply different leverage by asset class or account equity. The symbol window and broker terms should be checked before an order is sent.
Trading Costs Shown in MT5
MT5 can display several charges, but not every cost appears as a separate line before trading. The spread is built into bid and ask prices. Commission may be charged when a trade opens, closes, or at both stages.
Positions held beyond the broker’s rollover time may incur swap or financing charges. The amount can vary by direction because long and short financing rates differ. A multi-day charge is often applied on one weekday to account for weekend settlement.
Other possible costs include currency conversion, exchange fees, market-data charges, dividend adjustments, and inactivity fees. Some of these appear only on broker statements. Comparing accounts requires more than checking the advertised minimum spread.
Automated Trading with MQL5
MT5 supports expert advisors, custom indicators, scripts, services, and code libraries written in MQL5. MetaEditor, installed with the desktop terminal, provides tools for writing and compiling these programs.
An expert advisor, or EA, can monitor data and send trade requests according to programmed rules. A custom indicator calculates and displays values without normally managing trades. A script runs a task once, such as closing a group of positions or exporting data.
Automated trading can improve consistency in rule execution, but it does not correct a weak trading method. Code can also contain errors. A misplaced decimal, reversed comparison operator, or wrong contract assumption can change an order materially.
Permissions and Safety Checks
The terminal has a master control for algorithmic trading. Each EA also has its own permission settings. Some programs request access to external websites or software libraries. Such permissions should be granted only after the code and source have been assessed.
Programs from unknown sources can create operational and account risks. A sensible review includes checking file origin, requested permissions, trading logic, lot calculations, stop behaviour, and response to rejected orders. Running the program on a demo account can reveal basic faults, though simulated execution will not reproduce every live condition.
Virtual Private Servers
A virtual private server, or VPS, can keep the desktop terminal running away from the trader’s home computer. Traders often use one for EAs that need continuous access or for strategies sensitive to network delay.
A VPS does not improve the strategy itself. It reduces reliance on local power and internet service. The server still requires updates, monitoring, enough processing capacity, and a stable connection to the broker.
Strategy Tester and Backtesting
The MT5 Strategy Tester evaluates expert advisors using historical price data. Users can select the symbol, date range, execution model, starting deposit, leverage, and testing method. The tester can also process multi-currency strategies when the required data is available.
Testing modes trade accuracy for speed. Tick-based testing generally provides a finer simulation than testing from opening prices, but it takes longer. A strategy that checks only at the start of each bar may not need every tick, while one that reacts within a candle usually does.
Common test statistics include net profit, maximum drawdown, profit factor, expected payoff, trade count, and consecutive losses. No single figure gives a complete assessment. A high return paired with severe drawdown or very few trades offers weak evidence about repeatability.
Optimisation and Overfitting
Optimisation runs many parameter combinations and ranks the results. This can help test whether a method remains stable across a reasonable range of settings. It can also produce misleading results if the program is adjusted too closely to past prices.
Overfitting occurs when parameters match historical noise rather than a repeatable market behaviour. Warning signs include excellent results within one short period, sharp performance deterioration after small parameter changes, and dependence on a few unusually profitable trades.
A sounder process separates development data from later test data. Forward testing on a demo or small live account can then show how the program handles current spreads, latency, rejected requests, and financing charges.
Why Broker Data Matters
Historical tests can change after switching brokers. Quote history, spread records, server time, symbol digits, commission, and contract size can differ. A program tested on EURUSD may also fail on EURUSD.a if its code refers only to the first symbol name.
Backtests should use realistic costs and execution assumptions. Testing with zero spread and no commission tends to flatter short-term strategies. Small inaccuracies matter more when the average expected profit per trade is only a few points.
Economic Calendar and Market Data
MT5 may include an economic calendar with scheduled interest-rate decisions, inflation data, employment reports, business surveys, and other releases. Entries can show prior values, forecasts, release times, and reported results.
The calendar helps traders identify periods when spreads or volatility may change. It does not predict the market response. Price can react to the reported figure, revisions, central-bank commentary, positioning, or differences between the result and market expectations.
Release times should be checked against the platform’s displayed time zone. Daylight-saving changes can also alter the relationship between local time and broker server time.
Mobile and Web Trading
The Android and iOS applications provide account access away from a desktop. Users can open charts, apply common indicators, submit orders, modify stops, and review history. Push notifications can also deliver platform alerts to a registered device.
Mobile applications do not run desktop MQL5 expert advisors. An EA must remain active on a desktop terminal or VPS. The phone can monitor the resulting positions, but closing the mobile app does not stop an EA running elsewhere.
The web terminal offers browser-based access and can be useful on a computer where software installation is restricted. Its functions may differ from those of the full desktop program. Traders relying on custom indicators, scripts, or testing will generally need the desktop version.
Setting Up MetaTrader 5
Using MT5 starts with a broker account. After account approval, the broker provides an account number, password, and server name. Entering the correct server is necessary because similar server names may refer to demo, live, regional, or account-type databases.
A sensible initial setup is fairly plain. Add the intended symbols to Market Watch, confirm chart time, review contract terms, and place a small demo order. The trader can then practise modifying and closing a position before using real funds.
Templates and profiles should be saved after charts are arranged. Account history can be exported or retained with broker statements for later review. If an EA is used, its parameter file should also be backed up.
Demo Accounts and Live Accounts
Demo accounts use simulated funds and are useful for learning menus, order formats, and position calculations. They do not fully reproduce live trading. Demo spreads, liquidity, slippage, and order rejection rates may differ.
Results can also change because behaviour changes when real money is involved. Demo testing should therefore be treated as an operational check, not proof that a trading method will remain profitable.
Security and Account Protection
Trading passwords should be stored securely and entered only into official terminal software or the broker’s verified client area. Users should keep the operating system and MT5 terminal updated. Unknown indicators, EAs, and installation packages should be treated like any other untrusted software.
MT5 accounts may include an investor password that allows read-only access. This can be useful for account review without permitting trading. It should still be handled carefully because it exposes account activity and balances.
Broker identity matters as much as software security. Before funding an account, traders should verify the legal entity, regulator, client-money rules, withdrawal terms, and complaint procedure. A familiar platform logo does not confirm that the broker itself is authorised.
Common MetaTrader 5 Problems
A No connection message can result from an incorrect server, network failure, firewall restriction, or broker maintenance. Checking login details and selecting the assigned server will often identify the cause.
A greyed-out trade button may mean the market is closed, the account is read-only, the symbol is disabled, or trading permission has been removed. An Invalid volume message usually indicates that the order size does not match the symbol’s minimum, maximum, or step value.
An Invalid stops message can occur when a stop-loss or take-profit is too close to the current price. It may also occur when the price is entered on the wrong side of the market. Contract settings show the minimum stop distance where one applies.
Missing chart history can often be corrected by opening the symbol, changing timeframes, or allowing the terminal time to download data. An EA that does not trade should be checked for algorithmic permission, market hours, symbol naming, and error messages in the Experts tab.
Advantages and Practical Constraints
MetaTrader 5 places charting, order entry, account records, automated trading, and historical testing in one terminal. It supports manual and algorithmic methods and can connect to several types of brokerage account. Its long adoption period has also produced a large collection of indicators, EAs, and educational material.
The platform cannot compensate for poor broker terms, faulty market data, weak risk controls, or unreliable program logic. Features differ by broker, and the same symbol can have different costs or contract terms on another server. Mobile access is useful, but it does not replace desktop development or continuous EA hosting.
MT5 is best treated as trading infrastructure rather than a source of investment decisions. Its value depends on how the trader configures the platform, checks instrument terms, controls position size, and reviews execution. Used on that basis, MetaTrader 5 provides a capable environment for market analysis, manual order management, and automated trading across many broker-supported instruments.