NuvoraSyncNuvoraSync
Educational guideMetaTrader7 min readUpdated June 2026

Market Orders vs Pending Orders in MetaTrader

Every order in MetaTrader is one of two instructions: a market order, which executes immediately at the current quote, or a pending order, which waits on the broker's server until price reaches a level you set in advance. MT4 offers four pending types, MT5 adds two more, and any position can carry a stop loss and take profit attached on top. Each comes with a precise trigger condition, a defined fill behaviour and a few broker-set placement limits — the mechanics mapped out here, type by type.

Key takeaways

  • A market order executes immediately: buys fill at the current ask, sells at the current bid.
  • Pending orders rest on the broker's trade server. Limits sit on the favourable side (buy limit below the price, sell limit above); stops sit on the breakout side (buy stop above, sell stop below).
  • Limit-class orders fill at their price or better — or not at all. Stop-class orders become market orders when triggered and fill at the best available price.
  • Stop loss and take profit are not standalone orders: they attach to a position, are stored server-side, and are cancelled automatically when the position closes.
  • Brokers enforce a stops level (minimum distance from the current price for new orders) and a freeze level (a band where pending orders can no longer be changed).
  • Every pending order carries an expiration setting — GTC, end of day or a specified time — after which the server deletes it.

Two kinds of instruction

Every entry in a MetaTrader trade history began as one of two instructions. A market order asks to be filled now, at whatever the market is quoting; a pending order asks to be filled later, and only if price reaches a level chosen in advance.

Market order

Executes as soon as it reaches the trade server. A buy fills at the current ask, a sell at the current bid — there is no trigger level, only the quote available on arrival.

Pending order

Rests on the trade server with a trigger price. Nothing executes until the market touches that price; until then the order can be modified or deleted, and it may never fill at all.

The two sides of the quote do the routing: market buys pay the ask and market sells receive the bid, as unpacked in the bid and ask guide. Pending orders obey the same rule at the moment they execute, which is why each pending type watches one specific side of the quote while it waits.

The four classic pending types — and where they sit

MT4 and MT5 share four pending types, and each name encodes two things: the direction (buy or sell) and the class (limit or stop). The placement follows automatically. A limit rests on the side where the price would be more favourable than it is now; a stop rests on the side where it would be worse.

Pending order placement around a GBP/USD quote of 1.26980 bid / 1.27000 ask. Limit-class orders (emerald) fill at their price or better; stop-class orders (rose) trigger market orders.

The symmetry is exact: buy limit and sell stop sit below the current price, sell limit and buy stop above it. MetaTrader enforces the geometry — a buy limit placed above the current ask is rejected as an invalid price, because that instruction already describes a market order.

Trigger and fill behaviour, type by type

Buy orders trigger off the ask, sell orders off the bid. What happens once the trigger price trades depends entirely on the class:

MetaTrader order types with their trigger conditions and fill behaviour
Order typeTriggers when…Fill behaviour
Market buy / sell— (executes on arrival)Fills at the current ask (buy) or bid (sell).
Buy limitthe ask falls to the order priceFills at the order price or lower — never higher.
Sell limitthe bid rises to the order priceFills at the order price or higher — never lower.
Buy stopthe ask rises to the order priceBecomes a market buy; fills at the best available ask.
Sell stopthe bid falls to the order priceBecomes a market sell; fills at the best available bid.
Buy / sell stop limit (MT5)price reaches the stop pricePlaces a limit order at a preset limit price instead of filling.

The classes split on one point. A limit-class order is a price guarantee without a fill guarantee: it executes at its price or better, or not at all. A stop-class order is the reverse — once triggered it will execute, but as a market order, at whatever price is available at that moment. In a fast market that fill can land away from the trigger level; how far, and why, is the subject of the slippage guide.

MT5's extra pair: stop-limit orders

MT5 extends the menu with buy stop limit and sell stop limit, two-stage orders that chain the classes together. The stop price still acts as a trigger — but instead of sending a market order, the server places a limit order at a second price set in advance.

A buy stop limit in two stages

  • Order placed: stop (trigger) price 1.27180, limit price 1.27160. Current ask: 1.27000.
  • Stage 1 — the ask touches 1.27180: the server places a buy limit at 1.27160.
  • Stage 2 — the new buy limit behaves like any other: it fills at 1.27160 or lower, or it does not fill.

MT4 has no stop-limit types, so an MT4 account history can only ever contain market entries and the four classic pendings — one of the small structural differences between the two platforms’ order models.

