Shadow Edge Tools
Execution

Bracket order

Also known as: OCO bracket, stop + target

A protective pair of orders — a stop loss and a profit target — attached to an entry as a one-cancels-other group.

A bracket order pairs a stop loss with a profit target. The moment your entry fills, both orders go live at the broker. When either fills, the other cancels automatically (One-Cancels-Other, OCO). Brackets are the foundational risk primitive of any serious trading setup — every fill should have one attached.

NinjaTrader 8's native ATM strategies provide brackets, but they have well-known race conditions on fast fills where the bracket can fail to attach. Robust bracket management requires single-writer architecture: one piece of code owns the bracket lifecycle, no race conditions.

Example

  • Long entry at 4500.00 on MES. Stop at 4498.00. Target at 4506.00. As soon as the entry fills, both stop and target are working broker-side. If the target fills, the stop cancels. If the stop fills, the target cancels.

Related terms