Skip to main content
All posts
Blog

NinjaTrader 8 Attach to Indicator: What It Does and Where It Runs Out

NinjaTrader 8 can make a working order follow an indicator plot. The exact steps, the four limits traders hit once they start using it, and how to get the same behavior in a single click.

Wizdough6 min read

Your entry price is usually already on the chart. It's the high of the signal bar, a swing point, the moving average your setup leans on. The trouble is that the level keeps moving, so the stop order you placed at it goes stale within a few bars and you spend the next minute dragging it around while the market decides whether to leave without you.

NinjaTrader 8 will do that dragging for you. The feature is called Attach to Indicator, it ships with the platform, and plenty of traders have never touched it. It also runs out in four specific places, which is why a lot of the ones who do find it quietly stop using it.

How the built-in feature works

Attach to Indicator is a property of an order rather than a mode you switch on, so the sequence matters:

  1. Apply the indicator to your chart. The order can only follow a plot, so the indicator has to expose one.
  2. Place your order and let it reach a working or accepted state.
  3. Right click the order on the chart and choose Attach To Indicator, then Properties.
  4. Pick the indicator from the dropdown, set an offset in ticks if you want one, and click OK.

From then on the order reprices itself as the plot moves. It works for manually placed entry and exit orders, and for the stop loss and profit target of an ATM strategy. On a slow moving level that may be everything you need.

The four places it runs out

The first is timing. The order has to exist before you can attach it, so attaching is a second action performed on an order that is already working. The expensive moment, the one where you are picking a price and an order type with the tape moving, is exactly the moment this does not cover. It only helps afterwards.

The second is the offset. The properties dialog lets you sit the order a tick or two past the level instead of exactly on it, which is what most people want. What it will not do is remember the number. There is no default offset setting anywhere, so you retype it on every order, and traders who want a consistent one tick buffer past a signal bar high end up doing that dozens of times a session before they give up on it.

The third is order type. Attaching moves the price and nothing else, so the order keeps whatever type you gave it at placement. That matters because the correct type is decided by geometry: a buy above the market is a stop, a buy below it is a limit, and selling reverses both. If the level you attached to drifts across the current price, a resting buy limit that started safely below the market ends up above it, where it is immediately marketable. The attachment will carry it there without comment.

The fourth catches people who have built their ATM templates carefully. Turning on Attach to Indicator for an ATM stop that has a Stop Strategy configured disables that Stop Strategy, and the indicator manages the stop from then on. The two do not run together. Whatever auto breakeven and trailing rules you spent an evening setting up are dormant while the attachment is active, so you get one or the other.

What it takes to do this in one action

Four jobs, and only the first is obvious. Read the plot value on every tick. Decide stop or limit from where the level sits relative to price. Modify the working order in place instead of cancelling and resubmitting, which costs queue position on a limit and leaves a window where you have no order in the market at all. And know when to stop moving it, because a level that keeps extending away from price will drag a resting order somewhere you never meant to buy.

ATM Whisperer is our answer to that list. It expands the built-in behavior rather than replacing it, and it appears as its own section of the Chart Trader panel:

  • Indicator lists every indicator plot on the chart as Indicator|Plot. Pick the one holding your entry price.
  • Offset (ticks) sits the order a set number of ticks off the level, and it stays where you put it.
  • BarsAgo reads the value from a completed bar rather than the forming one. If the source indicator calculates on bar close, Whisperer reads the closed bar for you.
  • Entry Type Stop chooses StopMarket or StopLimit for the case where the level is on the far side of price, and Entry Type Limit chooses Limit or MIT for the near side. Whisperer picks between the two groups itself, from the geometry.
  • Modify toward last price only covers the fourth job. With it ticked, the working order reprices toward the market and never away from it.

Then you press Buy or Sell once and the order goes out already following the level. Quantity comes from the Chart Trader quantity selector. If you have an ATM template selected the entry starts as an ATM strategy instance, so the bracket attaches at fill exactly as you configured it, and because Whisperer moves the entry order only, your stop rules are left alone.

Three things that catch people on the first attempt

The indicator needs a plot. Whisperer builds its dropdown from the plots each indicator on the chart exposes, and so does the built-in feature. An indicator that paints purely with drawing objects, arrows and text and lines, has no plot and will not appear in the list however visible its levels are. Quick test: hover over the chart and look at the Data Box. If the indicator's value is in there, it has a plot.

Grey buttons mean no account. The Buy and Sell buttons stay grey until Chart Trader has an account attached, so if they never take their color the account selector is the thing to check, not the indicator settings.

No ATM template means no bracket. With the Chart Trader ATM strategy selector left on the blank entry, the entry order still goes out, just as a plain order with no stop and no target on it. Set the template before you arm anything.

A reasonable way to try it

  1. Sim account, one instrument, playback or a quiet session.
  2. Attach to something whose path you can predict. A 21 EMA is ideal. Watch the order track it without touching the mouse.
  3. Tick Modify toward last price only and watch what changes when the level pulls away from price.
  4. Only then point it at the indicator you actually trade.

If the level you want to follow is a second entry trigger, that is what WiSE marks in real time, and the two are meant to sit on the same chart. For the bracket side of the trade, the ATM strategies guide covers templates and what they take over once you are filled. Installation and the panel layout are in the getting started guide, and there is a 7-day free trial.

Futures trading involves substantial risk of loss and is not appropriate for all investors. Order automation removes mechanical steps from execution; it does not create an edge.

Share
Mentioned in this post

ATM Whisperer

The Ultimate Tool for Precision Order Placement. $15/mo · 7-day free trial.

View product