NinjaTrader 8 setup

NinjaTrader 8 in OpenTrader: futures history, tick charts, live prices and order book, and your account, read only. It sends no order. For Windows.

Read this first. This plugin is not made, reviewed or approved by NinjaTrader, and OpenTrader is not affiliated with NinjaTrader. NinjaTrader's terms, and those of your data provider and the exchanges, may not allow using their data, the order book included, in another application. Read the terms of your account and use the plugin only if they allow it: you are responsible for that use.

Set up

  1. In OpenTrader, open App settings from the account menu, then Plugins. Press Browse catalog and install NinjaTrader 8, then turn it on (Enabled).
  2. Under the plugin, tick NinjaTrader's AddOns folder and press Copy OpenTraderBridge.cs.
  3. In NinjaTrader, open New > NinjaScript Editor and press F5 to compile. No restart is needed.
  4. Connect NinjaTrader to your data in Connections.

The plugin shows Connected within a few seconds. Keep NinjaTrader open while you use it; no chart needs to be open.

Symbols

  • NT8:ES1! is the front contract, with the earlier contracts joined at their real prices (not back-adjusted). It moves to the next contract on NinjaTrader's rollover dates.
  • NT8:ESZ2026 is one contract.
  • The Watchlists dialog has a ready-made Futures list.

What you see depends on the data NinjaTrader is connected to.

Your account

Choose Trade > Connect broker… > NinjaTrader 8. The account manager shows your balances, positions, orders and fills, and the charts show your positions and orders. Pick another account in the account manager.

  • The plugin reads your accounts only once you connect NinjaTrader as the broker. It passes them to OpenTrader on this computer and nowhere else.
  • It does not trade: every order, change, cancel and close is refused with a message. Use NinjaTrader to trade.
  • DEMO shows for NinjaTrader's own simulator and playback only. Every other account shows as LIVE, a NinjaTrader demo account or a prop firm's evaluation included.
  • With OpenTrader 0.4.33 and earlier, positions show on the contract's chart (NT8:ESZ2026) only. Later releases show them on the front contract's chart (NT8:ES1!) too.

Order book

  1. Connect NinjaTrader as the broker, as above.
  2. Choose Trade > Turn trading on: the DOM needs it, though the plugin refuses every order.
  3. Open the order ticket and its DOM tab.

After an update

Press F5 in the NinjaScript Editor again. If you remove the plugin, press F5 once more.

If something looks wrong

  • It does not compile: an error in another script of yours stops it. Fix or remove that script, then press F5.
  • A daily chart shows only the last years: NinjaTrader is still loading the rest the first time. Load the chart again a minute later.
  • No tick history: it goes back only as far as NinjaTrader gives it.
  • A chart stays empty (OpenTrader 0.4.33 and earlier): it was opened before the plugin was turned on. Change its interval to load it.
  • A market-if-touched order shows as a limit order.