MT5 101: Pending Orders in MT5, Limit, Stop and Stop Limit

Beginner7 min read
A dark hourglass silhouetted against a grey sky, sand running from the top bulb
Image by Gianluca Miscione on Wikimedia Commons, CC BY-SA 4.0

How Do Pending Orders Work in MT5?

A pending order tells MT5 to buy or sell only when the price reaches a level you choose, so you need not watch the screen. Press F9, pick limit, stop or stop limit in the side panel, enter the price and click Buy or Sell. By the end of this lesson you will have placed a Buy Limit and a Sell Stop that expire today, moved one and deleted both.

What you need: a demo account connected in MT5 and one completed market trade, which your first trade in MT5 walks through. Open a EUR/USD chart and note the current price before you start.

The Six Pending Order Types

Every pending order is placed on one side of the current price and fills when the market reaches it. Limit orders wait for a better price; stop orders join a move once it has started.

Diagram of the six MT5 pending orders around a dashed current-price line: sell limit, buy stop and buy stop limit above it; buy limit, sell stop and sell stop limit below it
Where each order sits when you place it. Limits wait for a better price, stops join a move, and the two stop-limit orders place a limit order once their stop is reached.
  • Buy Limit: placed below the current price. Fills when the ask falls to your price. Use it to buy cheaper, for example at a support level.
  • Sell Limit: placed above the current price. Fills when the bid rises to your price. Use it to sell higher, for example at resistance.
  • Buy Stop: placed above the current price. Fills when the ask rises to your price. Use it to join a breakout upwards.
  • Sell Stop: placed below the current price. Fills when the bid falls to your price. Use it to join a breakdown.
  • Buy Stop Limit: a stop above the ask that, once reached, places a Buy Limit at a second, lower price you set.
  • Sell Stop Limit: a stop below the bid that, once reached, places a Sell Limit at a second, higher price.

The last two are rare for beginners and do not exist in MT4. The lot sizes and order types guide covers the first four in more depth, and support and resistance explains where limit orders usually go.

Step 1: Place a Buy Limit Below the Price

  • Step 1, open the order window: press F9. In builds from April 2026 the order type is chosen in the side panel on the left. Older builds have a Type field instead: choose Pending order there, then Buy Limit.
  • Step 2, choose the type: click Limit Order in the side panel and check that the Symbol is EURUSD. The Buy button turns it into a Buy Limit.
  • Step 3, set the volume and price: enter 0.01 in Volume and, in Price, a level about 20 pips below the current ask. Only Stop Limit orders use the Stop Limit price field.
  • Step 4, add protection: enter a Stop Loss below your entry price and a Take Profit above it. Both are optional on a pending order, but make a habit of filling them.
  • Step 5, set the expiry: under Expiration choose Today. The other choices are Good Till Cancelled (stays until you delete it), Specified (a date and time you enter) and a plain date, which expires at midnight.
  • Step 6, click Buy: with the price below the market, Buy places the Buy Limit and Sell stays grey. Older builds have a Place button, which stays grey until every field is valid. After it is placed, the order appears in the Trade tab below your positions, and a line marks its price on the chart when trade levels are shown.
MT5 order window for EURUSD with Limit Order selected in the side panel: volume, a price below the market, stop limit price, stop loss, take profit, expiration and comment, with the Sell button grey and the Buy button blue
A limit order below the current price, as in Step 1. Only Buy is available, because a limit below the market can only be a Buy Limit; Expiration is on GTC here, where this lesson uses Today. Image: MetaQuotes Ltd, via MetaTrader 5 Help. MetaTrader is a registered trademark of MetaQuotes Ltd

Step 2: Place a Sell Stop and Compare

  • Step 1, repeat with a Sell Stop: press F9, click Stop Order in the side panel, set a price about 20 pips below the current bid and keep Volume at 0.01 and Expiration on Today. Click Sell to place the Sell Stop.
  • Step 2, look at the chart: both orders sit below the price but do different jobs. The Buy Limit buys if the market dips to it; the Sell Stop sells if the market falls through it.
  • Step 3, try the chart menu: right-click the chart above the market and open the Trading submenu. MT5 offers only the order types that make sense at that level.

Trade signals often arrive as pending orders like these. How to copy a trade signal shows how to place one as three orders, one per target.

