Learn › Glossary › Bracket Order

Bracket Order

An entry order packaged with both of its exits: a take-profit above and a stop-loss below, placed as one unit. When either exit fills, the other is cancelled (one-cancels-other). Brackets define a trade's entire life at entry time, which is why systematic platforms favor them — no trade exists without its risk plan attached.

A bracket order is one entry with two exits attached. The entry buys or sells a position. A take-profit sits above the entry price and a stop-loss sits below it. Both exits are placed together, and when one of them fills the other is cancelled. That cancelling rule is called one-cancels-other, or OCO. The idea is that the trade has its whole plan written down before it opens: where it takes a gain, where it accepts a loss, and what happens to the unused exit afterwards.

The two exits are ordinary orders in their own right. The take-profit is a resting limit order above the entry. The stop-loss is a resting order that triggers a sale when price falls to a set level, and once triggered it typically becomes a market order, so the fill can land below the stop price when the market gaps. A bracket joins the two and adds the cancel link, so the account cannot end up with a live exit that no longer has a position behind it.

The pieces are covered first. The measured behaviour of SPY, QQQ, IWM, TQQQ, TLT and UVXY over 2021-01-04 to 2026-10-02 shows how far apart the two exits tend to be placed and how often a day's range reaches them. The strategies in the library that use one half of a bracket, a target or a stop, come after that, with a note on where a full bracket would change their results.

The three orders in a bracket

A bracket has a parent order and two child orders. The parent is the entry, usually a market or limit order. The children stay inactive until the parent fills. Once the parent fills, both children go live at the same moment. One is a sell limit above the entry price. The other is a sell stop below it. For a short position the sides reverse, but the structure is the same.

The cancel link does the real work. Without it, a filled stop could leave a live sell limit behind. If that limit later executed, it would sell shares the account no longer holds and open an accidental short. A related-terms definition on this site describes the same failure for OCO pairs. A bracket removes the problem by making the pair a single object with one lifecycle: entry, then one exit, then the other exit cancelled.

The second property is that the plan exists at entry time. A trader who enters first and decides the exits later can talk himself out of a stop when the position is down. A bracket forces the decision before the money is at risk. That is why automated systems use brackets so often. No trade exists without its risk plan attached, and nothing needs a person watching the screen at the moment the level is reached.

Where the exits sit relative to price

The two levels set what the trade can do. A target above the entry and a stop below it create a band. Price starts inside the band and the trade ends when it leaves through the top or the bottom. The width of each side relative to how much the fund moves decides which exit is likely to fire first, and how long the trade lasts.

The measured intraday range gives the scale. SPY's average intraday range, high to low, was 1.15% of price. QQQ's was 1.58% and IWM's was 1.75%. TLT's was 0.94%. TQQQ's was 4.74% and UVXY's was 7.03%. A band that is 7% wide above the entry and 10% wide below it means something different on each of these. On SPY the top of the band is several ordinary days away. On TQQQ it can be reached in a single average day, and on UVXY an average day's range is already of the same order as the target.

Gaps matter as much as range. The average overnight gap was 0.44% on SPY, 0.59% on QQQ, 0.61% on IWM, 0.54% on TLT, 1.78% on TQQQ and 2.53% on UVXY. A stop is a trigger with no promised fill price. When price opens below the stop level, the stop becomes a market order at the open and fills there. The fill is worse than the stop price by the part of the gap that jumped over it. On a fund that averages a 2.53% overnight gap, a stop placed 3% below the entry is only about one average gap away from a skip. A target behaves the other way. A limit sell above the market fills at its price or better, so a gap up through the target gives the trader the better open price.

How often a day's range reaches a level

The library measures how often funds fell far from a recent high. The count of drawdown events of at least 10% from the 20-day high was 11 on SPY, with 23 days spent in those events. QQQ had 21 events and 82 days. IWM had 26 events and 67 days. TLT had 3 events and 5 days. TQQQ had 56 events and 478 days. UVXY had 81 events and 1,130 days.

Those counts are a view of how close a stop 10% below a recent high would sit to ordinary price action. SPY touched that level on 23 of 1,444 sessions. TQQQ spent 478 sessions in such a state, so a stop of that distance would have been hit often on TQQQ and rarely on SPY. A bracket with the same percentages applied to both funds is therefore a different instrument on each. The widths that make sense are set per fund, from its own range.

The long-run drift gives the other side. SPY's compound annual growth rate over the window was 15.2%, QQQ's was 17.39%, TQQQ's was 26.86% and IWM's was 8.03%. A target that sits a few percent above the entry is reached quickly in a trending market, and the stop is reached quickly in a falling one. A bracket does not change the direction of the market. It sets how much of each move the trade keeps.

Strategies in the library that use the take-profit half

