An OCO order, short for "one cancels the other", links two orders so that when one fills, the other is removed. A bracket order attaches a stop loss and a take profit to an entry. Both reduce manual steps once the trade is open. Not every broker or platform supports them in the same way, so check yours. For the basics of orders, see forex order types.
What OCO and bracket orders are
An OCO is common for exits. You place a stop loss and a take profit, and when one is hit, the other is cancelled. This means you cannot end up with a leftover order that opens a new trade by mistake.
An OCO can also link two entries, such as a buy above a range and a sell below it. Only one of them should end up as a trade.
A bracket order places the entry, the stop and the target at the same time. The trade is protected from the moment it opens, even if you are away from the screen.

How bracket orders work
Think of a bracket as three orders tied together. The entry can be a market, limit or stop order. The stop and the target are the two "sides" of the bracket, and they work as an OCO pair.
When the entry fills, the stop and target become active. When either exit fills, the other is cancelled. If the entry never fills, you can cancel the whole bracket.
The value is discipline. You decide the entry, stop and target before the trade starts, when your head is clear, and the platform carries out the plan.
Common uses
Breakout traders can place a buy above a range and a sell below, and cancel the other when one fills. Some traders use the same idea around news, but fast markets can fill the wrong side or slip. See trading the news spike and slippage.
For exits, the stop and target pair is the most common use. See stop loss and take profit.

How to set up an OCO or bracket order, step by step
- Check that your platform supports OCO or bracket orders, and where the setting is.
- Define the entry, stop and target before you place anything.
- Put the stop beyond a level that proves the idea wrong, not at a random distance.
- Put the target at the next level, and check that the ratio is at least 1:2 with the risk reward calculator.
- Size with the position size calculator, using the stop distance.
- Place the order and confirm on the platform that both sides are linked.
- Test the whole process on a demo account first.
What can go wrong
An OCO setup is weaker in a news spike, where price can jump past your entry and fill at a worse price. It also fails when the range is too narrow, because both sides may trigger within minutes.
If the first side fills and price reverses, you take the loss. Check that the second order was really cancelled, so you do not end up in an unplanned trade.
The main risks
On a fake breakout, the first side can trigger, reverse and hit the stop, and the second order may already be cancelled. See the false breakout strategy.
Platforms also differ in how they handle partial fills and gaps. Test on a demo first. See demo account vs live account.

An illustrative example of an OCO breakout pair
EUR/USD is in a tight range. A trader places an OCO pair: a buy stop 5 pips above the range high, and a sell stop 5 pips below the range low. Each has a 30-pip stop and a 60-pip target. When the buy fills, the sell is cancelled.
With a $10,000 account risking 1% ($100), the position size is $100 / (30 pips x $10 per pip per lot) = about 0.33 lot. A win pays about $200, and a loss costs about $100.
Common mistakes
- Using OCO breakout orders around news at full size. Fast moves can slip or fill the wrong side. Cut the size or stay out.
- Forgetting to cancel an unused order. A leftover order can open a trade later. Check your pending orders at the end of the day.
- Assuming a stop will fill at the set price. In fast markets it may not. Allow for slippage in your risk.
- Skipping the demo test. Platforms handle linked orders differently. Learn how yours behaves before using real money.
Frequently asked questions
What does OCO mean?
It means "one cancels the other". When one of two linked orders fills, the other is cancelled automatically.
What is a bracket order?
It is an entry order with a stop loss and a take profit attached at the same time. The trade is protected from the moment it opens.
Do all brokers support OCO orders?
No. Support differs by broker and platform, so check before you rely on it. Some platforms offer only the stop and target pair.
Are OCO orders safe around news?
Not necessarily. Fast moves can slip or trigger the wrong side, so reduce size or avoid them.
Your next step
Open a demo account and place one bracket order with a stop and a target. Watch how your platform cancels the second exit when the first one fills.
This is education, not financial advice. Trading carries risk, and no method guarantees results. The charts are illustrative and not real market data.



