Close-up of a candlestick stock chart on a dark trading screen

The Days-to-Load Setting Most Traders Skip: How Too Little Historical Data Makes a NinjaTrader Bot Misfire at the Open

December 02, 2026

You install a bot, drop it on a chart, and watch it do nothing for the first ten minutes of the session — or worse, fire a trade that makes no sense. Nine times out of ten, the bot isn't broken. NinjaTrader just didn't give it enough history to work with.

It's called Days to Load, it lives in your chart's Data Series properties, and almost nobody checks it after the initial setup. Here's what it actually controls, why it matters more than most traders realize, and how to set it correctly for every bot in your portfolio.

What "Days to Load" actually does

Every chart in NinjaTrader 8 pulls a window of historical bars before the live feed takes over. That window is set by Days to Load (or a bar-count equivalent, depending on your data series type). It's the lookback your indicators and strategies use to calculate — and a rules-based bot isn't guessing at those calculations, it's running them exactly as written, every single bar.

Trim that lookback too short, and your bot isn't trading with a clean slate. It's trading with a half-built picture of the market.

Which bots actually need the history

Not every strategy is affected the same way, but the ones built around a rolling average or a multi-day range are the most exposed:

  • 10 EMA needs enough prior bars for that moving average to stabilize before it's trustworthy — undersized history means the EMA value on your first live bar is still "warming up," not reflecting the real trend.
  • NR7 is explicitly a 7-day comparison. Load fewer than seven full sessions and the bot has no valid range to compare today against — it can't identify the narrow day it's built to trade.
  • ORB cares less about days of history and more about getting the current session's opening bars complete and uncorrupted, but it still needs a properly loaded data series to avoid miscounting the opening range on a platform restart mid-morning.
  • Snapback and Volume Spike both reference recent volatility and volume baselines — too little data skews what counts as "unusual" for either one.

This is also exactly why the 10 EMA bot's trending-vs-choppy behavior can look inconsistent right after a platform restart — the EMA hasn't actually gotten the bars it needs yet.

Where this actually bites you

It's rarely an issue on a system that's been running for weeks. It shows up in three specific moments:

  • Fresh installs. You just set up NinjaTrader 8 on a new PC or after a Windows reinstall, matched the chart template, and dropped a bot on — without noticing the data series defaulted back to a short lookback.
  • Platform restarts mid-week. A NinjaTrader update or a disconnect forces a reload, and the chart comes back with less history than you had before the restart.
  • New instruments. You add a bot to a contract you haven't charted before — gold, crude, a new month's futures contract — and that chart's history has to be pulled from scratch.

In every one of those cases, the symptom looks like a bad signal or a missed entry. The actual cause is a data problem, not a strategy problem — which is a close cousin of the gap we covered in why your live results won't match 4.5 years of backtest data one-for-one. A backtest always starts with a full, clean data series. Your live chart has to be told to do the same.

How to set it correctly

  1. Right-click the chart and open Data Series properties.
  2. Set Days to Load generously past what any single bot needs — if NR7 needs 7 days, load at least 20–30 to give every indicator on that chart a stable, warmed-up value, not a bare minimum.
  3. After any reinstall, update, or new-instrument setup, reload the chart and confirm the historical bars actually populated before you let a bot go live on it — don't assume the setting carried over.
  4. If you're running bots across multiple charts on multiple monitors, check this setting on each one individually. NinjaTrader doesn't apply it portfolio-wide — it's a per-chart property.

The habit that actually protects your account

None of this requires touching a line of code — it's a platform setting, not a strategy edit, which fits exactly how a PBT bot is supposed to work: install it, point it at a properly loaded chart, and let the rules run. But "no coding required" doesn't mean "no setup required." A thirty-second properties check before the open is the difference between a bot that's reading the market correctly from bar one and a bot that spends its first few minutes guessing.

If you're still getting your charts dialed in, our 14-day free trial gives you room to run this checklist on every bot in the portfolio before a funded evaluation is on the line — and if you want the structured version of that setup process, the 30-Day Bot Workshop walks through it step by step.

Back to Blog

EMAIL NEWSLETTER

Funded Account Tips

Weekly emails sent to your inbox

We don't sell your information, it's stored securely.

Learn More About

  • Funded Accounts 101

  • Quick Start Checklist

  • Top rated prop firms to use

  • What to Do vs. What to Avoid

  • Why most traders fail "evaluation accounts"

  • Pro trading tipes & strategies

  • How trailing drawdown works

  • And more...

Works with funded accounts (Lucid, Tradeify, etc)

and personal cash accounts

Push Button Trading logo — automated NinjaTrader 8 trading bots and education

We provide trading technology, education and technology tools that make trading easy and fun. Through the use of our custom-built technologies, education classes, and online community we bridge the gap for some of the most challenging obstacles traders face.

Trustpilot 4.5 out of 5 star rating for Push Button Trading

4.5 / 5 Trustpilot

BBB Accredited

Risk Disclosure: Futures and forex trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Risk capital is money that can be lost without jeopardizing one's financial security or life style. Only risk capital should be used for trading and only those with sufficient risk capital should consider trading. Past performance is not necessarily indicative of future results.

Hypothetical Performance Disclosure: Hypothetical performance results have many inherent limitations, some of which are described below. No representation is being made that any account will or is likely to achieve profits or losses similar to those shown; in fact, there are frequently sharp differences between hypothetical performance results and the

actual results subsequently achieved by any particular trading program. One of the limitations of hypothetical performance results is that they are generally prepared with the benefit of hindsight. In addition, hypothetical trading does not involve financial risk, and no hypothetical trading record can completely account for the impact of financial risk of actual trading. for example, the ability to withstand losses or to adhere to a particular trading program in spite of trading losses are material points which can also adversely affect actual trading results. There are numerous other factors related to the markets in general or to the implementation of any specific trading program which cannot be fully accounted for in the preparation of hypothetical performance results and all which can adversely affect trading results.

Testimonial Disclosure: Testimonials appearing on this website may not be representative of other clients or customers and is not a guarantee of future performance or success.

Educational Disclosure: The Push Button Trading mentorships, courses, classes, live events, and content are provided for educational purposes only. We are not providing financial advice. It is your responsibility to test all strategies and plans. You are the only one pushing the buttons and it is your responsibility to fully understand the risks before implementing any of the education provided by Push Button Trading.

© 2026, Push Button Trading, All Rights Reserved