Two of the 12 templates rest a profit target. The weekly 7% target buys at the first open of each week, rests a +7% profit target and exits Thursday afternoon if the trade is losing. Across the 59 ETFs its median CAGR was 6.61%, its median max drawdown was 26.26% and its median round trips were 106. It beat buy and hold on 34 of 59 funds.

This template is close to a bracket, with the stop half replaced by a time exit. The target is the take-profit. The Thursday exit plays the role of the stop, but it fires at a time and only if the trade is losing, so the loss it allows depends on how far price drifted by then and not on a fixed level. That difference matters in a gap. A fixed stop below the entry can be skipped by the gap on Monday. The time exit trades at Thursday's price whatever the path was.

The dip buyer waits for a 10% drawdown from the 20-day high, buys and takes profit at +8%. It has a target and no stop. Its median CAGR was 1.33%, its median max drawdown was 26.19% and its median round trips were 2, and it beat buy and hold on 22 of 59. With so few round trips, the trades that did not reach +8% stayed open through the drawdowns. The median max drawdown of 26.19% shows what holding a target-only position through a falling market looked like. A bracket with a stop would have closed some of those trades earlier at a known loss, and it would also have sold some of them just before a recovery, as the stop-loss definition above warns.

Strategies in the library that use the stop-loss half

The momentum breakout buys after a +10% four-week burst and exits through a 10% trailing stop. A trailing stop is a stop that moves up with the trade's high. Its median CAGR was 0%, its median max drawdown was 20.1% and its median round trips were 6. It beat buy and hold on 21 of 59. The trend with a trailing stop enters above the 200-day average and exits when a 15% trailing stop is hit. Its median CAGR was 2.61%, its median max drawdown was 31.15% and its median round trips were 4. It beat buy and hold on 20.

Both have a stop and no target. They let winners run and cut losers, which is the opposite arrangement from the dip buyer. The median drawdowns tell a different story for each. The momentum rule's median max drawdown was 20.1%. The trend rule's 31.15% is the highest after the monthly cycle's 36.63%. The 15% stop is wider, so the position gives back more before the exit fires.

A full bracket would combine the two halves: a target to bank a gain and a stop to cap a loss. None of the 12 templates is a plain bracket. The nearest is the weekly 7% target, with its time-based exit. Anyone comparing a bracket with these templates is comparing a design the library did not measure. The honest limit is that the page reports what each half did alone.

Strategies that exit on signals instead of resting orders

Eight of the 12 templates have neither a target nor a stop order. They exit when an indicator changes or the calendar says so. Four of them are listed here. The golden cross holds while the 50-day average is above the 200-day, with a median CAGR of 2.05%, a median max drawdown of 21.84%, a median of 3 round trips and a beat rate of 27 of 59. The 200-day regime filter owns the asset above its 200-day average and holds cash below, with 1.84%, 22.16%, 18 round trips and 26 of 59. The SMA 10/50 trend had 2.12%, 23.02%, 17 and 21 of 59, and the EMA 12/26 trend had 2.76%, 22.87%, 22 and 22 of 59.

These exits are decisions on closes. They do not rest at the broker. A signal exit can wait for the close, so a drop of 10% inside a day does not trigger anything until the daily value crosses the line. A bracket's stop reacts to an intraday touch. The two designs answer different questions. The signal exit asks whether the trend has changed. The stop asks whether this trade has lost a set amount.

The median max drawdowns for these templates run from 21.84% to 23.02%, which is the same area as the stop-based momentum rule's 20.1%. Using a stop does not produce a lower drawdown in these medians on its own. The trend filters get theirs through exits that arrive early in a downtrend, and the stop gets its through a cap on each trade's loss.

A bracket applied to a leveraged fund

TQQQ is the case where brackets are hardest to size. Its annualised volatility was 67.11%, its average up day was 3.01% and its average down day was -3.22%. Its worst drawdown was -81.68%, from the peak on 2021-11-19 to the trough on 2022-12-28, with recovery on 2024-12-04, and the longest drawdown lasted 762 sessions. Calendar-year returns were 90.95% in 2021, -79.07% in 2022, 198.32% in 2023, 58.22% in 2024, 34.36% in 2025 and 54.6% in 2026 to date.

Take a bracket with a +7% target and a 10% stop. An average down day of 3.22% and an average up day of 3.01% put both levels within a few ordinary sessions. With a daily range of 4.74%, either level can be crossed inside a single session. The bracket makes the trade short, and the outcome depends on the first excursion, which at this volatility is close to a coin flip with a fat tail. This is an illustration with the library's measured figures. It is not a result that was backtested.

The overnight gap adds to this. TQQQ's average gap was 1.78%, so a stop at 10% sits well outside an average gap, but the leveraged fund can open below a level that the previous close was above by a wide margin. In 2022, with a yearly return of -79.07%, such gaps were common enough that a stop-based exit would have filled at gap prices and not at the stop levels.

The same bracket on a slower fund

