Our journal app is in pre-release. If you notice a problem, please contact us.

Home › Articles › Forex for Beginners › Forex order types: from market orders to OCO and If Done

Forex for BeginnersLesson 19 of 32Course contents

Forex for Beginners

Forex order types: from market orders to OCO and If Done

The order window lists market, limit, stop, OCO, IFD, IFO and more, and it is not always clear what each one does. This article is a map: it lays out all the main order types in one place, and links to other articles for the details. It does not tell you which order to use.

Published 14 Oct 2026By Kenji Okumura, Representative, Tiltnote (has traded forex)

In short

Orders fall into four groups: how the price is set (market, limit, stop, stop limit), linked orders (stop loss, take profit, OCO, IFD, IFO), a stop that moves (trailing stop), and order conditions (expiration and fill policy).

An OCO order places two orders, and when one fills, the other is canceled. An IFD order makes the next (exit) order active once the first order fills. IFD and IFO are names commonly used by brokers in Japan.

OCO, IFD and IFO do not appear in the MT5 help's list of order types.[1] Which orders you can use depends on your platform and broker.

Order types at a glance

Order types at a glance. In the MT5 help order list: market, limit, stop, stop limit, orders with stop loss and take profit attached, trailing stop, and expiration and fill policy. Not in the MT5 help list (found in some broker apps): OCO, IFD (If Done) and IFO.
Solid grey boxes are in the MT5 help; dotted white boxes are not named in the MT5 order list (some broker apps have them). Names and details differ by platform and broker.

Below, each one gets a short note on what it does, when it is used (as an example), and what to watch for. The examples show common uses; they are not recommendations.

How the price is set

Market order

Limit order

Stop order

Where to place Buy Limit, Sell Limit, Buy Stop and Sell Stop is shown in limit vs stop orders.

Stop limit order

Linked orders

Orders with a stop loss and take profit

OCO (one cancels the other)

IFD (If Done)

IFO (IFD plus OCO, also called IFDOCO)

A made-up example. The price is now 1.1000. 1: As the entry order, a buy limit is placed at 1.0950. Once it fills, two exit orders become active. 2: A take profit (limit) at 1.1050 and a stop loss (stop) at 1.0900. 3: When one of them fills, the other is canceled automatically.
A made-up example of an IFO. When the entry fills, a take profit and a stop loss go live; when one fills, the other is removed.

In each case, if the exit is a stop loss (a stop order), it can fill worse than the price you set.

The names IFD and IFO are the ones used in the explanation by Japan's association above. On other platforms, similar setups may go by other names, or have no name at all, so check your platform's help for what it calls them.

A stop that moves: the trailing stop

For things to think about before moving a stop, see moving your stop loss.

Order conditions: expiration and fill policy

Expiration

In MT5, pending orders (limits, stops and other orders that wait until price reaches a level you set) can have these expiration settings:[2]

The names on the screen can differ by broker and platform, and broker apps may offer different options.

Fill policy (FOK, IOC and more)

As a beginner, you can leave this for later. These rules decide how an order is handled depending on whether it can be filled right away, and in full. The MT5 help describes them like this:[1]

Which ones you can choose depends on things like your account's execution type.[1]

MT4 and MT5 orders versus broker apps

The MT5 help lists market orders and the pending orders Buy Limit, Sell Limit, Buy Stop, Sell Stop, Buy Stop Limit and Sell Stop Limit, to which you can add a stop loss, a take profit and a trailing stop.[1] The names OCO, IFD and IFO do not appear in that list.

In MT5, a pending order with a stop loss and take profit attached looks similar to an IFD or IFO. Still, the names and the details are not necessarily the same.

OCO, IFD and IFO are names you may see in trading apps that brokers build themselves. Even with the same name, the combinations and behavior can differ between brokers. MT4 and mobile apps may also offer different orders from MT5 for desktop. Check your own platform's or broker's help before you use them.

To see whether your platform has them, look for "OCO", "IFD" or "IFO" in the order window of your broker's app. If they are not there, in MT5 you can do something close by attaching a stop loss and take profit to a pending order.

Check your own records (you decide)

This article does not decide which order to use. To review how you use orders, log these so you can look back later:

The position size calculator finds the lot size, and the stop-loss and take-profit calculator finds your exit prices. Terms are also explained in the forex glossary.

Sources

  1. MetaQuotes. General Concepts (MetaTrader 5 Help). https://www.metatrader5.com/en/terminal/help/trading/general_concept
  2. MetaQuotes. Executing Trades (MetaTrader 5 Help). https://www.metatrader5.com/en/terminal/help/trading/performing_deals
  3. Financial Futures Association of Japan. 取引スキーム [Trading scheme] (in Japanese). FFAJ Learning FX. https://www.ffaj.or.jp/learning/?p=13
  4. FINRA. (2016). Regulatory Notice 16-19: FINRA Issues Guidance Regarding the Use of Stop Orders During Volatile Market Conditions. https://www.finra.org/rules-guidance/notices/16-19

Forex for Beginners

Back to the course contents →

Tools for this article

Log how you got in and how you got out.

Tiltnote is a trading journal you can use free with manual entries. On every trade you can log your strategy name, how you felt, whether you kept your rules, and a note. Note which order you entered with and which order closed the trade, and you can look back at it later.

Try Tiltnote free →Opens the Tiltnote web app. On the free plan, analysis and history show your most recent 14 days (older records are kept and unlock on the paid plan).

More articles

Limit vs stop ordersWhat is slippage? The gap between your order price and your fillPrice gaps: why a stop-loss may not fill at your priceForex glossary for beginnersHow to calculate forex profit and lossATR explained: true range, and what ATR can and cannot tell youArticles →

Feedback on this page

Anything missing, unclear, or a tool you would like? Tell us in any language.

Numbers you entered in a tool are not sent. Please do not include account numbers or passwords. Privacy details

This article is general information. It is not investment advice or a recommendation to make any trade.

Updated 20 Oct 2026 · Run by Kenji Okumura, Representative, Tiltnote · About this site