Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
PlotBrushes get stuck if Calculate.OnEachTick
Collapse
X
-
Yes. I try to save everything in multiple versions. I think that in this case there might have been an unexplained and unexpected infinite loop. I've just now put an iteration limit on the while loop to prevent such a possibility (the brute force fix). Later, I'll try to determine exactly what was causing it and employ a more elegant solution.Originally posted by NinjaTrader_ChelseaB View Post
-
Hello tradesmart,
This would depend on how NinjaTrader locked up. If the UI locked up and the cpu usage is at zero, then there is likely an exception that is causing the lock up.
(Such as hitting an error trying to apply a template, or a script attempting to modify UI items without using Dispatch.InvokeAsync)
If you see that the CPU usage is not a zero, then likely its a performance issue caused by code within the script such as loop or heavy calculations.
If you are finding the UI locked up and the CPU is at zero, I'd like to take a look with you to see if we can identify what is causing the error.Chelsea B.NinjaTrader Customer Service
Comment
-
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
649 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
370 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
109 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
574 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
576 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment