Forex order types — market, limit, stop, OCO and trailing

Last verified: · Long-term evergreen content
Risk warning · YMYL This article is for educational purposes only and is not investment advice. Trading on the Forex market involves a high risk of capital loss — ESMA reports 74–89% of retail accounts lose money.

An order is the only way a retail trader speaks to the currency market — there is no dealer on the phone and no negotiation, only a parameter inside the trading terminal. The three core types answer three different questions. A market order says "buy now, at whatever price is on offer". A limit order says "buy, but only once the price drops to my level". A stop order says "buy once the price breaks higher and confirms the move". The choice between them decides whether you enter cheaper, dearer, or not at all — and that choice, more often than the chart analysis itself, drives the final result on the account.

Market order — instant, but at a price you do not yet know

A market order reaches the broker the second you click and fills at the first available price on the other side of the book. It gives one hard guarantee: the trade will happen. It withholds a second one — you do not know exactly what price you will get. The gap between the price you saw on the screen and the price you were filled at is slippage, and in a calm EUR/USD market it usually runs half a pip to one pip.

The trouble starts with volatility. During the US Non-Farm Payrolls release or a Fed decision, the EUR/USD spread can widen from one pip to ten, and slippage on a market order reaches five to twenty pips. On a one standard lot position each pip is worth 10 USD, so fifteen pips of slippage is 150 USD handed to the market before the trade has done any work at all. For that reason a market order makes sense in two situations: when you must exit a position immediately, and when you trade in the deep liquidity of the London session with an ECN broker, where slippage stays under control.

Limit order — a price equal or better, but no guarantee of a fill

A limit order works the opposite way to a market order. You set the price you are not willing to cross, and the broker only fills you once the market trades to it — and never at a price worse than your level. Buy limits sit below the current price, sell limits above it. The logic is plain: you want to buy cheaper than it is now, or sell dearer than it is now.

A concrete example. EUR/USD trades at 1.0865 and you believe the price will pull back to support at 1.0840 before turning higher. You place a buy limit at 1.0842. If the market drops to that level, the broker opens a long EUR/USD position at 1.0842 or better — meaning you buy 23 pips cheaper than at the moment you made the decision. The price you pay for that edge is a single one: no guarantee of execution. It is a common experience to watch the price get within three pips of your limit, turn around, and run fifty pips in the direction you predicted, leaving you out of the move with an unfilled order. The limit is the tool of a trader who would rather miss part of an opportunity than overpay for the entry — the foundation of mean-reversion strategies and technical entries on a pullback.

Stop order — entering on the breakout, once the market confirms direction

A stop order is a pending instruction that activates only after the price crosses a defined trigger. Buy stops sit above the current price, sell stops below it. At first glance this sounds identical to a limit order, but the logic is reversed: limits work on pullbacks, stops work on breakouts. You buy not because the price has fallen to an attractive level, but because it has risen and confirmed its strength.

Picture EUR/USD coiling just under resistance at 1.0880. You do not want to buy in the middle of the range because the market might reject lower, but you want to be in the game if buyers break the resistance. You place a buy stop at 1.0883, a few pips above the level. Until the price gets there, the order sits idle on the broker's server. The moment 1.0883 is crossed, the system activates the entry and from then on behaves like a market order: it takes the first available price. That is why a breakout entry through a key level is also exposed to slippage, especially when the trigger coincides with a data release. The stop order is the natural choice for trend-following strategies and for trading breakouts out of a consolidation.

Stop loss and take profit — two protective orders you must not forget

The most common form of a stop order is not a breakout entry but a stop loss — an automated exit from a losing position. The mechanics: you buy EUR/USD at 1.0850 and set a stop loss at 1.0820. As long as the price holds above 1.0820, the order stays dormant. When the bid (the price at which the broker buys your position back from you) touches 1.0820, the system submits a sell at the market and closes the trade. If the market is thin or bad news has just hit the tape, the fill can land at 1.0815 instead of 1.0820 — five pips of extra loss is typical EUR/USD stop slippage on a calm day.

A take profit is the mirror image of a stop loss — a pending limit order on the opposite side of the market that banks the gain once a predefined target is reached. You buy EUR/USD at 1.0850 with a take profit at 1.0940, and the broker places a sell limit at 1.0940 that fires the moment the bid reaches that level. The strength of a take profit is that it removes the most common beginner mistake — emotionally closing a winning position at the first wobble. If the plan calls for 90 pips, you set the limit at 90 pips and step away from the screen.

Stop loss and take profit — a risk-to-reward calculation on a long position
Long EUR/USD entry1.0850
Stop loss below H4 support1.0820 — 30 pips of risk
Take profit at H4 resistance1.0940 — 90 pips of potential gain
Reward-to-risk ratiothree to one, the practical minimum for a swing setup
Outcome if the stop loss firesloss of 30 pips, or 300 USD on a standard lot
Outcome if the take profit fillsgain of 90 pips, or 900 USD on a standard lot

