The Method The Hub FAQ Join the Room
Brokers & Execution

How to Place a Bracket Order (TradingView, NinjaTrader)

A brass caliper clamped around a single glowing candlestick, with thin laser lines marking a price level above it and below it

To place a bracket order, define three prices before you submit anything: the entry, the protective stop, and the target. In TradingView you type the stop and target into the order ticket alongside the entry. In NinjaTrader you build an ATM Strategy template first, then select it before placing the entry.

That is the whole click path, and it takes about twenty seconds once you have done it twice. The part worth your attention is everything the click path does not tell you: where those two exit orders actually live, what happens to them when your internet drops, and how to find out before the answer costs you money.

If you want the underlying mechanics — what one-cancels-other linkage is, how partial fills resize the group, why time-in-force matters — that is covered in OCO and bracket orders explained. This page is the practical one.

Before you open a platform: write down three numbers

A bracket is a container. It is only as good as what you put in it, and the most common failure is a trader opening the ticket and inventing a stop distance to fill the field. Decide these away from the order window:

Only once those exist does position size follow from them, using the arithmetic in position sizing from risk. Sizing first and stopping second is backwards, and a bracket will faithfully execute a backwards plan.

How to place a bracket order in TradingView

TradingView is a charting front end. The bracket you build there is executed by whichever broker you have connected, or by the built-in Paper Trading account, and the broker decides how much of it is actually supported. The general sequence:

  1. Connect an account. Open the Trading Panel beneath the chart and pick your broker, or select Paper Trading to practise. Nothing in this list works until an account is attached.
  2. Open the order ticket — from the Trading Panel buy/sell buttons, or with the buy/sell keyboard shortcut while the chart is focused.
  3. Set the entry. Choose limit or stop rather than market if you are trading a level. A market entry defeats the purpose of having planned a price.
  4. Enable the stop loss and take profit fields. These two turn an ordinary order into a bracket. Most builds let you express them in ticks, points, a percentage or a cash risk amount — pick one unit and use it consistently so you stop translating in your head.
  5. Submit, then verify. Two horizontal lines should appear at your stop and target, and both legs should be listed in the orders tab. If only one appeared, the broker connection did not accept the other and you are half-protected.
  6. Modify by dragging. Once live, the lines can be dragged to trail the stop up behind a printed target. Dragging is fast, which is exactly why it is dangerous — see the mistakes below.

One caveat specific to TradingView: the Paper Trading account simulates fills rather than sending anything to a market. It is excellent for learning the interface and useless for learning what a fill feels like, a gap explored in paper trading vs live trading.

How to place a bracket order in NinjaTrader

NinjaTrader approaches the same problem from the opposite direction. Instead of typing exits into every ticket, you define them once as a reusable template called an ATM Strategy — Advanced Trade Management — and then attach that template to entries.

  1. Open the ATM Strategy selector in the SuperDOM, Chart Trader or the Order Entry window. It is the dropdown that reads "custom" until you save something.
  2. Create a template. Set the quantity, the stop loss in ticks and the profit target in ticks. If you scale out, add a second target line with its own quantity.
  3. Configure the stop behaviour. This is the part most traders skip. The stop strategy section handles auto-breakeven and trailing: you tell it how far price must travel before the stop moves, and where it moves to.
  4. Name and save it. Name it for what it does — "MES 8t stop, 2 targets" beats "Strategy1". You will be picking it under pressure.
  5. Select the template, then place the entry. The moment the entry fills, NinjaTrader submits the stop and target defined in the template.
  6. Work the position from the ATM row. The live strategy appears as a row you can modify. Closing the position outside that row can leave the strategy orphaned.

Because ATM behaviour and menu locations change between platform versions, check the current wording against NinjaTrader's own documentation (NinjaTrader 8 Help Guide) rather than a screenshot from a video three years old.

 TradingViewNinjaTrader
Where exits are definedIn the order ticket, per tradeIn a saved ATM Strategy template
UnitsTicks, points, percent or cashTicks
Built-in trailing logicManual, by dragging the linesAuto-breakeven and trail rules in the template
Who executes itThe connected brokerNinjaTrader, against your brokerage connection
Best suited toDiscretionary traders across many instrumentsFutures traders repeating the same setup

The question that matters more than the click path

A bracket order is a promise that something will close your position when you are not looking. Whether that promise holds depends on where the orders physically rest, and platforms differ enormously.

