Part 4 · Your platform, step by step · 4.2

NinjaTrader 8

Install the TLADe GEX indicator, let it download the levels by itself with your API key, and, if you like, feed the terminal with live prices from NinjaTrader.

There are two separate things you can do with NinjaTrader 8, and you can do either one without the other:

  • The levels on your NinjaTrader chart. The TLADe GEX indicator draws the walls, Zero Gamma, Max Pain, the expected move, the session AVWAPs and the GEX profile: the same levels as the terminal.
  • Live prices in the terminal. The NT8 bridge sends the price of your NinjaTrader chart to the TLADe terminal, so the terminal runs on your own feed (Rithmic, CQG, Kinetick, or any feed NinjaTrader is connected to).

#The levels on your chart

#1. Import the indicator

Download the indicator from the terminal (Menu → Indicators & Data Feed → Indicators → NinjaTrader 8). It is a .zip file: do not unzip it, NinjaTrader imports it as it is.

The NinjaTrader Control Center: Tools, Import, NinjaScript Add-On.
Control Center → Tools → Import → NinjaScript Add-On…
  1. In the Control Center, open Tools.
  2. Import.
  3. NinjaScript Add-On…
The file dialog with the TLADe zip selected.
Pick the zip you downloaded.
  1. Select the zip you downloaded, usually in your Downloads folder.
  2. Open.
NinjaTrader asks to replace the existing file.
Only when you are updating.

If you are updating, NinjaTrader asks whether to replace the file that is already there: answer Yes. The first time you install, this question does not appear.

NinjaTrader confirms the import.
The import worked.

NinjaTrader confirms that it imported the scripts. Click OK.

#2. Add it to a chart

The chart's right-click menu, with Indicators.
Right-click the chart → Indicators…
  1. Open a chart of ES or NQ.
  2. Right-click the chart → Indicators… (or Ctrl+I).
The Indicators window: search, TLADe GEX, description.
Find TLADe GEX.
  1. Type TLADe in the search box.
  2. Double-click TLADe GEX. That is its name in NinjaTrader, not the name of the zip.
  3. The description tells you which version you have installed.
TLADe GEX in the Configured list, and OK.
Added to the chart.
  1. The indicator is now under Configured, with the chart it is on.
  2. Before OK, set it up as below.

#3. Your API key: the levels update by themselves

General Settings: GEX Data, Auto-Fetch, API Key.
General Settings.

Scroll the properties down to General Settings:

  1. GEX Data (paste from TLADe): leave it empty when you use the API key.
  2. Auto-Fetch from TLADe API: ticked.
  3. API Key (from TLADe Terminal): paste your key. You find it in the terminal's menu, Copy API key (see The API key).

Click OK. From now on the indicator downloads the levels of every session by itself, six times a day: nothing to paste.

The chart with today's levels.
With the API key: today's levels.
  1. Bottom right the indicator writes which session it is showing: here today, EUROPE.

#Without a key

The chart with the delayed levels and the notice.
Without a key: the levels of three trading days ago.

Without a subscription the indicator works the same way, with the free levels:

  1. A notice at the top says that the data is delayed by three days.
  2. Bottom right, the session shown: here a close of three trading days before.

You can also paste the levels by hand: copy them from the terminal (the TradingView Levels button at the top, or Copy indicator levels in the side menu) and paste them into GEX Data (paste from TLADe).

#What to show

Level Visibility and Price Levels Style.
What the indicator draws, and how.
  1. Level Visibility: which levels are drawn. Max GEX Levels sets how many walls; Show Structure Levels adds PDH, PDL, PWH and PWL; Show only levels near price keeps the chart clean on a quiet day.
  2. Price Levels Style: labels, font size, line length and style.

Further down: the Session AVWAPs (Asia, EU, US and the previous US session), the session boxes, the breakout structure, the confluence zones, the GEX profile on the right of the chart, and the alerts when the price crosses a level.

#Live prices in the terminal: the NT8 bridge

The bridge is two small pieces that work together:

  • TLAdeBridge, an indicator that sends the ticks and the bars of your chart;
  • the receiver, a small Python program that passes them to the terminal on your computer (localhost:5000).

You need Python 3.8 or later installed.

#1. The files

The bridge zip, unzipped.
The NT8 bridge, unzipped.

Download the bridge from the terminal (Menu → Indicators & Data Feed → Data Feed Bridge → NinjaTrader 8) and unzip it. Inside:

  1. tlade_bridge_nt8.py: the receiver.
  2. TLAdeBridge.cs: the indicator. Copy it into Documents\NinjaTrader 8\bin\Custom\Indicators\, then compile: in the NinjaScript Editor, F5.

#2. Start the receiver first

In the folder with the files, click the address bar of File Explorer, type cmd and press Enter: a command prompt opens in that folder. The first time only:

`` pip install flask flask-cors ``

Then, every time:

`` python tlade_bridge_nt8.py ``

The receiver waiting for NinjaTrader.
The receiver is running.
  1. The receiver is listening and waiting for NinjaTrader. Leave this window open while you trade: closing it stops the bridge.

#3. Add TLAdeBridge to a 5-minute chart

TLAdeBridge added to the ES 5-minute chart.
TLAdeBridge on the chart.
  1. On a 5-minute chart of ES, MES, NQ or MNQ, add TLAdeBridge the same way as TLADe GEX.
  2. Its description: it sends ES/NQ ticks and bars to localhost:5000.
  • 5 minutes, always. The terminal expects 5-minute bars and builds 15m, 30m, H1 and H4 from them. Trade on any timeframe you like in other chart windows.
  • One chart per index: one for the S&P (ES or MES) and one for the Nasdaq (NQ or MNQ). An MNQ chart is the Nasdaq: putting the indicator on both MNQ and NQ adds nothing.
  • On any other instrument the bridge sends nothing, on purpose: a gold chart must never publish its price as ES.
The receiver with ticks and bars arriving.
Data is flowing.

In the receiver's window you now see the data arriving:

  1. TICK: every price change.
  2. BAR: the current 5-minute bar, updated live.

#4. Connect the terminal

The terminal detects the NT8 bridge.
The terminal finds the bridge by itself.

Open (or reload) the terminal: it finds the bridge by itself and asks whether to connect. Choose how often it updates (3s is the recommended setting) and click:

  1. Connect.

At the top, under the price, the terminal now says NT8 LIVE: the chart and the price come from your NinjaTrader.

#Updating

  • The TLADe GEX indicator: import the new zip as in step 1, and answer Yes when NinjaTrader asks to replace the file.
  • The NT8 bridge: replacing TLAdeBridge.cs is not enough. In the NinjaScript Editor close and reopen TLAdeBridge, press F5, then remove the indicator from the chart and add it again. The UPDATING file in the zip has every step.

#If something does not work

  • The terminal never switches to live (Chrome). If the receiver is running but the terminal stays delayed, Chrome is blocking the page from reaching your own computer. Open chrome://flags/#local-network-access-check, set it to Disabled and restart Chrome. Firefox does not have this block.
  • No such file or directory when you start the receiver: the command prompt is in the wrong folder. Open it from the folder that holds tlade_bridge_nt8.py, as in step 2.
  • The price jumps between two values. The bridge is on two charts of different indices feeding the same one: keep one chart per index.
  • The levels are the delayed ones although you subscribe: check that Auto-Fetch is ticked and that the API key is pasted whole, with no spaces.