Order Types

OCOOrder

Last Updated
Quick Definition

OCO Order — An OCO order pairs two orders where filling one automatically cancels the other, letting traders set profit targets and stop losses simultaneously.

Track OCO Order with PipJournal

An OCO order is a pair of conditional exit orders—stop-loss and take-profit—where hitting one side automatically cancels the other. It’s one of the most underrated tools for automated risk management.

Why OCO Matters for Traders

The fundamental problem: You enter a trade, set a stop, and set a profit target. But you have to monitor both, and humans fail.

  • You get distracted and forget to cancel the take-profit after your stop hits.
  • You panic and move your stop, defeating its purpose.
  • You’re unavailable when the trade hits one side, missing the market entirely.

OCO solves this: Both orders exist from entry. Whichever hits first executes; the other dies instantly. Discipline is guaranteed.

How OCO Orders Work

Setup:

  1. You enter EURUSD at 1.0850
  2. You submit an OCO:
    • Stop-loss: 1.0820 (30 pips risk)
    • Take-profit: 1.0900 (50 pips gain, 1:1.67 R:R)
  3. Both orders sit on the broker’s server

If price hits 1.0900: Take-profit fills. Your position closes. Stop-loss cancels automatically.

If price hits 1.0820: Stop-loss fills. Your position closes. Take-profit cancels automatically.

If neither: Both orders remain active until manually canceled or expire.

OCO vs Manual Exit Management

ApproachSetupRiskDisciplineFriction
ManualEntry onlyDepends on youRequires constant monitoringHigh
OCOEntry + 2 exitsGuaranteedAutomaticLow
One-side stops onlyEntry + stopCappedTake-profit discretionaryMedium

A trader using only manual exit discipline is guessing their actual win rate. Once you use OCO, you realize how much mental energy you were wasting on exit decisions.

Real-World Example: EURUSD Trade

You’re trading the London open, 8:00 AM GMT. You spot a breakout setup.

Your trade:

  • Entry: 1.0850 (market order)
  • Stop-loss: 1.0820 (30 pips, risking $300 on a 1-lot)
  • Take-profit: 1.0900 (50 pips, targeting $500 gain, 1:1.67 R:R)
  • OCO: Both orders placed simultaneously

Scenario A (You win):

  • 11:30 AM: Price rallies to 1.0905. Take-profit hits at 1.0900.
  • Your position closes with +50 pips (approx. +$500).
  • Stop-loss cancels automatically.
  • You never had to stare at the screen.

Scenario B (You lose):

  • 10:15 AM: Price drops to 1.0815. Stop-loss triggers at 1.0820.
  • Your position closes with -30 pips (-$300).
  • Take-profit cancels automatically.
  • Loss is capped exactly as planned.

Without OCO, you’d be tempted to move the stop, hold through the low, or change your target. OCO removes the ability to deviate.

Types of OCO Orders

Basic OCO (Stop + Limit)

  • Stop-loss: Market order triggered at price X
  • Take-profit: Limit order at price Y
  • Standard for most traders

Advanced OCO (Stop + Stop)

  • Both sides are stop orders
  • Used for entering from pending orders
  • More complex, rare for retail

One-Cancels-Three (OCT)

  • One entry order + three exits (stop, TP1, TP2)
  • Some brokers support; others don’t
  • Useful for scaling out

OCO Order Placement Tips

  1. Always set the OCO before entering the trade — or immediately after. Don’t enter naked; set stops and targets within seconds.

  2. Account for spread — If EURUSD is 1.0849/1.0851 (2-pip spread), your take-profit at 1.0900 might actually fill at 1.0898 depending on slippage.

  3. Check broker leverage and rules — Some brokers require your stop and TP to be within a certain distance (e.g., minimum 10 pips apart). Check your platform.

  4. Timezone matters — If you’re trading the US open from Asia, set an OCO and sleep. Your discipline is locked in.

  5. Slippage risk — In fast markets (news, gaps), both orders might execute at worse prices. OCO doesn’t protect against slippage, only against you changing your mind.

OCO vs Individual Stop and Limit Orders

FeatureOCOManual
AutomationBoth exits placed at onceOne order at a time
DisciplineGuaranteedDepends on trader
FlexibilityCan adjust, but cancels on fillCan adjust anytime
Emotional safetyHighLow
Broker supportMost modern brokersAll brokers

Common OCO Mistakes

Mistake 1: Setting identical stop and take-profit distances

  • Stop: 30 pips down
  • Take-profit: 30 pips up
  • Win rate must be 50%+ just to break even (after spread/commission)
  • Fix: Use at least 1:1.5 R:R minimum

Mistake 2: Too tight stops

  • Stop: 5 pips from entry
  • You get shaken out by noise; winners are missed by 3 pips
  • Fix: Use ATR or recent swing levels for stop placement

Mistake 3: Forgetting to cancel old OCOs

  • You enter a new trade but don’t cancel the previous OCO
  • Both are active; if the old one fills, you’re suddenly short when you meant to be long
  • Fix: Always verify no open orders before entering

Mistake 4: Setting OCO during illiquid sessions

  • You place a tight OCO in Asian session; by NY open, the spread is 5x wider
  • Your execution quality suffers
  • Fix: Set OCOs during your trade session; check liquidity conditions

OCO and Position Scaling

Some traders scale out of winners:

  • Entry: 1 lot at 1.0850
  • Partial exit: 0.5 lot at 1.0875 (take 50% early)
  • OCO on remaining 0.5: Stop at 1.0820, TP at 1.0920

This hybrid approach locks in early gains while letting winners run. Check if your broker’s platform supports partial OCOs.

Key Takeaway

An OCO order is your discipline enforcer. It removes the decision to deviate, guarantees your risk is capped, and frees you from constant monitoring.

For traders who struggle with emotional exits, OCO is non-negotiable. Set it at entry, walk away. Your predetermined risk-reward is locked in.

PipJournal tracks your OCO usage, execution quality, and whether you tend to deviate from pre-set stops and targets. Understanding your disciplinary patterns is the first step to building consistent trading.

Common Questions

How does an OCO order work?

You submit two orders at once: a stop-loss and a take-profit. If your trade hits the take-profit level, the stop-loss order automatically cancels. If your trade hits the stop-loss, the take-profit cancels. Only one can execute.

Why use OCO orders instead of manual management?

OCO removes emotion and guarantees your risk is capped. You can't forget to move your stop or change your mind mid-trade. The exit discipline is automatic. For busy traders or overnight positions, OCO prevents catastrophic losses.

What's the difference between OCO and OTO?

OCO (One-Cancels-Other) creates two exits from one entry. OTO (One-Triggers-Other) creates a primary order that, once filled, triggers a secondary order. OCO manages exits; OTO chains orders together.

Do all brokers support OCO orders?

Most modern brokers (MT4/MT5, cTrader, OANDA) support OCO. However, some budget brokers may not. Check your broker's platform. If your broker doesn't offer native OCO, use a trading app that layers OCO logic on top.

Can I adjust OCO orders after placing them?

You can modify the distance of the stop or take-profit on many platforms before either leg fills. But once one side fills, the other cancels immediately. You can't move your stop after entry unless you cancel and re-enter.

What happens if the market gaps through my OCO?

The market can gap past both your stop and take-profit in fast conditions (news, low liquidity). Your stop-loss still executes, but at a worse price (market execution). This is slippage, not a failure of OCO.

Share this article

Track OCO Order Automatically

PipJournal calculates your oco order and other key metrics from your trade data. Import trades and get instant insights.

SSL Secure
One-Time Payment
No credit card required
4.8/5 (47 reviews)