Skip to content

Trading glossary

One cancels the other (OCO)

Trading involves risk. You could lose more than your deposit.

A one cancels the other pair links two working orders so that the moment one of them executes, the other is withdrawn automatically and can no longer fill.

A link between two working orders that makes them mutually exclusive. It appears in two familiar shapes. The first brackets an open position, pairing a protective order below the market with a target above it, so whichever level the market reaches first ends the position and removes the other instruction. The second brackets a quiet range with an entry on each side, so a move out of the range in either direction leaves one order live and cancels the entry that was never wanted.

The link is maintained by whichever system holds the orders, and that is the detail worth checking in a platform's specification. Where the pair rests on the firm's server, the cancellation happens at the venue whether or not the terminal is open. Where the pairing is maintained by the terminal or by a script running on a local machine, it exists only while that machine is connected, and a disconnection can leave both orders live with nothing linking them.

The link governs cancellation and not execution, which is what readers most often invert. Both orders are genuinely live until one of them fills, so in a fast market both can be reached before the cancellation is processed, and firms document how that case is resolved rather than promising it cannot happen. A partial fill raises the same question in a milder form, and practice differs: some venues cancel the linked order outright once any quantity executes, others reduce it to the remaining quantity, and the two behaviours produce different exposures from the same pair of instructions.

Where you see it

MetaTrader 5 attaches a Stop Loss and a Take Profit to a position or to a pending order, and the two behave as a one cancels the other pair, the first to trigger removing the second.

In the curriculum

Taught in 2 lessons.

Part of an ordered curriculum of 139 lessons across 10 modules, free and with nothing behind a sign-up.

See the full syllabus

Get started

Open your account in four steps.

A clear path from sign-up to your first trade, in four steps.

No depositNo documents

  1. 01/ 04step 1 of 4

    Register

    A few details to get started.

    No deposit to open

  2. 02/ 04step 2 of 4

    Verify

    Confirm your identity, securely.

    ID and proof of address

  3. 03/ 04step 3 of 4

    Fund

    Add money by bank transfer or card.

    From $0

  4. 04/ 04step 4 of 4

    Trade

    Go live on the platform you already know.

    MetaTrader 5

Cookies on this site

Some cookies are needed to make the site work. With your permission we also use analytics cookies to see which pages are read, so we can improve them. You can change your choice at any time.