my team is currently developing indicators for NT8 and we are confronted with a few performance issues right now:
- Our test workspace is consisting of up to 9 charts with resolutions ranging from 1 tick and 1 second (loading 20 days) up to 86400 Seconds (loading 200 days for resolutions above 10 minutes)
- Every chart has up to 5 of our custom indicators loaded
- Every Indicator is picking up the Last DataSeries from the BarsArray and adding two new series (Ask and Bid) based on it
- Each indicator is running OnBarUpdate on each tick
- We are heavily relying on OnRender to draw most of our objects. Plots are only used for Lines
The main problem is that while the workspace is loading some chart window randomly freeze. Our indicators are heavily tested and have no memory leaks thus we are not really sure what could be causing this issue. Hardware wise we are very far away from being at the limit (6-core intel, 64gb ram).
Also we noticed that when we save the workspace and restart NinjaTrader a random chartwindow doesnt load any indicators when the workspace is automatically loaded. We found a workaround for this:
- Instead of just saving and exiting NT we save the workspace and close it down manually before exiting
- When we restart NT we load our workspace manually and every chart window is loaded properly with its indicators
Did anyone else experience one of the issues mentioned above or has a few hints when it comes down to performance?
Thans in advance!
Comment