Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Is there a way to turn off order error dialogs?

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

    Is there a way to turn off order error dialogs?

    These look like:

    Click image for larger version  Name:	image.png Views:	0 Size:	29.6 KB ID:	1270660
    Click image for larger version  Name:	image.png Views:	0 Size:	34.9 KB ID:	1270659

    In both cases, these are actual errors that I need to fix. However, I get the same error info back in OrderEventArgs, and can identify and hunt them down that way.

    The dialogs can be disruptive in some circumstances and, if possible, I'd rather not have them cluttering the UI should an unexpected situation occur.

    Cheers.
    Last edited by carnitron; 09-27-2023, 09:29 PM.

    #2
    Hello carnitron,

    Thank you very much for your post.

    At the current time, it is not possible to disable order rejection messages; As disabling these could lead to unprotected positions the client is not aware of we decided to not make it possible to disable or hide these messages at this time.

    Please don't hesitate to let me know, should you have any further questions!

    Comment


      #3
      Ok, that's fair. I hunt these errors down and destroy them anyway. It just takes time to nail the obscure ones, so sometimes I live with them for a while.

      Comment


        #4
        So one case that concerns me is where I cancel an order that is in the middle of being filled on the server. I can't know this is happening on the client, b/c I don't have confirmation yet. But by the time the cancel arrives on the server, the order is filled and it's an error, which causes one of these dialogs.

        Meaning I literally can't stop the dialog from occurring even though this situation is technically "harmless".

        What is the suggested methodology for handling this case and other cases like it?

        Comment


          #5
          carnitron There is more discussion (and some potential approaches) to be found here.

          Thanks.
          Multi-Dimensional Managed Trading
          jeronymite
          NinjaTrader Ecosystem Vendor - Mizpah Software

          Comment


            #6
            Thanks for the heads up jeronymite. I've added my vote to that thread, I guess just on principle, given that NT has ignored this request for 16.5 years. Ugh.

            Comment


              #7
              I'm going to try this approach and see if it works:

              Comment


                #8
                I too have found this issue to be extremely annoying, as I frequently get errors in the middle of live trading and it completely messes up the flow and/or ability to use hotkeys to apply protection or exit a position quickly when the platform is not cooperating. NinjaTrader should absolutely fix this, it's been like this for over 17 years from the threads on this topic and real traders are annoyed by it.

                Given their lack of attention to this matter, I have crafted an AutoHotKey fix that will close the dialogs and log the notices to another window for review. NinjaTrader please do better and make this a priority -- it understandable you want users informed of errors about unprotected positions, but it should be their choice if this is just a log entry, tooltip or dialog that disrupts the flow. I actually get this error frequently while trying to apply stop orders, because I have hotkeys and buttons that apply ATM protection, and the default ApplyATM protection often fails with invalid prices, causing an invalid price and and OCO reuse error. It's extremely annoying. I will be rewriting that to use my own OCO management, but this dialog issue only exacerbates the problem and has cost me real money.

                NT8-AutoCloseErrorDialogs.zip


                Click image for larger version

Name:	image.png
Views:	306
Size:	30.2 KB
ID:	1319636

                Comment

                Latest Posts

                Collapse

                Topics Statistics Last Post
                Started by Geovanny Suaza, 02-11-2026, 06:32 PM
                0 responses
                601 views
                0 likes
                Last Post Geovanny Suaza  
                Started by Geovanny Suaza, 02-11-2026, 05:51 PM
                0 responses
                347 views
                1 like
                Last Post Geovanny Suaza  
                Started by Mindset, 02-09-2026, 11:44 AM
                0 responses
                103 views
                0 likes
                Last Post Mindset
                by Mindset
                 
                Started by Geovanny Suaza, 02-02-2026, 12:30 PM
                0 responses
                559 views
                1 like
                Last Post Geovanny Suaza  
                Started by RFrosty, 01-28-2026, 06:49 PM
                0 responses
                558 views
                1 like
                Last Post RFrosty
                by RFrosty
                 
                Working...
                X