What is a liquidity bridge and how does it work with MT4/MT5?

Index
TL;DR: A liquidity bridge links a broker's MT4 or MT5 server to its liquidity providers. This explainer follows one order from client to LP and back, and shows how the bridge handles the price feed, aggregation, routing and markups.
Every A-book trade at a MetaTrader broker leaves the platform through software that clients never see. That software is the liquidity bridge. It carries orders out to liquidity providers, brings prices and fills back, and applies the broker's routing and pricing rules on the way.
This explainer is for CTOs and technical leads who want the mechanics before they compare vendors. It follows one order step by step, explains how prices reach the client, what aggregation, routing and markups do, and where things break. For a vendor-by-vendor view, see our comparison of MT5 liquidity bridges.
What is a liquidity bridge?
A liquidity bridge is middleware that sits between a retail trading platform and one or more liquidity providers (LPs). Its core job is translation between two worlds. On one side it speaks the trading platform's own interface; on the other, the LP's, which in institutional FX is usually the FIX protocol.
On MetaTrader 5, external systems connect through gateways. MetaQuotes says its Gateway API is used for "MetaTrader 5 integration with other trading systems", and third-party MT5 bridges are built on that kind of integration. MetaQuotes' own Ultency is the exception: MetaQuotes describes it as liquidity aggregation and order matching built into MT5.
In practice, the word "bridge" now covers more than a connection. Most products also aggregate prices, route orders, apply markups and report on execution. The table shows the functions a broker should expect and where each one runs.
| Function | What it does | Where it happens |
|---|---|---|
| Connectivity | Keeps live order and price sessions open with each LP | Between bridge and LP, usually over FIX |
| Price feed | Receives LP quotes and passes them to the platform | From LP to bridge to trade server |
| Aggregation | Combines several LP streams into one book | Inside the bridge |
| Routing | Decides whether an order goes to an LP, stays in-house or is split | Inside the bridge, by rule |
| Markups | Adds the broker's spread or commission to LP prices | Inside the bridge or the platform |
| Reporting | Records fills, slippage, rejections and exposure | Bridge database and reports |
How an order travels through a bridge, step by step
The sequence below follows a market order from an A-book client on MetaTrader 5. Vendors name the parts differently, but the path is the same. Every hop adds latency and a possible point of failure. Read it as a diagram of the flow, from left to right and back.
- Client terminal: the client clicks Buy. The order travels over the internet to one of the broker's access points, which forward it to the MT5 trade server.
- Trade server checks: the trade server validates the order against the account, the symbol settings and the client's group, including margin.
- Gateway or plugin: the trade server hands the order to the bridge's connector. On MT5 this is a gateway; on MT4 vendors supply their own connector for the server.
- Routing decision: the bridge applies the broker's rules and decides which LP gets the order, whether it is split, or whether it stays in-house.
- Order to the LP: the bridge converts the order into the LP's format, typically a FIX new order message, and sends it over the open session.
- LP response: the LP fills, partly fills or rejects the order. If it uses last look, it may hold the order briefly before deciding.
- Fill back to the bridge: the LP returns an execution report with price and size. The bridge applies the broker's markup or commission rules.
- Fill back to the platform: the bridge passes the result to the trade server, which opens the position on the client's account.
- Confirmation: the client's terminal shows the trade, and the bridge logs it for exposure and execution reports.
If an LP rejects the order, the bridge either tries another LP or returns the rejection to the platform, depending on configuration. Ask every vendor exactly how re-routing works. It decides what clients experience in fast markets, when rejections are most likely.
How the price feed works
Prices travel in the opposite direction and never stop. Each LP streams bid and ask quotes for the symbols in its agreement with the broker. Clients only see a price after the bridge has transformed it. The usual sequence has five steps.
- Each LP streams quotes to the bridge over a market data session.
- The bridge normalises them: symbol names, contract sizes and decimal places differ between LPs.
- The bridge filters out stale or off-market quotes, using rules the broker sets.
- Aggregation combines the remaining quotes into one book, and markups are applied by client group.
- The bridge publishes the result to the trade server, which distributes it to client terminals through the access points.
Symbol mapping is the least glamorous part of the set-up and a frequent source of errors. A wrong contract size or digit setting on one symbol can misprice every client in a group. Test every symbol after each change, not just the majors.
Aggregation: one book from several LPs
With one LP, the bridge simply passes that LP's prices on. With several, it builds an aggregated book: the best bid and best offer across all LPs, often with depth behind them. Aggregation narrows spreads only if LPs fill what they show.
An LP that streams tight prices but rejects many orders makes the aggregated book look better than the execution clients actually get. That is why aggregation and execution reporting go together. Choosing the liquidity providers behind the book matters as much as choosing the bridge.
Ask vendors whether the book uses top of book only or full depth, how it handles an LP that goes quiet, and whether large orders can be split across LPs at different price levels. Answers vary more than the marketing suggests.
Routing: A-book, B-book and everything in between
Routing is where the bridge stops being plumbing and becomes part of the business model. The same order can be passed on, kept or split. Rules are usually set by client group, symbol, order size and current exposure.
| Routing option | What happens to the order | Typical use |
|---|---|---|
| A-book (straight through) | Sent in full to an LP, which takes the other side | Professional or consistently profitable clients; large orders |
| B-book (internal) | Not sent to an LP; the broker is the client's counterparty | Small retail orders in liquid symbols |
| Partial | A set percentage goes to an LP and the rest stays in-house | Hybrid books balancing risk and revenue |
| Exposure-based | Kept in-house until net exposure passes a limit, then hedged | Brokers managing risk at portfolio level |
Routing rules are business decisions with regulatory consequences, because they decide when the broker profits from client losses. They should be written down, owned by a named person and changed only through a controlled process.
Markups and pricing rules
The bridge is usually where the broker's margin is added to LP prices. Markups must match what clients are told about pricing. Most bridges support several methods, applied by group or symbol.
- Spread markup: a fixed number of points added to the LP bid and ask.
- Minimum spread: a floor that applies when the aggregated spread is tighter.
- Commission: a charge per lot or per million, usually on raw-spread accounts.
- Slippage settings: how price differences between quote and fill are passed on, in both directions.
Every pricing change should leave an audit trail showing who made it and when. A misconfigured markup is invisible to the dealing desk until clients complain or reports are reconciled.
MT4 and MT5: bridge, plugin or gateway
Vendors often sell separate connectors for each platform. PrimeXM, for example, lists an MT4 Bridge and an MT5 Gateway for its XCore aggregator. The bridge logic is the same; only the connection changes. On MT5, MetaQuotes offers the Gateway API for integrating other trading systems.
| Set-up | How it connects | Suits |
|---|---|---|
| Third-party bridge on MT4 | Vendor's connector on the MT4 trade server | Brokers still running MT4 |
| Third-party bridge on MT5 | Gateway connecting the MT5 trade server to the bridge | MT5 brokers wanting their own choice of LPs and risk tools |
| MetaQuotes Ultency | Built into MT5; no separate bridge | MT5-only brokers; MetaQuotes states more than 30 LPs |
| Multi-platform hub | One bridge serving several platforms | Brokers also running cTrader, DXtrade, Match-Trader or others |
MetaQuotes published an Ultency fee of USD 1 per USD 1 million traded in December 2025, with no minimum monthly fee; LPs charge their own fees on top. Ultency works only with MT5, so brokers running other platforms still need a third-party bridge.
What can go wrong, and what to test
A bridge fails quietly more often than loudly. Most incidents show up first as rejections or slippage. The table lists the failure points worth testing before go-live and after every major change.
| Failure point | What clients or the desk see | What to test |
|---|---|---|
| LP session drops | Stale prices, rejected orders | Automatic switch to another LP and alerting |
| Bridge server fails | No A-book execution at all | Standby instance and how fast it takes over |
| Symbol mapping error | Wrong contract size or price | Every symbol after each configuration change |
| Latency spike | Slippage and more rejections | Round-trip time per hop, by LP |
| High last-look rejections | Orders rejected after a delay | Reject ratio and hold time per LP |
| Markup misconfiguration | Clients priced wrongly | Change control with a second approver |
On last look, the FX Global Code's Principle 17 says market participants employing it should be transparent regarding its use and provide appropriate disclosures to clients. Ask each LP for its disclosure, and measure rejection rates yourself through the bridge's reports.
Frequently asked questions
Is a liquidity bridge the same as a liquidity provider?
No. The bridge is technology; the liquidity provider is the counterparty. The LP prices and fills orders, while the bridge connects the broker's platform to it. Most bridge vendors do not provide liquidity themselves.
Does a B-book broker need a liquidity bridge?
Usually yes, even if most flow stays in-house. Hedging exposure still needs a route to an LP. Most brokers run hybrid books, and the routing rules that decide what is kept or passed on normally live in the bridge.
Which protocol does a bridge use to talk to LPs?
Mostly FIX, the messaging standard of institutional FX. Some vendors also list WebSocket and REST connections. Centroid, for example, states FIX 4.4, WebSocket and REST. Ask which version and dialect each of your LPs expects.
Where should a liquidity bridge be hosted?
Close to the LPs and the trade server. Physical distance adds latency to every hop. Several vendors list Equinix data centres such as LD4 in London, NY4 in New York and TY3 in Tokyo; ask where each LP's servers are.
Does MetaQuotes Ultency replace a bridge?
For MT5, MetaQuotes says Ultency provides aggregation and order matching natively. It does not cover MT4 or other platforms. Multi-platform brokers, or those wanting LPs outside Ultency's list, still need a third-party bridge.
A liquidity bridge is the route every A-book order and hedge takes between the platform and the market. Understanding the flow makes vendor demos much easier to judge. Connectivity, the price feed, aggregation, routing and markups are separate functions, and each can fail on its own.
Before comparing vendors, map your own flow: platforms, LPs, routing rules and pricing. Then test re-routing, symbol mapping and rejection reporting on a demo server. The answers will show which bridge fits your set-up far better than a feature list.