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:
\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