Service 01

MT4 & MT5 server setup and management, done right the first time

MT5 server setup for a broker means designing and configuring the distributed MetaTrader 5 platform: trade server, history server, access points, Administrator and Manager terminals, and the groups, symbols and routing rules your business runs on. MetaQuotes installs the core servers as part of delivery. We plan the architecture around that, configure it for real clients, secure and monitor it, and hand it over with full documentation.

  • Trade, history and access servers planned and configured
  • Data centre, latency and failover design
  • Groups, symbols, sessions and routing set up for your model
  • Security hardening, monitoring and documented handover
In short

MT4/MT5 server setup covers trade, access, history and backup servers, failover architecture, data centre placement, groups, symbols, sessions and manager permissions, followed by load and failover testing.

In short

What MT5 server setup actually involves

A MetaTrader 5 server is not a single machine you switch on. MetaQuotes describes MT5 as a distributed architecture, “where different functions are performed on different servers.” The trade server holds accounts, orders and positions; the history server stores and distributes quotes and charts; access points accept client connections and keep the trade server hidden from the public internet. Brokers administer the whole cluster from the MetaTrader 5 Administrator terminal and run day-to-day operations from the Manager terminal.

Getting the software installed is the easy part. MetaQuotes states that it can install servers as part of the delivery set when you license the platform. What decides whether the platform is stable, fast and safe is everything that comes after: where each component is hosted, how access points are spread across client regions, how groups, symbols, margin and routing are configured, who has which administrator and manager rights, how backups are tested, and how the cluster is monitored once real clients are trading.

That is the work we do. MetaTrader Admin is an independent administration team, not affiliated with MetaQuotes. We have taken part in more than 500 server deployments for brokers in 50+ countries, and we work within your existing licence or white label. If you are still choosing a platform model, our turnkey broker setup page covers the wider launch; this page focuses on the servers themselves.

Architecture

MetaTrader 5 server architecture, component by component

Understanding the role of each component makes every later decision easier: hosting, capacity, security and failover all follow from it. The table below summarizes the broker-side components as MetaQuotes documents them on its broker pages, and what we configure for each.

ComponentWhat it doesWhat we configure
Trade serverThe core of the platform: client accounts, groups, orders, positions, deals and margin calculations.Base settings, groups, symbols, routing, sessions, swaps, commissions, plugins and database backup policy.
History serverStores and serves price history so charts and the strategy tester have data; MetaQuotes notes the Server API can extend both trade and history servers.Data sources, symbol history settings and storage placement.
Access pointsEntry points for client terminals. MetaQuotes notes that trade servers “can be hidden behind multiple access points.”Locations near client regions, connection limits, address lists and protection in front of them.
Administrator terminalThe tool for configuring the server cluster itself; MetaQuotes also notes access server hosting can be deployed from MT5 Administrator.Administrator accounts, rights, network setup and configuration change process.
Manager terminalDaily operations for dealers, risk managers and back office. MetaQuotes says CRM functionality is already embedded in it.Role-based manager accounts with least-privilege permissions.
APIs (Manager, Gateway, Server, Web, Report)Integration points for custom tools, liquidity and data gateways, server plugins, web resources and reports.Credentials, scope and placement of each integration.

Two further properties matter for planning. First, MetaQuotes states that “all the system databases are securely encrypted and provided with the backup and recovery options.” Encryption is built in, but backup frequency, storage location and restore testing are still your decisions, and an untested backup is only a hope. Second, because functions are split across servers, you can place components in different data centres, add access points as your client base grows and keep the trade server off the public internet. For a deeper technical walk-through, see our guide to MT5 server architecture for brokers.

MT5 vs MT4

Server-side differences that affect setup

Figures as published by MetaQuotes in its MT5 vs MT4 comparison for brokers. They explain why most new server projects today are MetaTrader 5.