For more on when to lean on each of these two protections, see the dedicated piece: stop loss versus take profit — when to use which. A stop loss without a planned profit target is a brake without a steering wheel — it will halt the loss but it will never build an edge.

Trailing stop — a stop that follows the price

A trailing stop is a stop loss that automatically moves with the price in the favourable direction but never retreats toward the loss. You set a distance, twenty pips for example, and the broker shifts the stop along with the market. You open a long EUR/USD position at 1.0850 with a stop at 1.0830. The price climbs to 1.0900 and the trailing moves the stop to 1.0880. The price extends to 1.0930 and the stop trails to 1.0910. When the market pulls back to 1.0910, the position closes for a 60-pip gain — without any action from you.

In practice, a trailing stop has two weaknesses that cost traders more than they expect. First, too short a distance closes the position on an ordinary trend retracement and leaves you out of the big move — EUR/USD can have an 80-pip daily range, so a 20-pip trail throws you out on the first pullback. Second, most MetaTrader 5 platforms run the trailing client-side, which means the terminal has to be open; shut the laptop in the evening and the trailing stops working, leaving whatever level it had last reached. The full mechanics and the moments when a trailing stop destroys a gain are covered here: how a trailing stop works and when it kills your profit. The rule of thumb is single — move the stop to your entry level first, only then engage the trailing, and give it a distance of at least one and a half times the average hourly candle range.

"Amateurs think about how much money they can make. Professionals think about how much they could lose — and they place protective orders before entering a trade, not after the fact." — Alexander Elder, Trading for a Living, John Wiley & Sons, 1993.

OCO — two entry scenarios in a single setup

OCO (one cancels the other) is a construction in which two pending orders are linked: filling one automatically cancels the second. The classic use is trading around a tight consolidation before a major macro release, when you do not know which way the market will break but you want to be in the move regardless of direction.

EUR/USD coils between 1.0850 and 1.0880 an hour before the consumer price index (CPI) print. You place a buy stop at 1.0883, a few pips above the resistance, and a sell stop at 1.0847, a few pips below the support. Without OCO, once one side fires you would have to manually cancel the other before it triggers in the opposite direction. With OCO the platform does it for you: when the market breaks higher the sell stop disappears, and when it breaks lower the buy stop is removed. You end up with a single position on the side the market actually chose.

There is one technical catch. Neither MetaTrader 4 nor MetaTrader 5 has a native OCO ticket — you need a script or Expert Advisor from the MQL5 marketplace that cancels the second leg once the first one fires. Platforms such as cTrader, NinjaTrader, and the terminals of ECN brokers like IC Markets or Pepperstone offer OCO directly. Check your broker's documentation on a demo account before building a strategy around it.

GTC versus day order — how long your order lives

Every pending order — limit, stop, OCO — has a time in force, and this is where traders make a quiet mistake. A day order expires at the end of the trading session; if the market never reached your level by midnight broker-server time, the order vanishes and you start from scratch in the morning. A GTC order (good till cancelled) lasts until you cancel it yourself or it gets filled — in MetaTrader 5 this corresponds to setting the expiry to "unlimited".

The choice has real consequences. If you place a buy limit below a support that the price might revisit over several days, a day order forces you to re-enter the setup daily and risks missing an overnight fill. A GTC order solves that, but carries its own trap: a forgotten GTC order can trigger weeks later, in completely different market conditions you no longer remember. The standard practice is that a day order suits intraday strategies while a GTC suits swing and multi-day positions — provided you regularly review the list of active orders and cancel the ones that have lost their relevance.

Which order when — a checklist of what to do before you click

Before you send an order, run through a short checklist. Each point takes a few seconds, and together they close most of the costly execution mistakes I have watched on retail accounts over two decades — first as editor-in-chief of MyBank.pl since 2004, and since 2007 in forex market analysis.

  1. Decide whether you must enter immediately. If you need to exit a losing position or react to an obvious move that is already underway, choose a market order and accept the slippage. If you have time, a limit order set at a level you planned with a cool head will almost always be cheaper.
  2. Match the order type to the logic of the trade. An entry on a pullback to support is a buy limit below the market. An entry on a breakout through resistance is a buy stop above the market. Confusing the two makes you buy at exactly the moment you did not want to — the single most common beginner error.
  3. Set the stop loss below a specific level, not at a round pip distance. A stop "twenty pips from entry" is visible to algorithms hunting for clusters of orders at round numbers. A stop just below the most recent H4 swing low is a less obvious target and gives the position room to breathe.
  4. Add a take profit right at the open. Do not wait until the position is in profit — by then the decision about the target is already coloured by emotion. Set the take profit at a level that follows from your reading of resistance, and walk away from the screen instead of watching every tick.
  5. Choose the time in force deliberately and avoid market orders during data releases. Day orders for intraday trades, GTC for swing positions. Ahead of Non-Farm Payrolls, CPI, or a Fed decision, do not click market — either wait 30 to 60 seconds for the spread to normalise, or place a limit beforehand at the level where you actually want to be.