Step 3: Modify and Delete Pending Orders

  • Drag it on the chart: with Show trade levels switched on in the platform settings, left-click the order’s line and drag it to a new price. The modification window opens so you can confirm the exact figure.
  • Use the dialog: right-click the order in the Trade tab and choose Modify or delete. Change the price, the stop levels or the expiry, then click Modify.
  • Delete one order: in the same window click Delete, or right-click the order’s line on the chart and choose Delete. Deleted orders show as Cancelled in the History tab.
  • Delete several at once: the Trade tab context menu has group operations that delete all pending orders, or all of one type or symbol. They run without confirmation, so they only work when one-click trading is enabled, which the next lesson covers.

What Happens When an Order Triggers

Each order moves through states: Started (checked but not yet accepted), Placed (accepted by the broker), Partially filled, Filled, Cancelled, Rejected or Expired. When the price reaches your level, MT5 turns the order into a market deal and the result appears as a position in the Trade tab, carrying the stop-loss and take-profit you set. If the account cannot cover the margin at that moment, the order is rejected and moves to History. The stop-loss and take-profit on a pending order protect the position it creates, not the order itself, so a Buy Limit that never fills never loses money.

Flow of four boxes: started, placed, price reached and filled, with a note that an order can instead end as cancelled, expired or rejected
The usual path of a pending order. One that is deleted, runs past its expiry or cannot be covered by free margin when it triggers ends in History instead.

Where to place the level is a strategy question. Breakout traders put stop orders just beyond a range, as breakout trading describes, and the risk-reward calculator shows whether the stop and target make sense before you place anything. The spread between bid and ask matters here because buys fill on the ask and sells on the bid; the broker comparison lists typical spreads. If you plan on TradingView, the free breakout scripts in our Pine Script Library mark levels on its charts, but a Pine script cannot place orders in MT5.

If Something Goes Wrong

  • Place stays grey: a field is invalid. The usual cause is a price on the wrong side of the market, such as a Buy Limit above the ask. Move it to the correct side or switch the type.
  • “Invalid price” or “Invalid stops”: the level is inside your broker’s minimum distance from the current price, the stops level shown in the symbol’s Specification. Move it further away.
  • The order vanished overnight: it expired. Today orders are removed at the end of the trading day; use Good Till Cancelled if you want it to wait longer.
  • It filled at a different price: stop orders become market orders when triggered, so in a fast market the fill can be a few pips past your level.
  • It is not in the Trade tab: look in History; rejected, expired and cancelled orders are listed there with their state.

What You Just Learned

  • Limit orders wait for a better price; stop orders join a move. MT5 has six types, two of them stop-limit orders that MT4 lacks.
  • A pending order is placed with F9, an order type in the side panel, a price, an expiry and then Buy or Sell.
  • Orders are modified by dragging the line on the chart or through Modify or delete, and deleted singly or in groups.
  • Stop levels on a pending order protect the position it creates, and an order that never fills costs nothing.

The next lesson, one-click trading and managing trades on the chart, makes all of this faster and shows where the speed becomes a danger. Leveraged trading in forex and CFDs carries a high risk of losing money; keep every exercise in this series on the demo account.

FAQ

What is the difference between a limit order and a stop order in MT5?

A limit order waits for a better price than the market offers now: a Buy Limit sits below the price and a Sell Limit above it. A stop order waits for the market to move through a level: a Buy Stop sits above the price and a Sell Stop below it. Limits aim to buy low or sell high; stops aim to join a move once it has started.

Do pending orders in MT5 work when my computer is off?

Yes. A pending order is stored on the broker’s server, so it triggers whether or not MT5 is running on your computer. The same is true of the stop-loss and take-profit attached to it. A trailing stop is the exception, because it runs inside the platform and stops moving when the terminal is closed.

How long does a pending order last in MT5?

It depends on the Expiration you choose. Good Till Cancelled keeps the order until you delete it, Today removes it at the end of the trading day, and Specified or a plain date removes it at the time you enter. A plain date expires at midnight, or at the nearest trading time if the market is closed then.

Why was my pending order rejected when it triggered?

The most common reason is insufficient free margin at the moment the order fired, often because other positions were open or the account had shrunk. A triggered order that cannot be executed is rejected and moves to the History tab with its state. Check Free Margin in the Trade tab and reduce the volume if needed.

Related on ForexR

Next lesson MT5 101: One-Click Trading and Managing Trades on the Chart Continue

More Beginner Guides

