Pending Order in MT5: How to Place, Modify and Delete One

A pending order is an instruction to buy or sell later, only when the price reaches a level you set. In MetaTrader 5 you place one with F9 and Type set to Pending Order, then choose the price, volume, stop loss, take profit and expiry.

Module 9 · Lesson 1 of 5

What you'll learn

This lesson opens the MT5 Power User module. It is the hands-on follow-up to our lesson on forex order types, which explains when each order fits. New to the platform? Start with how to use MetaTrader 5.

What is a pending order?

A pending order is an instruction to buy or sell later, only if the price reaches a level you choose. Until then it waits, with no open position and no running profit or loss. When the price gets there, MetaTrader 5 tries to open the position.

MetaTrader 5's basic principles of trading define four basic types:

Buy limit Sell limit Buy stop Sell stop
Below the price, buys on a dip Above the price, sells on a rise Above the price, buys on a rise Below the price, sells on a fall

MetaTrader 5 adds buy stop limit and sell stop limit, for six pending types in all; the stop limit is explained below.

Market order Pending order
When it executes Straight away Only if the price reaches your level
Fill price The current Ask (buy) or Bid (sell) Your price or better (limit), your price or worse (stop)
Before execution Nothing waits An order sits in the Trade tab

Definitions

A price line ending at the current Ask of 1.08500, with four pending order levels: a sell limit and a buy stop above the price, and a sell stop and a buy limit at 1.08200 below it
Buy limit and sell stop orders wait below the current price, buy stop and sell limit orders above it, and each one triggers only if price reaches its level.

How do you place pending orders in MT5?

To place a pending order in MetaTrader 5 desktop, press F9, set Type to Pending Order, fill in the order type, price, volume, stop loss, take profit and expiry, then press Place. The steps follow MetaQuotes' help on executing trades. The Place button stays inactive while any field is incorrect.

  1. Press F9, or right-click the symbol in Market Watch and choose New Order.
  2. Set Type to Pending Order and choose the order type, for example Buy Limit.
  3. Enter the Volume in lots and the Price at which the order should trigger.
  4. Enter a Stop Loss and Take Profit. Left at zero, they are not set.
  5. Choose the Expiration and press Place.
  6. Check the Trade tab of the Toolbox: it should list an order, not a position.

A stop loss or take profit on a pending order only acts once the order has triggered. Choosing those levels is covered in the stop loss and take profit lesson.

How do you place a pending order in MT5 mobile?

On the MetaTrader 5 mobile app, tap the symbol in Quotes, choose New order, switch the trade operation type to a pending type, then set the volume, price, SL, TP and expiration. The fields match the desktop ones, according to MetaQuotes' Android help on placing pending orders.

To change or delete the order later, tap and hold its line in the Trade tab and choose Modify order or Delete order, as the Android help on managing pending orders describes.

How do pending orders expire in MT5?

A pending order in MetaTrader 5 lasts until it triggers, you delete it, or its expiry is reached, and you choose the expiry when you place it. There are four settings, with slightly different names on desktop and mobile. If the Expiration field is greyed out, your broker has locked it on the server.

Desktop name Mobile name When an untriggered order ends
Good Till Canceled (GTC) GTC Never: it waits until you delete it
Today Today At the end of the current trading day
Specified Date and Time At the date and time you enter
Specified day Date At 00:00 of the day you pick, or the nearest trading time

How do you modify or delete a pending order?

You modify or delete a pending order from the Trade tab of the Toolbox: right-click it, choose Modify or Delete, then change the fields or press Delete. You can change the price, stop levels and expiry, but not the volume. To change the size, delete the order and place a new one.

Method How Note
Modify window Right-click the order in the Trade tab Change fields, or press Delete
Drag on the chart Drag the price line, or the SL or TP line alone Needs Show trade levels turned on
Chart menu Right-click the order line on the chart Modify, Delete or Trailing Stop

What happens to a pending order after you place it?

A pending order waits until it fills and becomes a position, you cancel it, its expiry passes, or it is rejected when it triggers. It stays visible in the Trade tab while it waits, and its final status appears in the History tab. These are the main MetaTrader 5 statuses:

