Ninja Mobile Trader VPS Blog

Find Heavy NinjaScripts with the NinjaScript Utilization Monitor

Find which NinjaScript objects used the most time on your hosted desktop. Compare two runs and decide what to send your add-on developer or NMT support.

NinjaScript Utilization Monitor showing Candlestick at 654 ms and Order Flow Volume Profile at 344 ms

When a chart falls behind on your Ninja Mobile Trader VPS, open the NinjaScript Utilization Monitor inside your hosted NinjaTrader Desktop. It shows which chart styles, indicators and other NinjaScript objects accumulated the most processing time while you watched. Save your readings on the hosted Windows desktop so you can return to them from another device or share them with our team before changing plans.

Open the monitor where the charts are running#

  1. In the hosted Control Center, choose New → NinjaScript Output.
  2. Right-click inside the Output window and select NinjaScript Utilization Monitor. A separate window opens with Type, Name and Total time (ms) columns. You can open it even if the Output tab has no printed messages.
  3. Note the start time and let your normal charts update for a few minutes. Record the leading rows and what the chart was doing when you took the reading. If the slowdown happens only while loading history, observe that phase in its own run.

One monitor covers all open workspaces in that NinjaTrader instance. Other workspaces still contribute when you switch which one is visible. The monitor keeps counting when hidden. If you restart NinjaTrader and reload a saved workspace, open the monitor again. If you opened it well before the slowdown, save a screenshot of that reading, then close and reopen the monitor to start a fresh observation. NinjaTrader’s Output window reference

Read the leading rows#

In NinjaTrader’s full-size monitor example, the Candlestick chart style shows 654 ms and the Order Flow Volume Profile indicator shows 344 ms. The chart style accumulated more processing time over that observation. To measure how far the chart fell behind, you need a separate observation. The values in this column are accumulated milliseconds. Read Windows CPU percentage and available memory in Task Manager.

Read Type alongside Name before changing anything. A built-in indicator can also do work on behalf of a third-party add-on. An indicator calculating a volume profile may legitimately need more time than a simple moving average. Use the leading row to choose a test. A diagnosis also needs a repeatable change in the symptom. NinjaTrader’s chart-lag troubleshooting guide

Test one change in a simulation workspace#

Use a simulation-only session with live strategies and copiers excluded. Creating a second workspace in the same running instance still leaves the first workspace in the measurement. If the production setup must stay active, collect the original reading now and do the comparison separately.

For example, suppose the same optional indicator is on two charts. Take a baseline with both copies. Then remove it from just one test chart, leaving the package installed. Start a fresh monitor for the second pass. Keep the instrument, bar type, days of history and other open workspaces the same. For a reproducible comparison, use the same Playback segment and the same observation length if suitable data is available. NinjaTrader’s performance guidance

Record for each pass What to write down
Setup and time NinjaTrader and add-on versions, open workspaces, instrument, bar type, start and end time with time zone
Leading rows Type, name and total milliseconds for the first few objects in each fresh window
Visible symptom What the chart did during that interval, such as stalling during load or falling behind while prices updated
Single change Which chart lost one indicator instance, whether the chart responded differently, and whether a repeat gave the same result

If the indicator drops down the list but the chart still stalls, keep looking. If the symptom improves consistently with one instance removed, give the add-on developer both readings, the settings and the version. If a built-in object also ranked highly, ask whether the add-on calls it and which settings its calculation requires.

Decide when to involve VPS support#

If the full required workspace is still slow, open Windows Task Manager inside the VPS during the same interval. Record CPU and available memory, then use our NinjaTrader VPS sizing checklist to compare the workload with your plan. The monitor ranks objects inside NinjaTrader. Task Manager gives our support team the Windows measurements needed for a capacity discussion.

Bring your two readings to NMT support

Send the observation window, the leading rows and what changed on the chart. Our 24/7 VPS support team can review the hosted Windows workload with you. If NinjaTrader also showed an error, use our log and trace guide to collect the entry from that interval.

Contact Ninja Mobile Trader support

Back to Blog