NexusFi: Find Your Edge

Home Menu


Categories Help    

Delete your NinjaTrader 8 cache 5 *

Run the console app to delete all files and folders within the 'NinjaTrader 8> db> cache' folder.

The NT8 data cache folder saves pre-formatted data to suit your bars types, the purpose of which is to enable faster startup times.
Sometimes in certain circumstances your chart bars will be full of errors, so it doesn't hurt to clear the cache once in a while, or every day if you are having issues.

Use only if you are having problems with data, tick replay indicators or if you have modified your bars types.

This will NOT make a backup of your cache files, so use carefully!
It WILL, however, check for NT8 being open and advise you as such. It WILL check for your cache folder being empty and advise you as such.

This was built using an English speaking culture on Windows 10. It directs the delete command to:
'yourDocumentsFolder\NinjaTrader 8\db\cache'. This will not work on XP. Although I have tried to use code to work on all cultures, I have not tested it as such.

Thanks to bobc635 for suggesting this simple concept.


* Extract the file to the desktop and run from there.
* If you wish to see inside the .exe file just download a free decompiler like DotPeek.

Category NinjaTrader 8 Indicators and More 
Suggest other entries I might like
Details: Delete your NinjaTrader 8 cache
Category: NinjaTrader 8 Indicators and More 

February 26th, 2017
Size: 26.20 KB
Downloaded: 1261 times
5 * bobc635 February 27th, 2017 11:12 AM
You are a clever guy!!!!
5 * moerfutures February 28th, 2017 05:45 AM
thanks, awesome utility !
5 * bobc635 March 3rd, 2017 09:56 AM
Nice Job SIM22....Hello All, I have found that sometimes after changing settings on chart that memory starts running and shutting down and deleting the _Workspaces is necessary...just FYI .....
5 * TraderSC April 19th, 2017 04:48 AM
5 * TraderYoda May 18th, 2017 01:24 PM
Thanks very much for all your contribution Sim22 - You're a genius!
5 * mariohuegon February 22nd, 2018 02:48 PM
Very useful, thanks!
5 * Buscador February 23rd, 2018 03:34 AM
Like most of your work, this too will be very useful. I am sure of that.
Thank you for sharing your work.
5 * Maxie April 4th, 2019 01:43 PM
I use it every day after close, thanks
5 * Botts April 12th, 2019 11:04 AM
No Comment
5 * Flyboy1966 August 30th, 2019 05:04 AM
I will try this, however just deleting some of the cache seems to allow NT 8 to work my charts flawlessly..... Many thanks. In the past I have just tryed things (including this) and then forgotten about it. So the next time NT screws up I'm scrambling to find out how to solve all over again. This time I bookmarked this page..... Would you say I'm a bit slow.... Lol's

Sort by


© 2023 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top