Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Suppress NinjaTrader Messages

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #31
    Has this feature to disable all the myriad of popup messages been implemented? This should be a very easy fix and option for people. Many trades of mine have been disrupted and detrimentally affected by these pop-up messages.

    Comment


      #32
      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


        #33
        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!
        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.

        Comment


          #34
          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


            #35
            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.
            Going through the same issue myself!!

            Can you share where you copy/paste this code and how to run it?
            thanks!

            Comment


              #36
              Can anyone kindly explain where the code goes and how to run it? please!! TY!

              Comment


                #37
                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.​

                Comment


                  #38
                  Originally posted by NinjaTrader_Gaby View Post


                  Please let me know if I may provide further information.​
                  Gaby,
                  I 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.

                  Attached Files

                  Comment


                    #39
                    Originally posted by brownsfan019 View Post
                    I 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.
                    Try.. NinjaScript Editor > New Add On > Generate > Replace what is In Between:

                    Code:
                    namespace NinjaTrader.NinjaScript.AddOns
                    {
                         ...
                    }
                    Do No Remove/Delete the Code Generated above that!



                    Be Safe in this Crazy World!
                    -=Edge=-
                    NinjaTrader Ecosystem Vendor - High Tech Trading Analysis

                    Comment


                      #40
                      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 Geovanny Suaza  
                      Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                      0 responses
                      369 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by Mindset, 02-09-2026, 11:44 AM
                      0 responses
                      108 views
                      0 likes
                      Last Post Mindset
                      by Mindset
                       
                      Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                      0 responses
                      572 views
                      1 like
                      Last Post Geovanny Suaza  
                      Started by RFrosty, 01-28-2026, 06:49 PM
                      0 responses
                      573 views
                      1 like
                      Last Post RFrosty
                      by RFrosty
                       
                      Working...
                      X