BacktestingNovember 30, 2026by Joel

Market Replay With Bracket Orders: Stop Loss and Take Profit

Practice stop loss and take profit in market replay. Which tools support brackets, how TestMax fills them when both sit in one candle, and real NQ numbers.

A bracket order is an entry with a stop loss and a take profit attached. When one of the two exits fills, the other one is cancelled. In market replay, brackets let you practice the way you'd really trade: set the plan, then keep your hands off.

Most replay tools now support them. The question that matters is how each tool decides which exit filled when price touches both inside one candle. Here's how it works in TestMax, and what to check in other tools.

Which replay tools support brackets?

Checked on November 4, 2026, from each company's own pages.

Tool Brackets in replay? Notes
TestMax Yes Stop and target as a price, in ticks or in points. Drag them on the chart. Free and Pro
TradingView Yes, since late 2023 Drag the TP and SL buttons onto a position in replay trading
FX Replay Yes Stop loss and take profit lines you drag. Auto break even on Intermediate and Pro, per its pricing page
NinjaTrader Yes, with ATM strategies Market Replay needs money in a NinjaTrader brokerage account

How to place a bracket in TestMax replay

  1. Start a replay session. NQ on a 5-minute chart is a good first one.
  2. Open the order panel and pick the order type: market, limit, stop or stop-limit.
  3. Enter your stop loss and take profit. You can type them as a price, a number of ticks or a number of points from your entry.
  4. Drag the entry, stop and target lines on the chart if you'd rather place them by eye.
  5. Optional: type a risk percent and press Size for 1% risk. The panel works out the contract count from your stop distance and account balance.
  6. Place the order, then step forward candle by candle.

Two more ways in: right-click a long or short position drawing to turn it into a bracket order, or save a bracket you use often as a preset. After the order is working, you can still move the stop or target.

On Pro, Auto Break Even moves your stop to the entry price once the trade has gone your way by a set number of ticks or R.

A real bracket from one NQ session

On September 16, 2026, our free NQ walkthrough bought 1 NQ at 29,168.25 after a breakout from the opening range. The bracket went on with the order:

Leg Price Distance
Entry 29,168.25
Stop loss 29,081.50 86.75 points ($1,735 on 1 NQ)
Take profit 29,341.75 173.50 points

Neither exit filled. The trade was closed by a time rule at 11:00 New York time, for +35.5 points.

The stop was much wider than we expected from a 47-point opening range. That's the kind of thing a bracket shows you in replay before it costs you money. With $1,735 of risk on one contract, you'd cut the size, or skip the trade.

When the target is just decoration

Brackets can teach you something less comfortable, too. We ran the same opening range rule on 3,616 NQ sessions from 2010 to 2026, with a stop at the other side of the range and a target at twice the risk.

How the trade ended Share
Time exit at 11:00 77.8%
Stop loss 19.1%
Take profit 3.1%

The target filled on just 3 trades out of every 100. The median stop was 32.5 points away, so a 2R target needed a 65-point run in about an hour, and NQ rarely gave that. The full study has every year.

If your take profit almost never fills, your real exit is something else. Replay shows you that fast. Count how often each leg fills after 20 trades, and move the target if the numbers say so.

How TestMax decides which exit filled

Replay works on candles, not on every trade inside them. When one candle covers both your stop and your target, the software has to guess which came first. Here's what TestMax does:

  • Both inside one candle: we count the stop. It's the cautious choice, and it means a backtest can look slightly worse than reality, not better.
  • The candle opens past your target: the target fills at the open. A gap in your favor is a win, so we don't book the stop.
  • The candle gaps past your stop: the stop fills at the open, not at your stop price. That's slippage, and real markets do it too.
  • A limit order gapped through: it fills at the open, which can be a better price than your limit.

Orders fill against the bars of your chart timeframe. On a 5-minute chart, a candle can hide a lot, so use a lower timeframe if your stops are tight. We don't simulate an order book, and replay doesn't charge commission or slippage. Take those off yourself, about $14.50 a round trip on NQ in our own study.

Any replay tool has to make this same choice. Ask the one you use how it does it.

Common mistakes with brackets in replay

  • Moving the stop after entry. In replay it's free, so people do it. Then the backtest is testing a rule you don't have. Write down whether your rules allow it.
  • Targets taken from the chart after the fact. Set the target before you step forward.
  • Sizing by feel. Use risk percent. One NQ with an 87-point stop is a very different trade from one with a 20-point stop.
  • Ignoring the time exit. If most trades close on time, the time rule is your strategy.

Questions people ask

Can I use stop loss and take profit in market replay for free? Yes. TestMax Free has brackets on NQ and ES replay. TradingView supports brackets in replay trading. NinjaTrader's Market Replay needs money in a brokerage account first.

What happens if the stop and target are hit in the same candle? It depends on the tool. TestMax counts the stop, unless the candle opened past the target.

Can I move my stop to break even automatically in replay? On TestMax Pro, Auto Break Even does it. FX Replay has auto break even on its paid plans. NinjaTrader does it inside ATM strategies.

Try it

Set one bracket on a recent NQ day and watch which leg fills. Start a free replay, no card needed, or compare plans and prices.

Features belong to their owners and were checked on November 4, 2026. Simulated results do not predict real results, and nothing here is trading advice.

market replaybracket ordersstop loss

We use cookies to keep you signed in and to understand how our app is used. You choose what to allow.