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 Mindset, Today, 06:46 AM
|
0 responses
13 views
0 likes
|
Last Post
by Mindset
Today, 06:46 AM
|
||
|
Started by M4ndoo, Yesterday, 05:21 PM
|
0 responses
19 views
0 likes
|
Last Post
by M4ndoo
Yesterday, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
16 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
82 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
51 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment