Getting started on NinjaTrader 8
This page covers the Pulling & Stacking Indicator on NinjaTrader 8, where it runs as an indicator, in its own panel under the price chart.
The indicator for NinjaTrader 8 is one NinjaScript add-on, a zip file you download from your Sigmantra account, for NinjaTrader 8.1 or later. It needs a data connection that provides market depth (Level II, the order book) and trades for the instrument. It works on live data and on NinjaTrader's Market Replay (see indicator states).
Install
Do not unzip the file: NinjaTrader imports the zip itself. To check the file on
Windows, run Get-FileHash on the zip you downloaded, in PowerShell in the folder
where you saved it, and compare the hash with the SHA-256 shown beside the
download in your account. PowerShell prints the hash in capital letters and your
account shows it in small letters: that is the same hash, only the letters' case
differs.
- If an earlier version of the indicator is installed, remove it first: in NinjaTrader's main window choose Tools > Remove NinjaScript Assembly, select PullingAndStackingIndicator and click Remove. NinjaTrader asks whether to remove the NinjaScript objects in that assembly: click Yes, then OK. Charts that use the indicator keep their settings.
- In NinjaTrader's main window choose Tools > Import > NinjaScript Add-On, select the zip you downloaded and click Open. NinjaTrader first shows its notice about third-party add-ons: click OK. It then says when the import is complete.
- Restart NinjaTrader: close its main window, answer NinjaTrader's question about saving your workspace as you prefer, then start NinjaTrader again and sign in.
First chart
- Open a chart of the instrument you trade (New > Chart).
- Right-click the chart, choose Indicators..., select PullingAndStackingIndicator in the list of available indicators, click add, then OK.
- The first time, the Terms and Conditions window opens. Read them and click I accept the Terms and Conditions. Until you accept, the indicator draws nothing and the console does not open. If you click Not now, the window comes back the next time the indicator starts (when NinjaTrader starts, or after OK or Apply in the Indicators window). To read the terms again at any time, tick Show Terms and Conditions in the indicator's properties and click Apply.
The lines are drawn in the indicator's own panel under the price chart, and the
arrows on the price chart. Once you accept the terms, the
Pulling & Stacking Console opens in a window of its own, with one tile
per instrument. When it starts, a tile shows WAITING FOR ORDER BOOK DATA, then
WARMING UP. The order book has no history, so the lines start from the moment
you add the indicator, and with the default settings the Resistance and Support
band needs about 25 minutes of data.
Market depth. Pulling and stacking is measured on the order book. If the
connection sends no depth, the tile's state line says No Level II depth received.
If the depth stops while trades continue, it shows ! ORDER BOOK DATA STOPPED.
Activate your licence
The licence key is in the email you get when you subscribe, and starts with lic_.
Until the licence is active, the chart stays empty, the indicator's panel says
PAUSED with the reason, and the console shows the instrument as PAUSED.
Accept the Terms and Conditions first: an activation asked for before they are
accepted waits until they are, and the console's Global notifications say so.
- Right-click the chart and choose Indicators..., then select the indicator in the list of the chart's indicators.
- In the Licence group at the top of its properties, paste your key into Licence Key.
- Tick Activate Licence and click OK (or Apply).
What you see afterwards:
- After a few seconds the console's Global notifications say
Licence active on this computer.and the lines start. Licence Status, the read-only line in the Licence group, shows the state in a few words (Active on this computer) the next time you open the Indicators window. - While the licence is active on this computer, Activate Licence is ticked and greyed out, and Licence Key is greyed out and shows only the start of your key followed by dots: there is nothing more to do. Adding the indicator to another chart shows the same.
If the key was not accepted, Licence Status says why (for example
Key not found) and the key stays in the box as you typed it, so you can correct
it; then tick Activate Licence again. If you tick Activate Licence and
Release This Computer together, neither is done. The key is stored for this
computer, not in the chart, a workspace or a template. One key covers one
computer: NinjaTrader 8 and the other supported platforms on the same computer
all count as that one computer.
The indicator needs an internet connection: it runs only while the licence
server confirms your licence, and there is no offline period. Without a
connection it pauses, also when NinjaTrader starts without one: the tile shows
PAUSED - could not reach the licence server. It keeps trying and starts again
by itself once it connects, carrying on with the warm-up it had (after a long
pause the warm-up starts again). If the connection drops for a moment while the
indicator is running, it goes on for up to 2 minutes while it tries again
(Licence Status says Active, reconnecting), then pauses. The licence is checked
again once a day.
Release this computer
To move your licence to another computer, release it on this one first: open the
indicator's properties, scroll down to the Release This Computer group
(below the indicator's own settings, after Misc), tick
Release This Computer and click OK. The console
then says this computer has been released, and the indicator stops here (the
console tile shows PAUSED - licence required (see the indicator settings)).
Activate Licence and Licence Key can be used again the next time you open
the Indicators window. Activate your key on the new computer. If the status says
the licence is active on another computer, release it there, then tick
Activate Licence again. You can also release a computer from your Sigmantra
account (Release computer). If you can no longer reach the old computer,
write to contact@sigmantra.com.
The console
The console is one window for all your charts. Each instrument gets a tile with its headline, the 2, 3, 5 and 10 minute badges, a state line and a log. Alerts are set in the console: the bell on a tile for that instrument, and Global notification settings (top right) for every instrument: on or off (off by default), the threshold (3 standard deviations by default), the minimum time between alerts, the alert sound (with a Test sound button) and the text size. See the console and notifications.
Closing the console with its close box unticks Enable Pulling & Stacking Console on every chart, and the console stays closed, also after a restart, until you tick that box again on a chart and click OK or Apply. Console Always On Top keeps the console in front of NinjaTrader's windows. It is one setting for the one console: the chart where it was changed last decides, and the other charts' boxes follow it. While a NinjaTrader settings window or dialog is open (the Indicators window, Chart Properties, a question from NinjaTrader) the console steps behind it, and it is on top again once the window closes.
Market Replay
NinjaTrader's Market Replay (the Playback connection) is read the way live data
is, on the replay's own time, at 1x and at faster speeds. A replay gets its own
console tile, named after the instrument with (replay), and its own warm-up from
where it starts. Passive Flow and the deep-book readings need market depth in the
replay data: download Market Replay data for the day (Tools > Historical Data,
Get Market Replay data). See indicator states.
Where your settings live
- The indicator's properties are saved with the chart in your NinjaTrader workspace.
- The console's settings and your acceptance of the terms are kept for your
Windows user in
%LOCALAPPDATA%\StackSignal\PullingAndStacking. The folder keeps this name in every version of the indicator.
Every setting is described in the NinjaTrader 8 settings reference.
Platform notes
- What a settings change keeps. NinjaTrader starts the indicator again at every OK or Apply. The warm-up, the lines and arrows already drawn on the chart and the instrument's log in the console are kept; bars from before the indicator had data stay empty. Changing Level Depth or Count Levels Entering The Depth is a different measurement, so the lines and the warm-up start again. The drawn lines and arrows are kept while NinjaTrader runs: after a NinjaTrader restart they start from the first reading. Changing S/R Lookback Multiplier starts the band's warm-up again.
- A Buy / Sell band (a chart in Buy / Sell mode, or Console Mode Buy / Sell on a Flow chart) starts when you choose it and warms over the full lookback (25 minutes at the defaults) before its readings are fully seeded.
- Several charts of one contract share one flow engine and one console tile. The first chart loaded feeds the engine; if it is closed, the next one takes over without a warm-up.
- After updating the indicator, restart NinjaTrader. Until it restarts it keeps running the previous version.
Help
The lines, bands, console and alerts work the same way on every platform: the rest of this documentation applies. For questions and problems write to contact@sigmantra.com, with the platform, the indicator version (3.0.23) and, if there is one, the exact message the console or the properties show.
Next: the flow decomposition · NinjaTrader 8 settings reference · the console
Chart images. The chart images on this site show the indicator's display on market data, to explain what it draws. They are not trading results or trade recommendations, and the risk and hypothetical performance disclosures above apply to them. We publish no trading performance. The full text is on the disclosures page.