Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Suppress NinjaTrader Messages
Collapse
X
-
Hello grayfrog,
Thank you for your post.
This feature request has not been implemented within the NinjaTrader platform. You'll find a note regarding your feature request in the release notes when a feature is implemented.Please let us know if we may provide any further assistance.Adrian B.NinjaTrader Customer Service
Comment
-
Wow this was hard to find but the creeping threat of insanity pushed me on as well as a single trade today in a fast-moving NQ creating literally 97 error popups (I counted when closing them) and....Originally posted by -=Edge=- View Post
By no means am I recommending this!
As I'm not exactly sure just how many error message types this will effect..
(Meaning this likely will effect more than just an order rejection error!)
But it would be much more efficient to use an add-on script instead of indy/strat..
This way it auto loads on start-up and only runs when when a window is created..
Code:namespace NinjaTrader.NinjaScript.AddOns { public class AutoCloseNTErrorWindow : NinjaTrader.NinjaScript.AddOnBase { protected override void OnStateChange() { if (State == State.SetDefaults) { Description = @"Auto Close NTMessage Box Error Windows (Not Recommended)"; Name = "AutoCloseNTErrorWindow"; } } protected override void OnWindowCreated(Window window) { base.OnWindowCreated(window); if(window != null && window.GetType().ToString().Equals("NinjaTrader.Gui.NTMessageBox") && window.Title.Contains("Error")) {window.Close(); } } } }
Be Safe in this Crazy World!
They should pay you for this!
Thank you.
- Likes 1
Comment
-
Originally posted by -=Edge=- View Post
By no means am I recommending this!
As I'm not exactly sure just how many error message types this will effect..
(Meaning this likely will effect more than just an order rejection error!)
But it would be much more efficient to use an add-on script instead of indy/strat..
This way it auto loads on start-up and only runs when when a window is created..
Code:namespace NinjaTrader.NinjaScript.AddOns { public class AutoCloseNTErrorWindow : NinjaTrader.NinjaScript.AddOnBase { protected override void OnStateChange() { if (State == State.SetDefaults) { Description = @"Auto Close NTMessage Box Error Windows (Not Recommended)"; Name = "AutoCloseNTErrorWindow"; } } protected override void OnWindowCreated(Window window) { base.OnWindowCreated(window); if(window != null && window.GetType().ToString().Equals("NinjaTrader.Gui.NTMessageBox") && window.Title.Contains("Error")) {window.Close(); } } } }
Be Safe in this Crazy World!
For us non-programmers, where exactly do we copy and past this? TIA!!
Comment
-
Going through the same issue myself!!Originally posted by notenufftime View Post
Wow this was hard to find but the creeping threat of insanity pushed me on as well as a single trade today in a fast-moving NQ creating literally 97 error popups (I counted when closing them) and....
They should pay you for this!
Thank you.
Can you share where you copy/paste this code and how to run it?
thanks!
Comment
-
-
Hello,
Thank you for your post.
Please note, any code that modifies or prevents behavior intended by the NinjaTrader Developers is not supported by NinjaTrader.
That said, this code would be added to a new NinjaScript Addon in the NinjaScript Editor.
Below is a link to a video of using the NinjaScript Editor.
YouTube: NinjaScript Editor 401
As well as a link to a support article with helpful resources on getting started with C# and NinjaScript.
Also, below is a link to an example script of a basic addon window you may find helpful.
Please let me know if I may provide further information.
- Likes 1
Comment
-
-
Try.. NinjaScript Editor > New Add On > Generate > Replace what is In Between:Originally posted by brownsfan019 View PostI get the following error when I go to New > NinjaScript Editor > New Add On > Generate > Delete what is there by default > copy/paste what Edge shared.
Do No Remove/Delete the Code Generated above that!Code:namespace NinjaTrader.NinjaScript.AddOns { ... }
Be Safe in this Crazy World!
- Likes 3
Comment
-
fwiw, Just for cross-reference given all the people in this thread. This looks like another great solution, though it doesn't capture any of the errors for posterity.
I crafted an external solution using AutoHotKey that I also reference here that does attempt to keep you aware of the messages (logged to new window and/or System ToolTray alert that can be annoying when you get so many in a row, but doesn't affect your flow interacting with NT8 to actually be able to fix the failed orders):
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
648 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
369 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
108 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
572 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
573 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment