Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to clean up cache for charts?
Collapse
X
-
How to clean up cache for charts?
I'm using custom bar types and want to clear my chart cache, what directory does the cache hold? When I try to switch from one type to another bar type, it fails miserably. I want to clean it up and open a new chart. Want to know how to remove the cached bar types?Tags: None
-
Hello priceisking,
Thanks for your post.
Bar cache is stored in the Documents\NinjaTrader 8\db\cache\ folder. You can delete the cache and close/reopen the chart to force the BarsType to rebuild using the data stored in the NinjaTrader 8\db\tick NinjaTrader 8\db\minute and NinjaTrader 8\db\day folders. (Data is requested if it does not exist in these db folders.)
Please let us know if we can be of further assistance.
- Likes 1
-
-
Hi,Originally posted by NinjaTrader_Jim View PostHello priceisking,
Thanks for your post.
Bar cache is stored in the Documents\NinjaTrader 8\db\cache\ folder. You can delete the cache and close/reopen the chart to force the BarsType to rebuild using the data stored in the NinjaTrader 8\db\tick NinjaTrader 8\db\minute and NinjaTrader 8\db\day folders. (Data is requested if it does not exist in these db folders.)
Please let us know if we can be of further assistance.
have a follow up question regarding your reply. Does clearing out cache remove all items from the charts in a workspace? I had a workspace with support and resistance levels marked for daily, weekly and monthly. I cleared out db cache and when I restarted NT8 and opened up one of my workspaces all the tabs were there but all the lines for support and resistance levels were gone. any way to restore them?
Comment
-
Hello,
Thank you for your post.
Clearing out NinjaTrader 8\db\cache folder should have not removed your drawing tools.
To test if you have any old versions of your Workspace available for recovery, do the following:- Go to the Control Center > Tools > Database Management window and expand the 'Restore Workspace' section
- Click 'Restore', then select any recovery versions of your Workspace that may have been automatically saved with its windows still available.
After selecting a recovery workspace that works for you, you may rename and save it again from the Control Center > Workspaces drop-down.
If you continue to experience the same, please email us your log and trace files right from the NinjaTrader platform (by going to Help-> Email Support), plus attach a screenshot of your chart, so we may investigate this matter further. Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.
Thank you!
Comment
-
Got it. I ended up redoing the levels on my chart last night which wasn't a big deal as it was only for a single instrument but definitely good to know.Originally posted by NinjaTrader_Oxana View PostHello,
Thank you for your post.
Clearing out NinjaTrader 8\db\cache folder should have not removed your drawing tools.
To test if you have any old versions of your Workspace available for recovery, do the following:- Go to the Control Center > Tools > Database Management window and expand the 'Restore Workspace' section
- Click 'Restore', then select any recovery versions of your Workspace that may have been automatically saved with its windows still available.
After selecting a recovery workspace that works for you, you may rename and save it again from the Control Center > Workspaces drop-down.
If you continue to experience the same, please email us your log and trace files right from the NinjaTrader platform (by going to Help-> Email Support), plus attach a screenshot of your chart, so we may investigate this matter further. Ensuring 'Log and Trace Files' is checked will include these files. This is checked by default.
Thank you!
I will check again on the next db cache cleanup and will let you guys know if the issue persists.
Thanks a lot
Comment
-
This is really cool... But... all the indicators in the red box are set to update On Bar Close and yet they are changing with every ~1sec refresh of this tool.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
55 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
37 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
17 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
17 views
0 likes
|
Last Post
|
||
|
Started by Mindset, 02-28-2026, 06:16 AM
|
0 responses
49 views
0 likes
|
Last Post
by Mindset
02-28-2026, 06:16 AM
|

Comment