Status What it means
Placed Accepted by the broker and waiting in the Trade tab
Filled Triggered and opened a position
Canceled You deleted it
Expired Its expiry passed before it triggered
Rejected It triggered but could not be executed

Free margin is checked when the order triggers, not when you place it. If it is too low at that moment, the order is cancelled and moved to history as Rejected. Free margin is explained in the leverage and margin lesson.

How does a pending order play out?

The same pending order can fill at your price, fill at a better price after a gap, or never fill, while a stop order in the same gap fills at a worse price. The numbers below are synthetic: a buy limit on EURUSD 30 pips below the Ask, with a 25-pip stop loss and a 50-pip take profit.

EURUSD is quoted at 1.08480 Bid and 1.08500 Ask. You place a buy limit for 0.20 lot at 1.08200, 30 pips below the Ask. One pip on 0.20 lot of EURUSD is worth about $2 (0.0001 × 20,000 euros); the pip value calculator works out other sizes.

Field Value Distance and value
Price 1.08200 30 pips below the Ask
Stop loss 1.07950 25 pips × $2 = $50 at risk
Take profit 1.08700 50 pips × $2 = $100
Expiry Today Removed at the end of the trading day

Margin at the trigger. The position is 20,000 euros × 1.08200 = $21,640. At an assumed 1:30 leverage it needs $21,640 ÷ 30 = $721.33 of free margin when the order triggers.

A gap. Suppose you had chosen GTC and the order waited over a weekend. On Monday the Ask opens at 1.08100. A limit order fills at your price or better, so it can fill near 1.08100. Your stop loss is now only 15 pips away, so the risk to it is 15 × $2 = $30.

A sell stop for 0.20 lot at 1.08200 behaves differently. A stop order fills at your price or worse, so with the Bid opening at 1.08100 it fills 10 pips worse: 10 × $2 = $20 of slippage.

What is a stop limit order in MT5?

A stop limit order is a stop order that places a limit order, instead of a market order, when its stop price is reached. You set two prices: the stop price that activates it and the limit price where the new order waits, so it fills only at the limit price or better.

In the gap above, a sell stop limit with a stop price of 1.08200 and a limit of 1.08150 would not fill at 1.08100. It would fill only if the Bid rose back to 1.08150.

How do skilled traders manage pending orders?

Skilled traders match the order type to the fill they want, give every order an expiry that fits the analysis behind it, keep free margin for the trigger, and review open orders daily. MetaTrader 5 executes the order exactly as written while you are away, so the setup does the work.

Try it on demo

On a demo account in MetaTrader 5, press F9 on EURUSD and place a buy limit 300 points below the Ask, at the smallest volume, with expiry set to Today. Drag its price line on the chart, then delete the order and find it marked Canceled in the History tab.

—
—
—

—
—

—
—
—
—
—
—

1.10000

Quick check

  1. Which expiry setting ends a pending order at the end of the current trading day?
  2. Buy limit, 0.20 lot of EURUSD at 1.08200, stop loss 1.07950, about $2 per pip. If the stop fills at its price, the loss is
  3. A sell stop at 1.08200 on 0.20 lot fills at 1.08100 after a gap. The slippage costs
  4. A pending order triggers but your free margin is too low to open the position. MetaTrader 5 marks it as
  5. Which field of a pending order can you not change in the modify window on desktop?

Frequently asked questions

How do I cancel a pending order in MT5?

Right-click the order in the Trade tab of the Toolbox, choose Modify or Delete, and press Delete. On mobile, tap and hold the order line and choose Delete order. The order then shows as Canceled in History.

Do pending orders expire over the weekend?

Only if their expiry passes. A Today order ends with the trading day, so it does not wait over a weekend. A GTC order keeps waiting and can be filled at Monday's opening price, which may have gapped past your level.

Why can't I place a pending order in MT5?

Usually a field is incorrect, which keeps the Place button inactive. Common causes are a price on the wrong side of the market, such as a buy limit above the Ask, or a stop loss on the wrong side of the order price.

Sources

Practise what you learned

Open an account to use MetaTrader 5. Start on a demo account before risking real money.

Open Account