Skip to content
realtrademaster

MT5 Error 10035: Check Which Order Types Your Symbol Allows

MT5 trade server code 10035 (TRADE_RETCODE_INVALID_ORDER) means the requested order type is incorrect or prohibited. Compare the type actually sent with the permissions for the exact broker symbol. That gives you a concrete check before changing any request settings.

Steps to check

  1. Start with the request that returned 10035. Write down the broker symbol, including any suffix, and the intended order type. For an Expert Advisor (EA), compare those notes with the submitted MqlTradeRequest.symbol, action and type. To place a new pending order, use TRADE_ACTION_PENDING with the corresponding pending order type. A stop-limit request carries both a trigger in price and the price of the limit order in stoplimit.
  2. In MT5 desktop, open Market Watch, right-click the exact broker symbol and choose Specification. Read Orders for the permitted order types and Trade for the broader trading mode. Check both. Even when a type appears in the list, a trading mode such as close-only can prevent a new position. Two gold symbols with similar charts can have different permissions.
  3. An EA reading SYMBOL_ORDER_MODE receives a set of permission flags. A Buy Stop Limit or Sell Stop Limit needs the SYMBOL_ORDER_STOP_LIMIT flag. Test whether the corresponding flag is present in the bitmask. The request's ORDER_TYPE_* value comes from a separate enumeration. When the required permission is missing, keep the original setup on hold and confirm the supported order types for that symbol with the broker.
  4. If the symbol allows the intended type and your EA sent a different one, correct the mapping and use OrderCheck with the revised request on a demo environment whose symbol permissions you have verified. Record the function's Boolean return and the check result's return code and comment. Passing this preflight leaves acceptance and execution open. If you submit the demo order, read the separate trade server response, then check the active orders and any matching order or deal history.

Worked example

Suppose a demo XAUUSD symbol permits market, limit and stop orders. Its specification omits stop-limit orders. An export pairs retcode 10035 with a request to place a Buy Stop Limit. The request shows a trigger of 2,410.00 in price and a limit price of 2,408.00 in stoplimit. Both the prices and the export are fictional. Submitted request — The EA asked for a Buy Stop Limit with two distinct prices. Symbol specification and retcode — The required stop-limit permission is absent, and the request was rejected. There is no pending order from this request to trigger. Later chart trades at 2,410.00 or 2,408.00 — These prices alone provide no evidence of order acceptance or a fill. On a symbol that permits stop-limit orders, an accepted Buy Stop Limit can place a Buy Limit at 2,408.00 when its trigger condition is met. The resulting limit order still needs its own execution. A Buy Stop has different behavior because its trigger activates a market order. Changing expiry or fill policy leaves the original order type unchanged.

Frequently asked questions

What's the difference between errors 10035, 10030 and 10022?

10035 points to the order type. 10030 points to filling policy, and 10022 points to expiration. Use the actual return code to choose the first field to investigate.

Why does my EA get 10035 when I can place a manual order?

Compare the exact symbol, order type and trading mode of the two requests. A manual market order can be allowed on a symbol that prohibits stop-limit orders. If both requests appear to use the same type, inspect what the EA actually put into action and type.

Can a dated gold signal tell me whether the order filled?

Start at the outcomes page and choose a dated XAUUSD example. Record the alert time and time zone, the original order instructions, and any revision or cancellation. In a separate column, record the broker symbol, request response and any matching order or deal, with its actual price and volume. If the broker shows a rejection, keep it separate from the reported signal outcome. If execution records are missing, mark your fill status as unverified.

Related guides

Related video

Related video on how an automated MT5 setup submits requests

Watch on YouTube

Sources