TROUBLESHOOTING · METATRADER 5

MT5 unsupported filling mode (error 10030)

SYMPTOM

Orders fail with "Unsupported filling mode" or error 10030, often only on one broker.

Causes, most likely first

1. The EA requests a filling mode the symbol does not permit

MT5 supports Fill or Kill, Immediate or Cancel, and Return. Each symbol declares which it allows, and an EA that hardcodes one fails everywhere that mode is not offered. Read the permitted modes from the symbol specification and request one of those rather than assuming.

2. The broker changed execution type on the symbol

Market, instant and exchange execution permit different fill policies. A broker moving a symbol between them breaks EAs that worked the previous day, with no change on your side.

3. The EA was written for a hedging broker and moved to a netting one

Netting accounts — including US-regulated MetaTrader 5 — commonly permit a narrower set of fill policies, and an EA built against an offshore hedging account will not have been tested against them. It usually surfaces alongside other position-management problems rather than alone. See FIFO and netting rules.

4. Pending and market orders are treated the same

Permitted fill policies differ between market and pending orders on the same symbol. An EA using one code path for both works for one order type and fails for the other, which makes the error look intermittent.

Why this happens

This is a compatibility problem rather than a fault, which is why it confuses: the identical EA runs perfectly on one broker and fails on the first order at another. Nothing is wrong with the account, the balance or the strategy.

The correct fix is for the EA to read the symbol's permitted filling modes and choose one at runtime. Hardcoding a mode is the underlying bug, and it is common because it works fine until the software meets its second broker.

If you are evaluating any automated system for a broker other than the one it was built on, ask about this specifically. "It supports MT5" does not mean it negotiates fill policy.

Common questions

What is filling mode in MT5?

A fill policy tells the server what to do when an order cannot be filled entirely at the requested price. Fill or Kill executes the whole volume or nothing, Immediate or Cancel fills what it can and cancels the rest, and Return fills what it can and leaves the remainder working. Each symbol declares which of the three it permits, and asking for one that is not on that list is error 10030.

How do I fix unsupported filling mode without editing the EA?

Usually you cannot, and it is worth knowing that early. The permitted modes are a property of the symbol and the broker execution type, so the fix belongs where the order is constructed. If you did not write the EA, the realistic options are asking the vendor for a build that reads the symbol specification at runtime, or moving to a broker whose symbol permits the mode it hardcodes.

Why does the same EA work on one broker and fail on another?

Because fill policy is set per symbol per broker, not by the platform. An EA that hardcodes Fill or Kill runs perfectly wherever that is allowed and fails on its first order everywhere it is not. Nothing about your account, balance or settings changed — the assumption the software was built on did.

Related problems

Bot built for prop firm rulesAll troubleshootingContact support

Educational information only, not financial advice. Trading leveraged products carries substantial risk of loss. Last updated 2026-09-04.