Server capabilityMetaTrader 5MetaTrader 4
Server architectureDistributedSingle
Account groupsUnlimited512
Security groupsUnlimited32
SymbolsUnlimited1,024
Orders databaseUnlimitedUp to 10 million
Built-in order routingYesNo
Position accountingNetting and hedgingHedging
Native SQL exportMySQL, MSSQL, OracleLimited MySQL
Manager APIC++, ASP.Net, PHPC++
64-bit platformYesNo

Source: MetaQuotes, MetaTrader 5 vs MetaTrader 4 comparison for brokers. See our full <a href="/mt4-vs-mt5/">MT4 vs MT5 comparison</a> for trader-side differences.

What we deliver

Designed for performance, resilience and control

Cluster design

Server roles, sizing and placement planned around your expected accounts, markets and growth, not a default template.

Data centre selection

Trade server near your liquidity, access points near your clients, so execution and client connections both stay fast.

Groups and symbols

Group structure, symbol specifications, margin, sessions, swaps and commissions configured to match your business model.

Security

Least-privilege administrator and manager rights, hidden trade servers, protected access points and controlled API access.

Failover and recovery

Backups scheduled, stored off-site and restore-tested, with documented switch-over procedures if a node or site fails.

Documentation

A clear record of architecture, configuration, credentials policy and runbooks, so your team owns the platform.

Hosting

Hosting, data centres and order routing

Server location has a direct effect on execution quality and client experience, so it is one of the first decisions in any project. The general rule is simple: put the trade server close to your liquidity, and put access points close to your clients. The trade server talks to your liquidity providers and bridge on every order, so the network path between them matters most. Clients, on the other hand, connect to the nearest access point, so a broker with clients in Europe, the Middle East and Southeast Asia benefits from access points in each region rather than one location for everyone.

Beyond location, we look at the factors that decide whether a data centre is a good fit for a trading platform:

  • Connectivity to your liquidity providers, bridge and price feeds, ideally within the same facility or financial hub.
  • Power, cooling and network redundancy appropriate for systems that must run around the clock during market hours.
  • DDoS protection in front of access points, since they are the public face of the platform. We plan this protection as part of the design.
  • Hardware or virtual resources sized for the trade server’s database and peak load, with headroom for growth.
  • A second site for backups and disaster recovery, far enough away that one incident cannot take out both.
  • Remote hands and support from the provider, so hardware issues can be resolved quickly at any hour.

We work with the hosting provider you choose, or advise on options if you have not decided yet. MetaQuotes can also host or install components as part of its delivery, and in that case we coordinate with what is already in place rather than duplicating it.

Order routing and liquidity connections

Built-in order routing is one of the most important server-side differences between MT5 and MT4. In MT5, routing rules on the trade server decide where an order goes based on the group, symbol, volume and other conditions. A broker running a hybrid model can send certain flows to liquidity providers through a gateway while handling others internally, all from rules defined on the server rather than in external scripts.

Routing has to match your execution policy, your risk appetite and the agreements you have with liquidity providers, so we design it together with your dealing and risk teams. We also make sure the gateway or bridge connection is placed and configured correctly on the network. If you need a bridge set up or changed, see our liquidity bridge integration service; routing rules are reviewed with your risk team before go-live.

Configuration

Groups, symbols and routing: what gets configured

Most platform problems after launch trace back to configuration, not software. These are the areas we set up and document for every server.

AreaWhat it controlsTypical decisions
GroupsWhich clients get which conditions, symbols, leverage and margin rulesAccount types, currencies, demo vs live, IB and introducing structures, hedging or netting mode
SymbolsInstrument specifications and trading rulesContract size, digits, spreads, trading sessions, swaps, margin rates, execution mode
Security groupsGrouping of symbols for permissions and settingsForex, metals, indices, CFDs and other classes kept logically separate
RoutingWhere each order goes and how it is handledRules by group, symbol or volume to liquidity, dealer or internal execution
Margin and stop-outWhen positions are warned and closedMargin call and stop-out levels per group, calculation modes
Commissions and swapsCharges applied to client tradesPer-lot or per-deal commissions, swap types and triple-swap day
Managers and rightsWhat each staff member can see and doSeparate dealer, risk, support and back-office roles

