Concept
Order Constructs
Order Constructs, also known as OCO, bracket, trailing-stop order, are Risk, Sizing & Exits concepts. The Library holds 1 implementations, each one a working definition you can pull into Quant.
Top Order Constructs indicators
1 total
What are Order Constructs?
Order constructs are composite orders: arrangements of two or more basic order types linked by management logic. The workhorses are OCO (one-cancels-the-other, two resting orders linked so the first fill cancels the sibling), the bracket (an entry that, once filled, automatically places a stop loss and a profit target as an OCO pair), and the trailing-stop order (a stop whose trigger ratchets along with favorable price movement at a fixed distance).
Their value is that the exit plan can live at the broker or exchange rather than in the trader's attention span: once a bracket is working server-side, the position stays protected even if the platform is closed. The caveat is that implementations differ by venue. Some constructs are native to the exchange matching engine, others are simulated client-side or by an execution bridge; partial fills, gaps through stop prices, and whether a trailing offset updates server-side all vary, so the construct's fine print is part of the risk plan.
How traders use it
- As brackets on entry: every fill is born with a linked stop and target, sized so the stop distance matches the plan's risk unit, and the OCO linkage cancels the remaining leg when one side fills.
- In webhook automation: strategy alerts fire into an execution bridge that translates each signal into a bracket or OCO at the venue, so systems driven by alerts and webhooks get exchange-side protection instead of depending on the next alert arriving.
- As server-side trailing: a trailing-stop order implements the simplest trailing method (a fixed offset) without indicator logic; systems that trail on structure or volatility instead recompute the level and amend a plain stop order.
Related concepts · Orders & execution
Concept family
Risk, Sizing & Exits
37 concepts mapped · 19 in the Library
Order Constructs FAQ
What is the difference between an OCO and a bracket order?
An OCO is the linkage primitive: two live orders where the first fill cancels the other, typically a stop and a target protecting an existing position. A bracket is the full package: an entry order that, when it fills, automatically spawns that stop-and-target OCO pair. Every bracket contains an OCO; an OCO on its own assumes the position already exists.
Are trailing-stop orders executed on the exchange or by my broker?
It depends on the venue. Some exchanges support native trailing stops that ratchet inside the matching engine; many brokers and bridges simulate them client-side, amending a plain stop as price moves. The difference matters during disconnects and fast markets: a simulated trail stops updating if the software goes offline, while a native one keeps working. Check the venue's documentation before relying on either.
Build Order Constructs your way.
Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.
![[Autoview][Alerts] Blank R0.13B preview](/_next/image/?url=https%3A%2F%2Fs3.tradingview.com%2Fw%2FW5hTyDFU_mid.webp%3Fv%3D1528751499&w=3840&q=75)