What Is An OCO Order?
An OCO order, short for one cancels the other, links two orders so that when one fills the other is cancelled automatically. The CFTC glossary describes it in the same terms.
Anyone who places both a stop and a target on a position needs this. It explains what stops the leftover order from causing harm.
How Does A Linked Exit Work?
A linked exit on a long 0.4 lot EUR/USD trade at 1.0850 wins $240 or loses $120 and cancels the unused order either way. The figures are illustrative, and a pip is worth $4 on this size.
The sell limit target is at 1.0910, 60 pips up. The sell stop is at 1.0820, 30 pips down. If the target fills, the gain is 60 × $4 = $240, and the stop is cancelled. If the stop fills, the loss is 30 × $4 = $120, and the target is cancelled. Both levels are set from the fill, so the 1-pip spread is already inside each figure.
Without the link, the order left behind can cause trouble. Say the target fills and the stop at 1.0820 stays live. If price later falls to 1.0820, that sell stop opens a new short of 0.4 lot. You never planned that position, and it has no stop of its own.
How Does An OCO Bracket Work For Entries?
Before a data release, price sits in a range between 1.0800 and 1.0900. A buy stop at 1.0905 and a sell stop at 1.0795, linked as OCO, open a trade only on a break. The first fill cancels the other.
The loss case is a false break. Price spikes through 1.0905 and fills a 0.4 lot buy, then reverses and hits a 25-pip stop at 1.0880. The loss is 25 × $4 = $100, spread included, paid for a move that went nowhere. A bracket does not choose the direction for you.
On a platform that does not link the two orders, a fast market can trigger both sides. That leaves you with a long and a short in the same instrument.
Does Every Platform Have OCO?
No. MetaTrader 5's help names market, pending (limit, stop and stop limit), stop loss, take profit and trailing stop orders, and no OCO type. Some platforms link a position's stop-loss and take-profit by default, and others offer OCO as a separate order.
Find out which your platform uses and what happens if both levels trade within one price update. Cancelling one order by hand leaves the other live.
See pending order, stop order, stop-loss order and take-profit order, and the order types guide.
Related Guides
- Order Types
- Stops And Slippage
Sources
- CFTC: Futures Glossary (opens in a new tab), read on 2026-11-02. Supports: CFTC glossary: One-Cancels-the-Other: if one order is filled, the other order is automatically cancelled
- MetaTrader 5 Help: Basic Principles (trading operations) (opens in a new tab), read on 2026-11-02. Supports: MetaTrader 5's order types are market, pending (limit, stop, stop limit), stop loss, take profit and trailing stop; no OCO type is named