Stop loss and take profit: attached, not standalone

A stop loss and a take profit do not appear in the pending order menu, because they are not standalone orders. Each attaches to a specific position — or to a pending order, taking effect only if it executes — and lives exactly as long as the position does. Close the position, and both levels are cancelled automatically.

Mechanically, they reuse the two classes. A stop loss is stop-class: when its level trades, the position is closed at market. A take profit is limit-class: it closes the position at its price or better. And because closing a position means dealing on the opposite side of the quote, both levels on a buy position watch the bid, while both levels on a sell watch the ask.

Attached orders are stored on the broker’s trade server, not in your terminal. A stop loss set in the morning keeps watching the position with the computer off. The one exception is a trailing stop, which the terminal manages locally — it only moves the stop loss while the platform is running and connected.

Where to place the two levels — distances, ratios and what they imply for risk per trade — is a separate topic, covered in the stop loss and take profit guide.

Stops level and freeze level: the broker's placement rules

Two per-symbol distances, set by the broker in points, restrict where orders can go. The stops level is the minimum gap between the current price and any new pending order, stop loss or take profit. The freeze levelis a band around an order’s trigger price inside which it can no longer be modified or deleted — the order is about to execute, so the server locks it.

Placement limits on a five-digit symbol

  • Symbol settings: stops level 25 points (2.5 pips), freeze level 10 points (1 pip).
  • Current quote: 1.26980 bid / 1.27000 ask.
  • A buy stop must sit at 1.27025 or higher — an order at 1.27010 is rejected.
  • A stop loss on a new buy must sit at 1.26955 or lower — at least 2.5 pips under the bid.
  • Once the ask reaches 1.27170, a buy stop at 1.27180 is inside the freeze band: it can still execute, but it can no longer be moved or deleted.

Both values appear in the symbol’s contract specification (right-click the symbol in Market Watch) and differ between brokers and account types. A rejected order or a refused modification close to the market is usually this rule at work, not a platform fault.

How long a pending order lives

A market order is consumed the moment it executes; a pending order needs a lifespan. Every pending carries an expiration setting, and when it lapses the trade server deletes the order on its own — no terminal required.

Pending order expiration settings in MetaTrader
Expiration settingWhen the server deletes the order
GTC (good till cancelled)Never on its own — the order rests until it executes or is deleted manually.
TodayAt the end of the current trading day, as defined by the broker's schedule.
SpecifiedAt an exact date and time chosen when the order is placed.
Specified dayAt the end of the trading day on the chosen date.

MT4 offers good-till-cancelled or a specific expiry time; MT5 supports all four modes. One consequence for reading your own account history: an expired pending leaves no trade behind, only an order record marked as expired — one reason the order list and the deal list in an MT5 report rarely have the same number of rows.

Frequently asked

How many pending order types do MT4 and MT5 have?

MT4 has four: buy limit, sell limit, buy stop and sell stop. MT5 keeps those and adds buy stop limit and sell stop limit, for six in total. Stop loss and take profit are separate — they attach to positions rather than existing as standalone orders.

Do pending orders and stop loss / take profit work when my terminal is closed?

Yes. Pending orders, stop losses and take profits are stored and monitored on the broker's trade server, so they stay active with the platform shut down. The exception is a trailing stop, which runs inside the terminal: it only updates the stop loss while MetaTrader is open and connected.

Why does MetaTrader reject a pending order placed close to the current price?

Most brokers enforce a stops level — a minimum distance in points between the current price and any pending order, stop loss or take profit. An order placed inside that distance is rejected, typically with an 'Invalid stops' message. The value is listed per symbol in the contract specification.

What is the difference between a buy stop and a buy stop limit?

A buy stop becomes a market order the moment the ask reaches its trigger price, so it fills at whatever price is then available. A buy stop limit, available in MT5 only, instead places a buy limit order at a price you preset — adding a price cap at the cost of possibly not filling.

Related guides

Related free tools

Free, no login required.

Related NuvoraSync features

Sources & further reading

Want to analyze your own MetaTrader account data automatically?

NuvoraSync is a read-only MetaTrader journal and analytics workspace. Connect MT4 or MT5 once and your trades, drawdown and performance update on their own — no manual entry, no signals, just your own data.

This article is for educational purposes only. It does not provide trading signals, investment advice, financial recommendations, broker recommendations or trade execution.