Back to contents

Trade entry guide · MT5

Limit order or market order: how to enter a trade

A market order fills right away at the current price, a buy at the Ask and a sell at the Bid, so you are sure to get in but pay the spread and any slippage. A limit order fills only at your price or better, so the entry is exact, but the trade may never fill if price does not come back to it. With the stop and target fixed on the chart, a worse fill costs R: on EURUSD with a 20-pip stop and a 2R target, a fill 1 pip worse makes the planned 0.50 lot lose 1.05R at the stop and shrinks the target to 1.86R. Traders choose by which costs their strategy more, a missed trade or a worse price.

What is a market order?

A market order buys or sells immediately at the best available price. A buy fills at the Ask and a sell at the Bid, so the spread between them is paid on every market entry.

In a fast market or on news the fill can differ from the price you saw: that is slippage, usually against you. MetaTrader 5 shows the execution type your broker uses for the symbol in the order window, for example Instant Execution or Market Execution; with instant execution you can set the maximum deviation you accept, and the broker may requote if price moves past it.

What is a limit order, and where do buy limit and sell limit go?

A limit order is a pending order to buy or sell at a set price or better. A buy limit is placed below the current price and fills if price falls to it; a sell limit is placed above the current price and fills if price rises to it.

A limit order removes negative slippage on the entry, not the spread. A buy limit fills when the Ask reaches its price, and MetaTrader 5 draws candles by the Bid, so the candles have to dip about one spread below your line before a buy limit fills.

The cost is uncertainty: if price turns before your level, there is no trade, and the move you expected happens without you. A limit order also fills on the first touch, including when price is about to run straight through your stop.

What are buy stop and sell stop orders?

Stop orders are pending orders for breakouts: a buy stop is placed above the current price and becomes a market buy when price rises to it; a sell stop is placed below and becomes a market sell when price falls to it.

Because they turn into market orders, stop orders can slip in a fast move. MetaTrader 5 also has Buy Stop Limit and Sell Stop Limit orders, which place a limit order once the stop price is reached.

How does a worse fill change the risk and R of a trade?

When the stop and target stay at their chart levels, a worse entry moves the stop farther away and the target closer. On EURUSD with 100 USD risk, a 20-pip stop and a 40-pip target, a fill 1 pip worse makes the stop 21 pips: the planned 0.50 lot now loses 105 USD at the stop (1.05R), and the target is 1.86R instead of 2R.

To keep the loss within the risk, the lot would have to be 0.47. That is why traders who enter at market include the expected spread and slippage in the stop distance when they size the lot, and why a limit entry at the planned price keeps the planned R when it fills.

EURUSD, 100 USD risk, stop 20 pips and target 40 pips from the planned entry: fills worse than planned
Fill worse than planned, pipsReal stop, pipsPlanned lot at the stopLot for 100 USDTarget
As planned20−1R0.50+2R
+0.520.5−1.025R0.48+1.93R
+121−1.05R0.47+1.86R
+222−1.1R0.45+1.73R

1 pip of 1.00 lot = 10 USD; lots rounded down to the 0.01 step; commission not included.

When do traders use a limit order, and when a market order?

Traders tend to use market orders when getting in matters more than the exact price, and limit orders when the price matters more than getting in. Neither is better in general; each has its own cost.

  • Market order: momentum and breakout entries, trades where missing the move costs more than a pip or two. Cost: spread and slippage, larger on news and in thin markets.
  • Limit order: entries on a pullback to a level, ranges, plans whose R depends on an exact entry. Cost: missed trades, and fills that come exactly when price is breaking through the level.
  • Stop order: entries on a break of a level, when you want price to prove the move first. Cost: slippage on the trigger and false breakouts.
  • Whatever the order type, decide where the idea is wrong first: the stop sets the lot, the order type only sets the entry price.

How do you place market, limit and stop orders in MetaTrader 5?

MetaTrader 5 places all three from the New Order window (F9); market orders can also be sent from the One Click Trading panel on the chart.

  1. Market order: press F9 (or Tools → New Order), choose the symbol and volume, set Stop Loss and Take Profit if you want them now, and click Sell by Market or Buy by Market (Sell or Buy with instant execution).
  2. One Click Trading: right-click the chart → One Click Trading (Alt+T) to show the SELL / BUY panel with a volume field; the first time, MetaTrader 5 asks you to accept its terms. A click opens a position at market without a stop or take, so add them right after.
  3. Pending order: press F9, set Type to Pending Order, choose Buy Limit, Sell Limit, Buy Stop or Sell Stop (or a Stop Limit type), and enter the price, Stop Loss and Take Profit.
  4. Set Expiration: GTC keeps the order until you delete it; Today, Specified and Specified day remove it automatically. Then click Place.
  5. To move or delete a pending order, drag its line on the chart, or right-click it in the Toolbox (Ctrl+T), Trade tab → Modify or Delete.

How do you enter at limit or market with the stop placed on the chart?

In Magic Entry, a trade manager for MetaTrader 5 by HINN, both entries start from the stop: you click the stop level on the chart and the lot is sized from your risk. MARKET takes two clicks: the first sets the stop and opens the position at once, the second sets the take profit. LIMIT takes three: stop, entry price (the order is placed on this click) and take profit. With the DEFAULTS scheme on, MARKET is one click and LIMIT two, because the take profit, partial takes and break-even come from the scheme. The hotkeys are Q for LIMIT and W for MARKET, and every hotkey except Esc can be remapped.

Two options manage pending orders. +C on a pending order card sets an order cancel level: if price reaches it before the entry, the advisor removes the order, so a pullback limit order lives only until a key level; there can be two cancel levels. +P sets a PENDING level for delayed activation: the order stays virtual and the advisor sends it to the broker only when price crosses that level, choosing the type itself, a limit order for an entry below price and a stop order above it. Cancel levels and PENDING are handled by the advisor in your terminal, so MetaTrader 5 must be running and connected. Magic Entry is a trade manager (Expert Advisor) sold on MQL5 Market; it does not open trades by itself.

Questions and answers

Is a limit order better than a market order?

Neither is better in general. A limit order fixes the price but may not fill; a market order fills but pays the spread and any slippage. The choice depends on which costs your strategy more.

Do I pay the spread on a limit order?

Yes. A buy limit fills when the Ask reaches its price and a sell limit when the Bid does, so the spread is still there. What a limit order removes is negative slippage on the entry.

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

A buy limit sits below the current price and buys a pullback; a buy stop sits above it and buys a breakout. Sell limit and sell stop mirror them: a sell limit above the price, a sell stop below it.

Why did my buy limit not fill when the candle touched the line?

MetaTrader 5 draws candles by the Bid, and a buy limit needs the Ask to reach its price, so the Bid has to go about one spread below the line. A sell limit fills on the Bid, so a touch of the candle is enough.

How long does a pending order stay in MetaTrader 5?

With Expiration set to GTC, until it fills or you delete it; with Today, Specified or Specified day it is removed automatically at that time.

General education about trade management, not financial advice. Examples are illustrative and ignore costs unless stated; past or example results do not promise future ones. HINN doesn’t sell guaranteed profit.