Some send the stop and target to the broker or the exchange, where they sit as resting orders that survive your laptop closing. Others hold the logic on the software running on your own machine — the exits exist only as an intention until the platform sees the trigger and sends them. If that machine sleeps, crashes or loses its connection, the intention never becomes an order.

Ask your broker one sentence: if my platform disconnects right now, which of my orders are resting at the exchange? A precise answer tells you the architecture. A vague answer tells you to assume the worst and never leave a position unattended. It belongs on the same checklist as everything in how to choose a broker for day trading.

Even a bracket resting at the exchange is not a price guarantee. The SEC puts it plainly: "The stop price is not the guaranteed execution price for a stop order. The stop price is a trigger that causes the stop order to become a market order," and the execution "can deviate significantly from the stop price due to the prices of available liquidity when the market order executes" (SEC Office of Investor Education, Investor Bulletin: Stop, Stop-Limit, and Trailing Stop Orders). The same bulletin flags something almost nobody checks: firms differ on whether a stop is triggered by last-sale prices or by quotation prices. Two accounts, identical stop, different trigger.

Test the bracket before you trust it

Five minutes, minimum size, on a quiet instrument. Do this once per platform, and again after any platform update:

  1. Place a bracket and confirm both legs appear in the working orders list, not just on the chart.
  2. Take a partial. Fill part of the target and look at what happened to the stop. Did it resize to the remaining quantity, or did it cancel? A cancelled stop leaves the rest of the position naked, which is why how to take partial profits is worth reading before you scale out.
  3. Close the position manually and check that the leftover orders were cancelled. A stray stop can open a brand new position in the opposite direction.
  4. Disconnect deliberately. Kill the platform with a bracket live, then log into the broker's web portal and see what is still there. This is the test that answers the architecture question honestly.
  5. Check the time-in-force on both exit legs. A day order expires at the close whether or not you are still holding.
The Generational Wealth way. A bracket order is the Method written in a form your platform enforces. Know your next means every callout carries an entry, defined targets and the next level price is aiming for — the same three numbers the ticket asks you for anyway. Trail and protect is what the ATM stop strategy automates: as the first target prints, the stop follows it up. And break and hold governs the entry itself, because a perfectly constructed bracket around a chased level is just a tidy way to be wrong. See the method →

Five mistakes that break a bracket

Frequently Asked Questions

How do I place a bracket order in TradingView?

Connect a broker or the paper trading account, open the order ticket from the chart or the Trading Panel, then fill in the stop loss and take profit fields alongside your entry before you submit. Most builds let you express those exits in ticks, points, a percentage or a cash amount, and once the position is open you can drag the two lines on the chart to modify them.

How do I place a bracket order in NinjaTrader?

NinjaTrader handles brackets through an ATM Strategy. You build an ATM Strategy template that defines the stop loss and profit target in ticks, save it under a name, then select that template in the SuperDOM, Chart Trader or the order entry window before you place the entry. When the entry fills, the platform submits the stop and target for you.

Is a bracket order held at the exchange or on my computer?

It depends entirely on the platform and the broker connection, and it is the most important thing to find out. Some setups send the stop and target to the broker or exchange as resting orders. Others hold the logic on the platform running on your own machine, which means a crash, a lost connection or a closed laptop can leave the position unprotected. Ask your broker directly which one applies to your account.

Does a bracket order guarantee I get filled at my stop price?

No. The SEC states plainly that the stop price is not the guaranteed execution price for a stop order; it is a trigger that turns the order into a market order, and the fill can deviate significantly depending on the liquidity available at that moment. A bracket defines where you intend to exit, not the price you are certain to receive.

Bottom line

Placing a bracket order is trivial in both platforms — a pair of fields in TradingView, a saved ATM template in NinjaTrader. The work sits upstream and downstream of the click. Upstream: decide the entry, the invalidation and the target before the ticket is open, and let size fall out of them. Downstream: find out where your exits actually rest, test a partial fill and a disconnect with minimum size, and set the time-in-force on purpose. Do that once and the bracket becomes the cheapest discipline available to you. For the level that belongs at the stop, start with how to set a stop loss; for why a plain stop usually beats a stop-limit inside a bracket, see stop-limit orders explained.

The exit is decided before the entry fills.

The Hub stays free. When you want levels, targets and invalidation called in real time, the room is one click away.

Join the Room