On this page
Broker labels are useful starting points, but they do not tell the whole execution story. For an Expert Advisor, the practical questions are how prices are formed, where an order is handled, which execution mode the symbol uses and what happens when the requested price is no longer available.
Market Maker, STP, ECN and DMA: what the labels mean
A Market Maker may quote prices and act as counterparty to a client trade under its execution policy. STP usually describes automated routing to one or more external providers. ECN generally refers to an electronic network that matches available bids and offers, while DMA describes direct access to an external order book or liquidity venue. In retail Forex, these terms are not applied uniformly, so the account agreement and execution policy are more informative than a marketing badge.
| Label | Typical idea | What an EA user should verify |
|---|---|---|
| Market Maker | The broker provides the client price and may internalize flow. | Requotes, spread behavior, stop rules and conflict-of-interest disclosure. |
| STP | Orders are routed automatically to selected liquidity sources. | Whether routing is consistent, how markups are added and how rejects are handled. |
| ECN | Prices and available volume are aggregated from participants. | Commission, minimum volume, partial fills and depth available at the quoted price. |
| DMA | The order reaches an external venue or order book under defined rules. | Eligible instruments, order types, fill policy and any last-look process. |
A well-controlled EA can run better on a stable account with transparent costs than on an account carrying an attractive label but producing erratic spreads, rejects or fills.
Use the broker-selection checks to verify the actual account rather than rely on an ECN or STP label. Then measure slippage, latency and requotes from comparable requests; the execution-model name alone does not establish fill quality.
Separate the broker model from the MetaTrader execution mode
MT4 can show execution settings such as Instant Execution, Request Execution or Market Execution for a symbol. These describe how the terminal and server process a market order; they are not proof that the broker is an ECN, STP or Market Maker. Under Instant Execution, the requested price can become unavailable and a requote may follow. Under Market Execution, the trade is filled at the available server price, which may differ from the price visible when the EA sent the request.
Also inspect the symbol specification: floating or fixed spread, Digits, contract size, Stops Level, lot step, maximum volume, swap and trading sessions. An EA can be logically correct yet still receive invalid-stop or invalid-volume responses because these broker-defined parameters differ.
Execution quality is measurable, not a slogan
Judge execution over a representative sample of the EA’s active hours. Record the requested price, fill price, round-trip latency, rejects, requotes, partial fills and spread at entry. Separate normal sessions from rollover, major news and thin-liquidity periods. A single fast order is not evidence of consistently good execution.
Track positive and negative differences, not only the average.
Count rejected opens, closes and modifications separately.
Measure the complete order path, not only a VPS ping.
Execution quality is strategy-dependent. A few tenths of a pip may be immaterial to an H4 position but decisive for a short-horizon scalper. Grid and multi-order systems also need sufficient liquidity and margin when several orders are triggered close together.
EA compatibility checklist
Regulation, client-money rules and withdrawal terms must be checked separately for your legal entity and jurisdiction. Good technical compatibility does not replace due diligence on the company holding the account.
Run a controlled broker test before live deployment
- Use the same EA build, symbol, timeframe and inputs intended for live trading.
- Keep risk fixed and compare accounts during the same trading window.
- Export the Experts, Journal and account history rather than relying on screenshots.
- Compare requested and filled prices, spread, commission, swap and modification errors.
- Repeat the test across enough trades to include calm and faster conditions.
- If you move live, begin small and confirm that live fills remain within the tested range.
Do not optimize an EA around one unusually favorable demo feed. The goal is to find stable conditions the strategy can tolerate, not the best isolated result.
Separate upstream execution from the retail MT4 record
A broker may route or aggregate liquidity upstream without exposing each underlying fill in the retail terminal. MT4 order history alone does not prove the identity of a liquidity provider, a particular venue or the absence of broker intervention. Likewise, an ECN or STP label does not establish how every order on every account is handled.
If partial execution is relevant, ask how it is represented in this specific account: tickets, remaining volume, price reporting and commissions. Do not assume that an upstream partial fill appears as the same retail-platform event or that an EA automatically supports it.
Ask questions that lead to verifiable terms
- Which legal entity is the contractual counterparty, and what execution policy applies?
- Which execution mode and order types are available for this exact symbol and account?
- How are price changes, rejected requests, timeouts and protective orders handled?
- Which records can explain a disputed fill, and what is the review procedure?
Record the answers alongside observed fills, rejection codes and costs. A low terminal ping measures only part of the path; it does not establish a business model or guarantee a price. Evaluate the contract and the operational sample as separate evidence.
Read the retail contract, execution mode and upstream route separately
Three different descriptions often appear together in broker marketing. The client agreement identifies your contractual counterparty. The platform’s execution mode describes how an order request is processed. An upstream routing description concerns what the broker does with some or all of its exposure or orders.
| Layer | Evidence | What it does not establish |
|---|---|---|
| Retail legal relationship | The named company, client agreement and applicable execution policy. | The delay, spread or fill of the next request. |
| Terminal/server execution mode | The account/symbol settings and the documented handling of price changes. | Whether the broker routes every order to an external venue. |
| Upstream liquidity or hedging | The broker’s policy and any records it makes available for the relevant transaction. | A complete upstream fill history visible in a retail MT4 ticket. |
For example, an agreement can identify the broker as principal while the broker separately hedges exposure externally. Those statements can coexist. The presence of external liquidity does not by itself rewrite the retail contract, and the absence of venue details in a terminal screenshot does not prove that no external activity occurred.
Keep the conclusion proportional to the evidence. If a policy does not explain how a particular order was handled, record that limitation instead of assigning a business model from one fill or an account’s name.
Trace the order lifecycle before blaming the routing model
An EA first needs an eligible signal and a valid request. The server then handles that request under the symbol and account rules. A position subsequently needs its intended protection, modifications and eventual close. Each stage can fail for a different reason.
A volume that does not match the permitted step is an invalid request. Moving it to an account labelled ECN does not automatically repair the volume calculation. Similarly, a strategy that tries to place a stop inside the permitted distance needs a compatible specification or a corrected request policy.
The MQL4 symbol-properties reference explains that a zero Stops Level can mean no fixed restriction or a server-side dynamic restriction that the terminal cannot represent. Therefore zero is not a universal guarantee that any protective distance will be accepted. Preserve an invalid-stops response and inspect the applicable specification instead of looping the same request.
For requests that were valid and filled, compare the recorded spread, signed execution difference, completion interval and resulting account state. For requests that were rejected, use the reported reason and parameters. Separating these observations makes the account comparison more informative than attaching every problem to the broker-model label.
Include protective orders and price gaps in the account discussion
A broker-held stop and a locally managed virtual exit have different dependencies. A server-held order does not need the EA to keep sending its signal, whereas a virtual exit depends on the managing process remaining operational. The actual triggering and execution conditions still come from the account’s terms.
Ask how protective orders are triggered, which quote side is relevant and what happens when the market moves through the requested level. A displayed stop price should not be presented as a guaranteed exit price unless the broker explicitly provides that product under the applicable conditions.
For a strategy that changes stops frequently, inspect accepted modifications as well as the final visible level. A modification request is not evidence that the server accepted it. This distinction matters when reconstructing risk after a connection loss or a rejected stop update.
Frequently asked questions
Does Market Execution prove that the broker is an ECN?
No. It is a platform/server execution mode. The contractual counterparty and upstream routing require their own evidence.
Does a zero Stops Level guarantee that my stop will be accepted?
No. MQL4 documents a possible dynamic server-side restriction when the terminal reports zero. Check the actual response, account rules and symbol specification.
Does a stop always close at its displayed price?
Do not assume this. Read the triggering and execution terms, including gaps. A guaranteed stop requires explicit applicable product terms.
Official references
MetaTrader documents its order execution process and the broker-defined fields shown in Market Watch and Contract Specification. Use those terminal values together with the broker’s own execution policy.
For the dynamic stop-distance qualification, see the official MQL4 symbol-properties reference.