I conform to many of the NT8 performance tips (NinjaTrader 8): close unneeded Workspaces, Charts, Indicators, Drawing Objects, etc. However, I fall afoul with a Workspace with many charts based on the same instrument (many time-frames, three TradingHours templates). This presents a problem where running a Strategy, periodically significant memory usage can cause NT to freeze (I believe).
The Workspace has a Strategy that uses the same time-frames and TradingHours templates. The Strategy prints trades and diagnostic data to the Output Window. After market close, I review the details in the Output Window and overlay against the (many) charts.
The Strategy does not require the (many) charts to run. When the Strategy is run without the (many) charts, the memory usage is near half relative to when the Strategy is run with the (many) charts. However, the Output Window is cleared when switching to the workspace with (many) charts.
I am looking for a solution to has :
- Improved performance (i.e. removing the chance of a NT freeze due to memory usage)
- The Output Window details
- The (many) charts
- Run Strategy without (many) charts
- Copy Output Window details to Word document (or similar)
- Close Workspace and open Workspace with (many) charts
- Review as normal
- Run Strategy with (many) charts
- Minimise all charts and set all Indicators to IsSuspendedWhileInactive (NinjaTrader 8)
- However, IsSuspendedWhileInactive is ignored when Indicators are running in Automated NinjaScript Strategies
- Confirmed BUSTED.
- Run Strategy with (many) charts
- Reduce the number of TradingHours templates on the charts
- Create a button(?) to quickly switch between Chart TradingHours templates
- Run Strategy with (many) charts
- Create a button(?) to remove charts
- Use button to populate and arrange all required charts
- Upgrade hardware.
All thoughts are welcome.
Comment