Finally, one habit that frees the mind from constantly staring at the chart: instead of entering manually, set price alerts at the key levels. The piece on price alerts in MetaTrader 5 shows how to configure notifications that give you two minutes to decide before the price reaches your trigger — enough to calmly choose between a limit and a market order. Retail trading is full of stories about people who could read a chart and still lost money on execution. That is reason enough to treat the choice of order type as seriously as the analysis itself. It is also worth reading the dedicated piece on what slippage is and how much it really costs on market orders during data releases, and the deeper background on order execution at how a stop-loss order is executed.

Jarosław Wasiński
About the author

Jarosław Wasiński

Editor-in-chief at MyBank.pl · Financial and market analyst

Independent analyst and practitioner with 20+ years in finance. Founder and editor-in-chief of MyBank.pl, running since 2004. Fundamental analysis of FX and macro markets since 2007.

Sources & bibliography

  1. MetaQuotes Order Types — MetaTrader 5 platform help · Oficjalna dokumentacja typów zleceń w MT4 i MT5: market, buy/sell limit, buy/sell stop, stop-limit oraz parametry czasu ważności. www.metatrader5.com ↗
  2. CFA Institute Market Organization and Structure — CFA Program Curriculum · Klasyfikacja zleceń (market, limit, stop) i mechanika egzekucji w mikrostrukturze rynku, część programu CFA. www.cfainstitute.org ↗
  3. John Wiley & Sons Trading for a Living, Alexander Elder · Rozdziały o zleceniach ochronnych (stop loss, take profit) i dyscyplinie zarządzania ryzykiem przed wejściem w transakcję. www.wiley.com ↗
  4. Bank for International Settlements Triennial Central Bank Survey of Foreign Exchange Markets 2022 · Dane o strukturze i płynności rynku walutowego, kontekst dla poślizgu i głębokości księgi przy zleceniach market. www.bis.org ↗

Frequently asked

What is the difference between a market order and a limit order?

A market order goes to the broker instantly and fills at the first available price on the other side of the book. It guarantees execution but not the price — during a volatile burst, slippage can reach 5 to 20 pips on EUR/USD. A limit order works the other way: you set the price you are not willing to cross (buy below the market, sell above it), and the broker only fills it if the market trades to your level, never worse than that. It guarantees the price but not the execution. In practice: use limits for planned pullback entries, and reach for a market order only when you must be in or out right now.

How does a stop order differ from a limit order?

Both are pending orders, but their logic is opposite. A limit order works on a pullback: a buy limit sits below the market because you want to buy cheaper. A stop order works on a breakout: a buy stop sits above the market because you only want to buy once the price breaks resistance and confirms strength. On EUR/USD at 1.0865, a buy limit at 1.0842 fills if the price pulls back to support, while a buy stop at 1.0883 fills if the market breaks above resistance. Once triggered, a stop behaves like a market order and takes the first available price, which is why it is also exposed to slippage. A limit suits mean-reversion strategies, a stop suits trend-following and breakout trading.

Does an OCO order work in MetaTrader 4 and MetaTrader 5?

Not natively. Neither MetaTrader 4 nor MetaTrader 5 offers a standard OCO type in the order ticket. You need a script or Expert Advisor from the MQL5 marketplace that cancels the second leg once the first is triggered. cTrader has OCO built in, as do many ECN broker terminals such as IC Markets or Pepperstone. The MT5 workaround is simple: place two pending orders, for instance a buy stop and a sell stop around a consolidation, and manually delete the one that did not fire. OCO scripts on MQL5 cost the equivalent of a few coffees and turn a breakout strategy into a fully automated one. Check on a demo account first whether your broker allows third-party Expert Advisors.

What is the difference between GTC and a day order?

These are two time-in-force settings for a pending order. A day order expires at the end of the trading session — if the price never reached your level by midnight broker-server time, the order vanishes and you start again in the morning. A GTC order (good till cancelled) lasts until you cancel it yourself or it gets filled; in MetaTrader 5 this corresponds to an expiry set to "unlimited". A day order suits intraday strategies, while GTC suits swing and multi-day positions. GTC has one trap: a forgotten order can trigger weeks later in completely different market conditions, so review the list of active orders regularly and cancel the ones that have lost their relevance.

Go deeper · the complete guide