Service 03
MT4 liquidity bridge and MT5 gateway integration that holds up in fast markets
An MT4 liquidity bridge is the software layer that takes orders from your MetaTrader server, routes them to one or more liquidity providers and sends prices and fills back. We plan, install and tune bridges and MT5 gateways, connect your LPs over FIX and set up routing, aggregation and monitoring so execution stays predictable when volatility spikes.
- Bridge & MT5 gateway setup
- FIX connectivity to one or many LPs
- A-book, B-book and hybrid routing
- Pre-launch testing and execution monitoring
Liquidity integration connects MetaTrader to liquidity providers through bridges and gateways, usually over FIX, with multi-LP aggregation, failover, routing and spread management. MetaTraderAdmin works with OneZero, PrimeXM, Gold-i and Centroid.
Short answer
What an MT4/MT5 liquidity bridge does
MetaTrader was designed to run a broker’s trading environment, not to talk directly to every bank, prime broker or non-bank market maker in the market. A liquidity bridge fills that gap. It sits between your MT4 or MT5 trade server and your liquidity providers (LPs), and it does three jobs at once:
- Prices in. It receives quotes from one or more LPs, filters and aggregates them, applies your markups and pushes the result into MetaTrader as the price feed your clients see.
- Orders out. When a client trades, it decides where that order goes: to an external LP (A-book), to the broker’s own book (B-book), or partly to each (hybrid), according to rules you control.
- Fills back. It returns the execution price, volume and status to MetaTrader so the client’s position, margin and history are correct, and it handles rejections, partial fills and timeouts.
Most bridges talk to LPs using the FIX protocol, the industry standard for electronic order and market-data messaging, and connect to MetaTrader through a server plugin (MT4) or a gateway (MT5). A well-run MT4 bridge connection is close to invisible: prices update smoothly, orders fill quickly and the dealing desk spends its time on risk, not on reconciling broken trades.
We are an independent MetaTrader administration team, not affiliated with MetaQuotes and not tied to any one bridge vendor. Our job is to make your chosen setup work properly, from design through go-live and day-to-day monitoring.
MT4 vs MT5
Bridge vs MT5 gateway: what is the difference?
The terms are often used interchangeably, but they describe different layers. On MT4, there is no native way to route orders to external liquidity, so a third-party bridge, installed as a server plugin, does the routing. On MT5, MetaQuotes lists built-in order routing and a Gateway API among the platform’s broker features. The Gateway API lets developers connect MT5 to external systems, such as liquidity venues and custom data feeds, and the routing rules on the trade server decide which orders go through which gateway.
In practice, many MT5 brokers still use a commercial bridge, because a bridge adds aggregation across several LPs, smart order routing, detailed execution reports and risk tools that a simple single-LP gateway does not provide. The choice is not “bridge or gateway” so much as “how much logic do you want outside the trade server, and who maintains it”.
| Aspect | MT4 with a bridge | MT5 gateway (Gateway API) | MT5 with a commercial bridge |
|---|---|---|---|
| How it connects to MetaTrader | Server plugin supplied by the bridge vendor | Gateway module working with MT5’s built-in routing | Vendor gateway or connector for MT5 |
| Order routing logic | Inside the bridge | MT5 routing rules on the trade server | Split between MT5 routing and the bridge |
| Multi-LP aggregation | Bridge feature | Limited unless built into the gateway | Bridge feature |
| Typical use | Any MT4 broker using external liquidity | Direct link to one venue or an LP-supplied gateway | Multi-LP, hybrid books, detailed execution analytics |
| Who maintains it | Bridge vendor plus your admin team | Gateway developer or LP plus your admin team | Bridge vendor plus your admin team |
If you are still on MT4 and planning a move, read our MT4 to MT5 migration service: bridge and gateway changes are one of the main workstreams in any migration.
Options
Types of bridge and liquidity connection
The right architecture depends on your platform, your number of LPs and how you manage risk. These are the setups we work with most often.
Commercial multi-LP bridge
A hosted or self-hosted bridge from an established vendor such as OneZero, PrimeXM, Gold-i or Centroid, with aggregation, routing rules and reporting.
LP-supplied gateway
Some liquidity providers offer their own MT4 plugin or MT5 gateway. Simple to start with, but usually limited to that one LP.
Custom MT5 gateway
A gateway built on the MetaQuotes Gateway API for a specific venue or data feed, when no off-the-shelf connector fits.
Aggregator in front of MetaTrader
A liquidity hub that combines several LP streams into one book before the bridge passes prices and orders to MetaTrader.
Price-feed-only connection
Quotes from an external feed with orders kept in-house, typical for a pure B-book or for symbols you do not hedge.
Multi-server routing
One bridge serving several MT4 and MT5 servers, so liquidity, markups and risk are managed in one place.
Execution models
A-book, B-book and hybrid routing through the bridge
The bridge is where your execution model becomes real. Routing rules decide, order by order, whether risk leaves your book or stays in it. We configure these rules to match your written risk policy, not the other way round.
- A-book (straight-through processing). Client orders are passed to an LP and the broker earns from markups and commissions. The bridge must handle LP rejections, slippage and partial fills cleanly, and keep the MetaTrader position in sync with the LP position.
- B-book (internalization). The broker takes the other side of client trades. The bridge still matters, because it supplies the price feed and records what would have happened on external liquidity, which is useful for best-execution reviews.
- Hybrid. Rules split flow by group, symbol, account profile, trade size or exposure. Typical patterns include routing large trades or profitable accounts to an LP while internalizing small retail flow, or hedging net exposure above a threshold you define.
Routing interacts closely with risk: changing a rule changes your exposure. That is why we pair routing work with our broker risk management service and document every rule so your dealing team knows exactly why an order went where it did. For a deeper comparison of the three models, see our guide A-book vs B-book vs hybrid.
| Routing model | Where risk sits | What the bridge must do well | Main things to monitor |
|---|---|---|---|
| A-book | With the LP | Fast order passing, rejection and partial-fill handling, position sync | Fill rate, slippage, LP latency, reject reasons |
| B-book | With the broker | Clean price feed, accurate markups, shadow execution data | Net exposure, price quality, toxic flow indicators |
| Hybrid | Split by rules | Reliable rule engine, per-group and per-symbol logic, audit trail | Rule hits, exposure after hedging, rule changes over time |
Process
How we connect a new liquidity provider
Whether it is your first LP or your fifth, onboarding follows the same disciplined sequence. Timings depend mostly on how quickly the LP issues credentials and test sessions.
Requirements and symbol mapping
We list the instruments you want to offer, match LP symbol names, contract sizes, digits and trading hours to your MetaTrader symbols, and agree on markups and routing for each group.
Connectivity and FIX sessions
We set up the network path (cross-connect, VPN or internet), whitelisting and the FIX sessions for market data and orders, first in the LP’s test (UAT) environment.
Bridge and server configuration
We configure the bridge or MT5 gateway, routing rules, price filters, aggregation and markups, and the matching symbols, groups and execution settings on the MetaTrader server.
Testing in UAT
We run order-flow, rejection, partial-fill and failover tests and check that positions, margin and history reconcile between MetaTrader, the bridge and the LP.
Production cut-over
We switch to production sessions in a planned window, start with limited groups or symbols if you prefer, and watch the first trading sessions closely.
Handover and monitoring
You receive documentation of every setting and rule, and the connection is added to monitoring so issues are caught before clients notice them.
Before go-live
What we test before a bridge goes live
Most production incidents with bridges come from scenarios nobody tested. Our pre-launch checklist covers the normal path and the failure paths.
Why failure paths matter
A bridge that works on a quiet afternoon can still fail on a news release or a weekend gap. We deliberately test disconnects, rejects and stale prices so your team knows how the system behaves when markets are not calm.
- Market, limit, stop and stop-limit orders route and fill correctly for every enabled symbol
- Prices arrive for all symbols, with correct digits, contract sizes and trading sessions
- Markups and spreads apply per group and per symbol exactly as specified
- LP rejections and requotes are returned to clients with clear, correct messages
- Partial fills are handled according to your fill policy and reflected in MetaTrader
- Stop-out and margin call orders reach the right destination during fast markets
- Failover to a secondary LP or price source works, and switching back is clean
- Stale-price and price-spike filters trigger at the thresholds you approved
- Routing rules send each group and trade size to the intended book
- Positions and balances reconcile between MetaTrader, the bridge and the LP
- Session drops and reconnects do not create duplicate or orphaned orders
- Logs and alerts capture every reject, timeout and disconnection
After go-live
Monitoring execution quality
A bridge is not a one-time install. LPs change their pricing and risk appetite, market conditions shift, and small configuration drifts add up. We monitor the connection and review execution data so problems surface as trends, not as client complaints.
What we watch
- Fill rate and reject reasons per LP, symbol and time of day, to spot LPs that reject more often in volatile periods.
- Slippage, positive and negative, compared with the price shown to the client when the order was sent.
- Round-trip latency from MetaTrader through the bridge to the LP and back, with alerts when it drifts.
- Price quality: stale quotes, spikes, gaps between LPs and how often filters intervene.
- Session health: FIX disconnections, sequence resets, heartbeats and failover events.
- Exposure by symbol and book, so hybrid rules keep doing what the risk policy intends.
How it fits your operations
Bridge alerts are part of our MT5 support and monitoring service, which runs 24/7. We aim for a 99.9% availability target on the infrastructure we manage; that is a target we design and monitor for, not a guarantee, because LP and network events outside your servers also affect execution. Regular execution reviews give your dealing desk and compliance team a clear record of how orders were handled.
Buying guide
How to choose an MT4 bridge provider
There is no single best bridge for every broker. Use these criteria to compare vendors against your own platform, volumes and risk model.
| Criterion | What to ask | Why it matters |
|---|---|---|
| Platform support | Does it support MT4, MT5 or both, and several servers at once? | Avoids a second integration project when you migrate or add a server |
| LP coverage | Which LPs and venues already have tested connectors? | Existing connectors shorten onboarding and reduce custom work |
| Aggregation and routing | Can rules split by group, symbol, size, account and exposure? | Determines how precisely you can run a hybrid book |
| Latency and hosting | Where is it hosted, and can it sit close to your servers and LPs? | Network distance adds directly to execution time |
| Failover and redundancy | What happens if an LP, a session or the bridge itself fails? | Decides whether an outage is a blip or a trading halt |
| Reporting and analytics | Are fills, rejects, slippage and latency reported per LP? | You cannot improve execution you cannot measure |
| Risk tools | Are there exposure views, limits and alerts built in? | Reduces the need for separate tools and manual checks |
| Support model | What hours and response commitments does the vendor offer? | Markets move around the clock; incidents do too |
| Commercial terms | How is it licensed, and what changes as volume grows? | Avoids surprises as the business scales |
| Exit and portability | Can you export configurations and move to another vendor? | Keeps you in control of your own setup |
We do not sell bridge licences. We help you compare options against your requirements, and then we implement and maintain the one you choose.
Our service
What our liquidity and bridge integration covers
Bridge setup and upgrades
Installation, configuration and version upgrades for OneZero, PrimeXM, Gold-i, Centroid and LP-supplied bridges and gateways.
LP connectivity
Single or multiple LPs over FIX, with failover between them and documented symbol mapping.
Price feeds and spreads
Aggregation, filtering and markups per group and symbol, tuned to your commercial model.
Routing rules
A-book, B-book and hybrid routing rules aligned with your risk policy and kept under change control.
Latency
Server placement and connectivity tuned for execution speed, in line with your data centre and LP locations.
Secure connectivity
Restricted access, whitelisting and encrypted links between servers, bridge and LPs.
Latency starts with location. A fast bridge cannot make up for a trade server hosted far from its liquidity. If you are planning a new deployment, our guide on choosing a data centre for MT5 explains how server location, LP locations and network routes affect execution.
Preparation
What to have ready before an MT4 bridge connection
Gathering these items early is the easiest way to shorten an integration project.
Do not have all of this yet? That is normal for new brokers. We can help you build the list as part of a turnkey broker setup.
- LP agreements and contactsSigned agreements and a technical contact at each LP who can issue FIX credentials and test sessions.
- Instrument listThe symbols you plan to offer, with the LP’s symbol names, contract specifications and trading hours.
- Risk and routing policyA written description of which flow is A-booked, B-booked or hedged, and the limits that apply.
- Markup and group planYour client groups and how spreads, commissions and markups should differ between them.
- Server and hosting detailsMetaTrader server versions, data centre location and network access for the bridge and LP connections.
- Bridge vendor accessCredentials and support contacts for the bridge vendor, if you have already chosen one.
Who it is for
Brokers and firms we support
Our bridge and liquidity work is used by brokers at very different stages. New brokerages often need a first LP connected as part of a full turnkey broker setup, together with server installation and risk configuration. Established forex brokers typically come to us to add LPs, move from a single gateway to multi-LP aggregation, clean up years of routing rules, or replace a bridge during an MT4 to MT5 migration.
Our team has deployed more than 500 MetaTrader servers for clients in over 50 countries, and the same people who install bridges also maintain them, so knowledge does not get lost between projects. If you want the technical background first, read our guide on MT5 liquidity bridge integration.
Liquidity bridge integration FAQ
What is an MT4 liquidity bridge?
It is software that connects an MT4 server to external liquidity providers. It streams prices into MetaTrader, routes client orders to LPs or to the broker’s own book, and returns fills. On MT4 it usually runs as a server plugin from the bridge vendor.
Do I need a bridge on MT5, or is the gateway enough?
MT5 has built-in order routing and a Gateway API, so a single LP can be connected through a gateway. Brokers that want several LPs, aggregation, hybrid books and detailed execution analytics usually still add a commercial bridge. We help you decide based on your number of LPs and how you manage risk.
Can you connect more than one liquidity provider?
Yes. Multi-LP setups with aggregation and failover are a core part of our work. We map symbols across LPs, configure how prices are combined and define what happens when one LP stops quoting or rejects orders.
Which bridges do you support?
We work with the leading bridge solutions, including OneZero, PrimeXM, Gold-i and Centroid, and with gateways provided by LPs. We are vendor-neutral and do not resell licences, so our advice is based on your requirements.
Can I run A-book, B-book and hybrid routing on the same server?
Yes. Routing rules can split flow by group, symbol, trade size, account or exposure. The important part is documenting the rules and reviewing them regularly, because each change alters your risk position.
How long does it take to connect a new LP?
It depends mostly on how quickly the LP issues test and production credentials and on the number of symbols. The technical configuration itself is usually the shorter part. We give you a realistic plan once we know your LP and instrument list.
What is FIX, and why do bridges use it?
FIX (Financial Information eXchange) is the standard messaging protocol for orders and market data between financial firms. Most LPs offer FIX sessions, so bridges use it to connect to many venues in a consistent way.
How do you measure execution quality?
We track fill rates, reject reasons, slippage, latency and price quality per LP and symbol, along with FIX session health. These figures show which LPs perform well in different conditions and where routing or filters need adjusting.
What happens if a liquidity provider goes down?
With a properly configured failover, prices and orders switch to a secondary LP or source according to rules you approve. We test this before go-live and monitor sessions so the switch and the return are both visible to your team.
Will changing bridges affect open client positions?
It can if it is not planned. We schedule bridge changes in quiet windows, reconcile positions before and after, and agree in advance how open hedge positions at the LP will be handled.
Are you affiliated with MetaQuotes or any bridge vendor?
No. We are an independent MetaTrader administration company. We work with your licensed MetaTrader servers and your chosen bridge vendor on your behalf.
How do I get started?
Tell us about your platform, LPs and routing plans through our contact page. We will review your current setup and suggest the next practical steps.
References
Sources
Platform features described on this page are based on public MetaQuotes documentation:
- MetaTrader 5 for brokers: distributed architecture, Gateway API, Manager API and other broker APIs.
- MetaTrader 5 vs MetaTrader 4 for brokers: built-in order routing and Gateway API listed for MT5.
- MetaTrader 4 integration, plugins and feeds: plugins and feeds as gateways to quote providers.
Bridge vendor names are trademarks of their respective owners. MetaTrader Admin is not affiliated with MetaQuotes or with any bridge vendor.
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.