Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Lagging issues
Collapse
X
-
Lagging issues
I am having lots of lagging issues with Ninjatrader. At times 4 to 8 seconds and made me lose quite a lot. Can Someone please help me.Tags: None
-
-
Hello Saif mahmood,
Thanks for your post.
Lagging symptoms are indicative of your CPU getting overloaded. As a test to confirm the platform is operating as it should without being overloaded, I suggest to close all charts and workspaces and to open a simple chart that does not use templates, custom barstypes or has any indicators added. This chart should update as fast as we expect. If this test workspace is fast and yours is not, your workspace would be overloading your CPU.
Remember that when there is increased volatility, NinjaTrader will have more to calculate and lagging symptoms can be more common if the CPU gets overloaded with too much work.
Configuring Efficient Workspaces
The impact NinjaTrader has on your PC will be dependent on how much NinjaTrader has to calculate. For example, having several charts with multiple complex indicators running can cause NinjaTrader to stutter and can cause short freezes. We typically advise the following as tips to improve platform performance.- Configure charts so their Days To Load is an absolute minimum, just enough for your indicators to function properly
- Configure indicators to use Calculate.OnBarClose when possible as opposed to Calculate.OnPriceChange and Calculate.OnEachTick.
- Use less charts and less complex indicators
- Avoid using Tick Replay.
Identifying resource-intensive components with the NinjaScript Utilization Monitor
You may also wish to use the NinjaScript Utilization Monitor (Control Center > New > Output window > Right click > NinjaScript Utilization Monitor) This tool will tell you which components in your workspace are creating the most impact on your system.
After you leave this utility running, the items on the top will be those that are taking the most CPU time. Reducing/eliminating these items will be bring the most performance improvement. Please note that some NinjaScripts, like ChartStyles, require drawing every visible bar with every render pass. Having a ChartStyle at the top of your utilization Monitor would be normal.
I also suggest to use the Windows Task Manager to view other programs that are using your CPU, and to close resource-intensive programs that are taking juice away that NinjaTrader would otherwise be using.
Please let us know if we can be of further assistance.Brandon H.NinjaTrader Customer Service
Comment
-
Hello adl_ng,
Thanks for your note.
Lancer is correct. That forum link goes into further detail explaining how NinjaTrader utilizes computer resources.
NinjaTrader has multiple threads for different tasks. To keep things simple, there are UI threads, there are Instrument threads, and there are thread pools.
You very rarely will see 100% utilization on the an individual thread when lagging symptoms arise.
You could close all open workspaces and open a new blank workspace to perform the blank workspace test, This will allow you to see the platform operating at full speed, and then to identify which additions are making the most impact. This is best tested when you see the symptoms, i.e. when there is greater volatility, otherwise you may not be able to notice the impact that arises.
If you are looking at Task Manager, look at all logical processes, and keep in mind that you will not see 100% utilization on a single thread.
Let me know if I may assist further.Brandon H.NinjaTrader Customer Service
Comment
Latest Posts
Collapse
Topics | Statistics | Last Post | ||
---|---|---|---|---|
Started by poplagelu, Today, 05:00 AM
|
0 responses
3 views
0 likes
|
Last Post
by poplagelu
Today, 05:00 AM
|
||
Started by fx.practic, 10-15-2013, 12:53 AM
|
5 responses
5,407 views
0 likes
|
Last Post
by Bidder
Today, 12:22 AM
|
||
Started by Shai Samuel, 07-02-2022, 02:46 PM
|
4 responses
98 views
0 likes
|
Last Post
by Bidder
Today, 12:11 AM
|
||
Started by DJ888, Yesterday, 10:57 PM
|
0 responses
8 views
0 likes
|
Last Post
by DJ888
Yesterday, 10:57 PM
|
||
Started by MacDad, 02-25-2024, 11:48 PM
|
7 responses
160 views
0 likes
|
Last Post Yesterday, 10:23 PM |
Comment