MetaTrader 5 supports four execution modes (Instant, Request, Market, Exchange) and two position accounting systems, netting and hedging. Hedging in MT5 has been available since March 2016.

Scope

What we set up

Already running?

We also audit existing MT4 and MT5 servers and fix configuration issues without downtime wherever possible. An audit usually covers groups, symbols, rights, backups and security.

  • Trade server base configuration after MetaQuotes installation
  • History server data and symbol history settings
  • Access points placed close to your clients, with protection in front of them
  • Backup schedule, off-site storage and tested restore procedures
  • Failover and disaster recovery design with documented switch-over
  • Groups, symbols, security groups, sessions, swaps and commissions
  • Routing rules and gateway placement for your execution model
  • Administrator and manager accounts with least-privilege rights
  • Firewall rules, IP restrictions and secure administrative access
  • Plugin installation and compatibility checks
  • Monitoring, alerting and log review set-up
  • Performance tuning and load testing before go-live

Security & monitoring

Security, monitoring and ongoing management

A trading server holds client funds data, trading history and the controls that move money, so security has to be part of the initial design. MT5 gives you strong foundations: encrypted databases, trade servers that can sit behind access points, and role-based manager accounts. Those foundations only help if they are used properly.

During setup we apply the principle of least privilege to every administrator and manager account, so a dealer cannot change server settings and a support agent cannot alter client balances. Administrative access is restricted by IP and kept off the public internet. API credentials are scoped to the job each integration needs. Plugins are installed only from trusted sources and reviewed before go-live. Logs are kept and reviewed so unusual activity is visible. Our MT5 server security service describes this in detail.

Monitoring and ongoing server management

A server that is well configured on day one still needs attention. Client numbers grow, symbols are added, MetaQuotes releases new builds, and liquidity connections change. Ongoing management covers server health monitoring, build updates in a controlled window, configuration changes, backup checks and incident response.

We offer 24/7 support for brokers who want an experienced team watching the platform around the clock, with monitoring of trade, history and access servers, gateways and plugins. Details are on our MT5 support and monitoring page. If you prefer to run the platform in-house, the handover documents above give your team everything it needs, and we remain available for audits and specific changes.

About uptime. We design every cluster to a 99.9% uptime target using redundant access points, tested backups and documented failover. That is a design target, not a guarantee: availability also depends on your hosting provider, network, liquidity connections and licence terms.

Process

How a server project runs

Requirements

Platform (MT5, MT4 or both), expected accounts, markets, liquidity providers, client regions, business model and regulatory context.

Architecture

Server roles, locations, access point plan, failover, backup and security design, agreed with you in writing.

Installation

Coordination with MetaQuotes or your provider for the core installation, then access points, network and integrations connected.

Configuration

Groups, symbols, sessions, routing, margin, commissions, plugins, and manager and administrator rights configured.

Testing

Functional checks on every group and symbol, load testing, backup restore tests and failover drills with your team.

Go-live and handover

Go-live support, documentation, knowledge transfer and the option of ongoing managed support.

Handover

What you receive at handover

The goal is a platform your team understands and controls, whether or not we stay on for managed support.

Credentials are transferred through a secure channel agreed with you and never included in documents.

  1. Architecture documentServer roles, locations, network diagram, access points and integration points.
  2. Configuration recordGroups, symbols, sessions, routing, margin, swaps and commissions as configured at go-live.
  3. Access and rights matrixEvery administrator and manager role, what it can do and who holds it.
  4. Backup and recovery runbookBackup schedule, storage locations, restore steps and the results of restore tests.
  5. Failover procedureStep-by-step switch-over instructions and the outcome of the failover drill.
  6. Monitoring planWhat is monitored, alert thresholds and who is notified.