Move the same +7% and 10% levels to SPY and the picture changes. SPY's annualised volatility was 16.41%, with an average up day of 0.74% and an average down day of -0.74%. Its worst drawdown was -24.51%, from 2022-01-03 to 2022-10-12, with recovery on 2023-12-13. The longest drawdown lasted 488 sessions. A 10% stop is far from an average day and sits well inside the 2022 slide, so the 2022 bear market would have triggered it, and a target of +7% takes many sessions to reach.

SPY spent 77.99% of sessions above its 200-day average and crossed it 30 times. A trade bracketed with a stop would be stopped out in a downturn and then, with a fresh entry, re-enter at a higher price if the rule allows it. The cost of repeated stop-outs is a drag that the headline run does not model. The headline run has no fees or slippage, and the cost runs add 5 and 10 basis points per trade, which is where frequent stopping would show.

TLT is different again. It fell 40.49% over the window, with a CAGR of -8.64% and a worst drawdown of -44.06% that began on 2021-01-04 and had no recovery. It spent 35.18% of sessions above its 200-day average and crossed it 95 times. A bracket on a falling fund hits the stop more often than the target, and with 95 crossings of the 200-day line, a stop-and-re-enter design could trade through many false recoveries.

Simulating a bracket on minute data

A bracket can only be simulated well if the engine knows which level was touched first. Daily bars store a high and a low without their order. A day with a high above the target and a low below the stop leaves the simulator unable to say which exit fired. Minute bars resolve most of those days. The backtests in this library run on minute-resolution consolidated US market data, and orders fill on minute bars, so a target and a stop that both sit inside one day's range can be told apart by their time.

Minute data does not remove every ambiguity. Within one minute, a high and a low can both cross levels, and the simulator needs a rule for that minute. It also does not tell how deep the order book was, which is why the cost runs at 5 and 10 basis points are part of the library. For a stop, slippage is usually the larger concern because it fills as a market order into a falling price.

The adjusted prices in trade lists are lower than the quotes printed at the time, because they are adjusted for splits and dividends. A level quoted in a bracket, such as a target at a given dollar price, refers to the real price at the time of the order, and a percentage target is the same in both.

Where this measurement stops

The figures on this page describe fund behaviour over 5.74 years of minute data with $10,000 of starting capital and no margin. The headline run has no fees or slippage. None of the 12 templates is a plain bracket, so there is no measured bracket result on this page, and the worked examples on TQQQ and SPY apply the library's volatility and gap figures to a hypothetical pair of levels. The medians across 59 funds hide wide spreads between funds.

Backtests are hypothetical and do not predict future results, and nothing here is advice to use or avoid a bracket. For how the same funds behave in detail, see the SPY, TQQQ, TLT and UVXY pages.

Frequently asked questions

What is a bracket order?

A bracket order is an entry order packaged with a take-profit above and a stop-loss below, placed as one unit. When either exit fills, the other is cancelled, which is the one-cancels-other rule. The trade's whole plan is set at entry.

What happens to the other order when one leg of a bracket fills?

The other leg is cancelled. Without that link, a filled stop could leave a live sell limit that later executes as an accidental short. The cancel rule is also called OCO.

Where does a bracket's stop fill when the market gaps?

No. Once triggered, a stop typically becomes a market order, so the fill can land below the stop price when the market gaps. The average overnight gap was 0.44% on SPY and 2.53% on UVXY over the window.

Which strategies in the library use a target or a stop?

The weekly 7% target rests a +7% limit and exits Thursday afternoon if losing, with a median CAGR of 6.61% across 59 funds. The momentum breakout uses a 10% trailing stop and the trend with a trailing stop uses 15%. The dip buyer takes profit at +8%.

Do bracket levels need to differ by fund?

The measured ranges differ a lot. SPY's average intraday range was 1.15% and TQQQ's was 4.74%, so the same percentages mean different things on each. Levels are set per fund from its own range and gaps.

Is there a backtested bracket result on this page?

No. None of the 12 templates is a plain bracket, and the worked examples apply measured volatility and gap figures to hypothetical levels. The templates that use one half of a bracket are described with their own medians.

Run a strategy that uses this yourself, free →

Build it from blocks (or type it in English), backtest it on 5.7 years of minute data in seconds, tweak any parameter, then paper trade it on live data. No card, no broker needed to start.

Related terms

Take-Profit OrderA resting sell order at a level above the entry price that locks in a …Stop-Loss OrderA resting order that triggers a sale when price falls to a set level, …OCO (One-Cancels-Other)A pair of linked orders where the execution of one automatically cance…

Backtests are hypothetical, computed by DeployQuant's engine on minute-resolution consolidated US market data (2021-01-04 to 2026-10-02, $10,000 starting capital, no margin, no fees or slippage in the headline run; buy-and-hold puts 98% of the account in at the first open, as the templates do) and do not guarantee future results. Nothing on this page is investment advice. Live trading involves risk of loss.