TradeReign
Back to HomeEducation HubCompatibilityAboutDisclosures
NinjaTrader Desktop Troubleshooting

How to Clear NinjaTrader 8 Cache

Start with the smallest check that can explain the symptom. A missing historical bar, a stopped real-time feed and an installer download error each call for a different action.

NinjaTrader® is a registered trademark of NinjaTrader Group, LLC. No NinjaTrader company has any affiliation with the owner, developer, or provider of the products or services described on this website, or any interest, ownership, or otherwise, in any such product or service, and no NinjaTrader company endorses, recommends, or approves any such product or service.

Quick Answer

For missing historical bars in NinjaTrader Desktop, first compare a plain chart on the same contract and trading hours. Back up any data you need, then try Reload Historical Data while connected. If that fails and the provider has the missing data, NinjaTrader documents clearing tick, minute, day and cache under the Desktop db folder.

Start 7-Day TrialDiagnose the chart gapBack up and clear the chart cacheVerify the rebuilt chart
Comparison

Choose the first check by symptom

Record the contract, chart interval, hours template and missing timestamps before changing anything.

Symptom
First check
What it tells you
Past bars are missing and live trades are arriving
Compare a plain chart and confirm the historical provider.
An identical gap on both charts warrants a history and provider check.
Live prices stop across the chart and Time & Sales
Check the exact contract and the provider connection during active trading.
If neither shows fresh trades, start with the feed diagnosis.
A new download fails with a cabinet or temporary-file error
Use NinjaTrader’s browser-cache instructions for installation.
The chart data folders are outside that workflow.

Check the chart settings and the provider before clearing data

Open a plain chart without add-ons on the same dated contract, bar interval, trading-hours template and displayed time zone. Check whether the missing times fall inside the configured hours and whether the historical connection serves that contract and interval. With multiple connections, check the historical preference separately from the real-time preference.

While connected, right-click the chart and select Reload Historical Data, or use Ctrl+Shift+R. The Desktop help guide says this reloads the base interval for charts of the same instrument and replaces locally stored data for the affected reload. Export or back up imported, edited or locally collected history you need before this step.

Back up local history, then clear only the documented chart folders

Do this after the trading session, when it is safe to close Desktop and any working orders or strategies have been accounted for. Disconnect the data connections, then use Control Center → Tools → Export → Backup File and include Historical chart data if you need to preserve it. Verify the archive exists. Export irreplaceable tick, minute or day data separately if you need an independently usable copy.

Close NinjaTrader Desktop. In File Explorer, open the actual Documents location used by your installation and then NinjaTrader 8 → db. NinjaTrader support identifies four folders for this procedure: tick, minute, day and cache. Remove only those four after confirming the folder and backup. Leave replay and other db folders in place. Market Replay data lives in its own replay folder.

Reopen Desktop and connect to the intended historical provider. The first chart load can take longer while it downloads data again. If the provider cannot supply part of your local history, preserve any newly downloaded data you need before restoring. Use Control Center → Tools → Import → Backup File and select the historical chart data from the saved archive. For a smaller recovery, use the separate Historical Data import with your exported file.

Verify the same timestamps after rebuilding or restoring

In this fictional one-minute example, compare the 9:41 and 9:42 closes between the unchanged 9:40 and 9:43 reference bars. Reopen the same dated contract and trading-hours template after each step. In this case the provider does not return those bars. The saved local history contains them, so the second view shows what a successful restore would look like. Confirm fresh trades separately if you are also investigating a live feed problem.

If the gap remains, check which provider supplied history and whether it carries the old contract and date. Save the affected timestamps and chart settings before contacting support. Repeating the cache clear cannot recover a bar outside your configured session or history your provider does not supply.

Compare the provider rebuild with the restored archive

Synthetic MES 1-minute candles. Times are bar closes in ET.

The 9:41 and 9:42 closes are absent between A at 9:40 and B at 9:43. The provider has returned only the surrounding bars in this fictional case.

Sources

Official References

Platform details on this page were checked against these official resources.

NinjaTrader Database ManagementExplains which order and execution records Reset DB can clear.NinjaTrader Desktop reload and cache procedureDocuments the reload shortcut and the four historical data folders.NinjaTrader chart reload behaviorExplains the base interval and effect on locally stored history.NinjaTrader backup archiveShows the separate categories for historical chart data and Market Replay.Restore a NinjaTrader backupSelect the archive and the data categories to restore.NinjaTrader Playback data filesDocuments the distinct Market Replay folder.NinjaTrader 8 browser-cache guidanceFor download and installer errors in a web browser.
Related Guides

Keep Building the Rule System

Check NinjaTrader historical data coverage

Find the provider, interval and date before reloading or restoring history.

Check a frozen NinjaTrader chart or feed

Compare the chart and Time & Sales before making storage changes.

Check NinjaTrader Market Replay data separately

Verify replay files, the dated contract and the playback account.

FAQ

Common Questions

Does clearing browser cache repair NinjaTrader Desktop charts?

Browser-cache steps apply to a browser download or installation issue. A missing historical chart bar is checked through Desktop’s chart, provider and historical data tools.

Is Reset DB the same as clearing the chart cache?

Reset DB acts on historical order or execution records, depending on the options you select. Use the documented historical chart workflow for missing bars.

Will the first chart load be slower?

It can take longer while Desktop downloads historical data again. Verify the missing timestamps once the chart finishes loading.

Risk Disclosure

Futures trading contains substantial risk and is not suitable for every investor. TradeReign is a trading-discipline and rule-enforcement application. It does not provide trading advice, trade signals, investment recommendations, or performance guarantees.

TradeReign is not a broker-dealer, futures commission merchant, or investment advisor.

Futures trading contains substantial risk and is not for every investor. An investor could potentially lose all or more than the initial investment. Only risk capital - money that can be lost without jeopardizing financial security or lifestyle - should be used for trading. Past performance is not necessarily indicative of future results.