How to Diagnose a Slow NinjaTrader 8 Indicator Chart

A chart that takes a long time to open presents a different problem from one that lags only during fast markets. Start by recording which one you see. That gives you a useful baseline before you change history, indicators, or update settings.

Make a baseline chart

Create a separate test workspace with one chart. Match the original instrument, contract month, bar type, interval, session template, and history length. Start without custom indicators. Record how long it takes to become usable and whether panning or updating still feels slow. Compare tests during similar conditions, or use the same segment of Market Replay for repeat runs.

Then restore indicators one at a time in the test workspace. If lag appears only after a particular tool is added—especially data-heavy scripts like Order Flow or Volume Profile—compare that tool’s inputs, any extra series it uses, and how much information it draws. If the baseline is already slow, check data loading and the bar series before blaming an indicator.

Load the history the chart needs

Open the chart’s Data Series settings and look at Load data based on. The field below it changes based on your selection, such as Days to load or Bars to load. NinjaTrader’s performance guide calls out long history ranges on tick-based series as a place to look first.

Try a shorter history window in the test workspace. Keep enough data for the settings you rely on. A tool configured to compare the current session against 20 prior sessions needs access to that history. Check the first usable value and the latest reading before adopting a shorter window.

Check when the indicator needs to update

  • On bar close updates when a bar finishes. It fits closed-bar indicators and drastically lowers tick-by-tick CPU load.
  • On each tick evaluates every incoming tick. Use it when the script requires data or behavior within a bar.
  • On price change can skip same-price ticks. Avoid it for calculations that need to count volume traded at the same price.

If an indicator needs intrabar updates, keep its documented mode. Look instead at the history window, duplicate instances, or how many charts run it. A change that makes the chart feel faster also needs to preserve the outputs you use.

Keep a simple before-and-after record

For each run, keep four notes: the settings you changed, the chart’s load time, what you observed during updates, and whether the indicator’s output still matched your reference. Wait for data to load before timing responsiveness. Repeat the same test more than once so a single slow download does not drive your conclusion.

Once you find a useful change, make it in the original workspace and verify it on the chart you actually use. If you need help reinstalling or auditing custom NinjaScript files, see our custom indicator installation guide, or send the developer the indicator version, chart settings, and the shortest reproducible example.

Frequently Asked Questions

Why does NinjaTrader 8 lag during volatile market opens?

Tick velocity surges at the RTH open on contracts like NQ and ES. Multiple charts running On each tick indicators across deep tick history can bottleneck chart updates.

Does switching Calculate mode to On bar close fix lag safely?

Only when the indicator is built for closed-bar logic. Changing an intrabar volume or order-flow tool away from OnEachTick can break its accuracy.

How many days to load should I use on a futures tick chart?

Load only the minimum history your indicators need for lookback and session levels—often 5 to 10 days on active tick charts—unless a multi-week composite profile requires more.

NinjaTrader documentation