What Is Forex Trading? A Beginner's Guide to the FX Market How to Start Forex Trading: A Step-by-Step Beginner Guide Currency Pairs Explained: Majors, Minors & Exotics Best Currency Pairs to Trade for Beginners: Where to Start Forex Trading Terms: A Plain-English Glossary for Beginners Going Long vs Going Short in Forex: Buy and Sell Explained Forex Spreads and Pips: What They Cost You Forex Lot Sizes and Order Types Explained for Beginners Leverage and Margin in Forex: A Beginner's Guide Margin Call and Stop Out in Forex: How They Work What Is Swap in Forex? Overnight Fees Explained Simply How Much Money Do You Need to Start Forex Trading? How to Choose a Forex Broker: Regulation, Costs & Checklist How Forex Brokers Make Money: Spreads, Swaps, IBs and B-Books Forex Rebates and Cashback Explained: Who Pays and What You Get Is Forex Trading Legal? How Forex Regulation Works Worldwide Forex Demo Account: How to Practise Trading Properly MT4 vs MT5: Key Differences and Which One to Choose How to Use MT4 and MT5: MetaTrader Tutorial for Beginners MT5 101: Install MetaTrader 5 and Open a Demo Account MT5 101: Market Watch, Navigator, Chart and Toolbox Explained MT5 101: Open a Chart, Change Timeframe and Save a Template MT5 101: Add Indicators and Draw Lines on an MT5 Chart MT5 101: Place, Modify and Close Your First Trade (F9) MT5 101: One-Click Trading and Managing Trades on the Chart MT5 101: Alerts, Push Notifications and Key MT5 Settings MT5 Mobile 101: Install the App and Log In on Android or iPhone MT5 Mobile 101: Build Your Watchlist in the Quotes Tab MT5 Mobile 101: Charts, Timeframes, Indicators and the Ruler MT5 Mobile 101: Place, Modify and Close a Trade on Your Phone MT5 Mobile 101: Push Notifications, Messages and Settings MT5 Mobile vs Desktop: What the Phone App Cannot Do Types of Expert Advisors: Robots, Trade Managers, Copiers & More How to Use the ForexR EA Library: Find, Check & Download EAs How to Install an Expert Advisor in MT4 and MT5 (Step by Step) What Is Pine Script? TradingView's Chart Language Explained How to Use the ForexR Pine Script Library: Find & Copy Scripts How to Add a Pine Script to TradingView: Copy, Paste & Run Pine Script v4, v5 and v6: What the Version Line Means Pine Script vs MQL5: TradingView or MetaTrader for Trading? How to Read a Forex Chart: Candlesticks & Trends Forex Trading Sessions: Hours and Best Times Best Time to Trade Forex: Best Hours, Days and Sessions How to Use an Economic Calendar for Forex How to Use Forex Market Analysis and News to Trade Forex vs Stocks: Which Is Better for Beginners to Trade? Forex vs Crypto Trading: Key Differences and Which Suits You How to Trade Gold (XAU/USD): A Beginner’s Six-Step Guide Why Does Gold Have Value? A Plain-English History of Money What Moves the Gold Price? 7 Drivers Explained in Plain English Physical Gold vs Gold CFDs, ETFs and Futures: 10 Ways to Own Gold Gold Lot Size, Pip Value and Margin Explained (XAU/USD) Best Time to Trade Gold: Sessions, Hours and the Daily Break Gold Spread, Swap Fees and Weekend Gaps: What Gold Costs Troy Ounces, Grams and Karats: How Gold Is Priced and Weighed Gold Trading Glossary: 40 Terms Explained in Plain English How to Read a Gold Price Forecast (and Why They Miss) 10 Gold Trading Mistakes That Empty Small Accounts Fast What Is Copy Trading in Forex? How It Works and What It Costs Forex Signals Explained: How They Work and How to Judge Them How to Trade Forex Signals: Step by Step With ForexR Signals How to Copy a Trade Signal Into MT5, cTrader or TradingView What Is AI Trading? A Plain-English Guide for Beginners AI Trading vs Algorithmic Trading: The Real Difference How to Use AI Chatbots for Trading Research Safely Forex Scams: How to Spot Them and Keep Your Money Safe AI Trading Scams: How to Spot Fake Bots and Deepfakes 12 Common Forex Trading Mistakes and How to Fix Them Is Forex Trading Profitable? What the Numbers Say Is Forex Trading Halal or Haram? A Neutral Explainer Is Gold Trading Halal? Spot, CFDs and Swap-Free Accounts Zakat on Gold, Crypto and Trading Accounts: A Simple Guide

Choose a Regulated Broker

Put what you’ve learned to work with a regulated broker. Compare costs, platforms and licences side by side.

Compare top brokers