MT4

MT4 server setup and turnkey MT4 requests

We still administer MetaTrader 4 servers for brokers who run them, including firms operating MT4 and MT5 side by side. MT4 uses a single-server design with fixed limits, such as 512 account groups and 1,024 symbols according to MetaQuotes, so setup focuses on working well inside those limits.

For new projects, the market context matters. Finance Magnates reported in January 2018 that MetaQuotes would stop issuing new MT4 licences to new clients, and later reported a fee increase for MT4 from January 2025. Some retail brokers are also retiring MT4: OANDA Japan, for example, announced that its MT4 service ends in November 2026 and recommends MT5. For that reason, most “turnkey MT4” enquiries we receive today are better served by an MT5 setup or by a planned MT4 to MT5 migration. We will tell you honestly which fits your situation.

MT4 & MT5 server setup FAQ

What is an MT5 server for brokers?

It is the broker-side MetaTrader 5 platform: a distributed cluster with a trade server, history server and access points, managed through the Administrator and Manager terminals. It is different from a trader VPS, which only runs a client terminal. Brokers license the server platform from MetaQuotes or work through a white-label provider.

Does MetaQuotes install the servers?

Yes. MetaQuotes states that it can install servers as part of the delivery set. What it does not do is design your groups, symbols, routing, rights and failover around your business. That configuration and ongoing administration is where we come in.

Do you work with both MT4 and MT5?

Yes. We set up and administer both platforms, including brokers running them side by side. For new projects we usually recommend MT5 because of its distributed architecture, unlimited groups and built-in routing.

Can you work on servers hosted by my provider?

Yes. We work with the hosting you choose, or advise on data centres if you have not decided yet. The key is to place the trade server near liquidity and access points near your clients.

Do you need our MetaQuotes licence details?

We work within your existing licence or white label. Licensing itself is between you and MetaQuotes or your provider. We are an independent team and are not affiliated with MetaQuotes.

How many access points do we need?

It depends on where your clients are and how many connect at peak. A broker serving one region may start with a small number in one area, while a broker with clients across several continents benefits from access points in each region. We size this during the architecture phase and add more as you grow.

Should we use hedging or netting accounts?

MT5 supports both. In netting mode only one position per symbol can exist; in hedging mode clients can hold multiple positions, including opposite ones. Hedging matches the traditional MT4 style of forex trading, while netting suits exchange-style instruments. Groups can be configured for either.

How are backups and recovery handled?

MetaQuotes states that MT5 system databases are encrypted and have backup and recovery options. We configure the schedule, store copies in a separate location and test restores before go-live, then document the procedure so your team can repeat it.

Can you guarantee uptime?

No responsible provider can guarantee uptime for infrastructure that also depends on hosting, networks and third parties. We design to a 99.9% uptime target with redundancy, monitoring and tested failover, and we are transparent about what that target depends on.

Can you fix an existing server without downtime?

In most cases, yes. We start with an audit of configuration, rights, backups and security, then plan changes for quiet periods or weekends. Changes that need a restart are scheduled with you in advance.

Do you install plugins and integrations?

Yes. We install and check server plugins, gateways and Manager API tools as part of setup or later. Every plugin is checked for compatibility with your server build before it goes live.

What happens after handover?

You receive full documentation and own the platform. You can run it in-house, call us for audits and changes, or choose managed support with 24/7 monitoring. To discuss your project, contact us.

Sources

Sources and further reading

Platform facts on this page are taken from MetaQuotes’ own documentation and from industry reporting, attributed as such:

MetaTrader, MetaTrader 4 and MetaTrader 5 are trademarks of MetaQuotes. MetaTrader Admin is not affiliated with MetaQuotes.

Ready to strengthen your MetaTrader infrastructure?

Schedule a free consultation with our team. We will review your MT4/MT5 set-up and tell you exactly what we would improve.