Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to ignore error "buy stop or buy stop limit orders can't be placed below the..."

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

    How to ignore error "buy stop or buy stop limit orders can't be placed below the..."

    Hi NT8,

    I am trying to run the playback connection against a strategy for a long period of time without attending to my computer. in using Stop Limit orders, I get the error attached in the pics below which once NT accumulates too many pop-ups greatly slows down the computer for the playback testing. My Q is how I can ignore all these errors. thank you!
    Attached Files

    #2
    Hello Austiner87,

    Thanks for your post.

    There are no current options for suppressing error messages in NinjaTrader.

    We are currently tracking interest for this feature in an internal ticket and I have added your vote.

    The internal tracking number for your feature request is SFT-671. Please reference this internal tracking number when contacting Platform Support if you ever have questions regarding this feature request.

    When a feature request is implemented, you'll find a description of the new feature in the release notes:Let us know if we may assist further.
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment


      #3
      Austiner87 You may find this helpful: https://ninjatrader.com/support/foru...25#post1198625

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

      Comment


        #4
        everyone should vote for this. Add my vote

        Comment


          #5
          Hello ezrollin,

          Thanks for your note.

          Your vote has been added.

          Let me know if I may assist further.
          <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

          Comment


            #6
            Rather than add features. I wish the program would just work right.
            Suppressing error messages is just a band aid bypass to getting it closer to hopefully working right. Just my opinion!

            Comment


              #7
              ezrollin It's always frustrating when things don't work as they should or as one would like them to. I have implemented my own workaround to handle popup messages. It can eliminate popups of messages that I specifically recognise and want to handle without the popup appearing. (Note that this merely prevents the popup window -- it does not in any way prevent the cause behind the popup occurring.) I allow "unrecognised" popup messages to actually popup so that I can know what has happened and respond accordingly. If new popups appear that I subsequently want to handle in my code, I update my code to recognise them and take whatever actions I want. The new feature discussed above would certainly be welcome.

              The type of popup you are encountering, related to the price at which various Orders can validly be placed, is, in my experience, always correctly identifying an error because the Order it relates to was being placed at an invalid price. The NinjaTrader log and trace files contain full details. Being important errors, they reveal a logic problem in the code submitting the Orders and should always be taken seriously. I have found subtle logic errors in my code when these types of errors are detected, and my code is far more robust because of that.

              I suggest that you may want to review the errors in the log/trace files and reconcile the information there against your code. You may even want to add some diagnostic output in your code that can verify the situation when Orders are submitted that the prices are as you expect, and offer insights as to what is happening when the errors occur. One thing is almost certain: the errors are legitimate and point to a logic problem in code that should be addressed. Your code will be all the better for it.

              I hope this is useful for you.

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

              Comment


                #8
                jeronymite, thank you for trying to help others with this problem, but it sounds like you are assuming that users are all writing scripts. What can a discretionary trader do about these popups without having to learn how to code??? Can you recommend a site to learn this material?

                Comment


                  #9
                  karenmkrohn Currently, there is no way within standard NinjaTrader 8 to prevent multiple popup error windows. There are various feature requests for this, and you should definitely add your vote to them. This, of course, does not solve the immediate issue for you.

                  As you mention, the only way to achieve what you and others want in this matter is through custom code. If you are not a programmer, you have a number of options, some better than others:
                  • Learn to program (a steep learning curve, but perhaps useful long-term)
                  • Find available example code and use it (there are a few examples in the Forum that are worth looking at)
                  • Find a distributed package in the NinjaTrader Ecosystem that does this, if there is one, and install and use it
                  • Seek the help of a programmer to do this for you (maybe free, maybe at some price)
                  With all that as may be, there is still an underlying issue that you should address, namely, why you are receiving these error popups at all. Error popups are indicative of errors that need attention, for one reason or another. Whilst annoying, if they are there in significant number, it points to a trading practice that probably needs to be changed so as to avoid the error as much as possible. This is not to say the intention of the change is to avoid the messages. On the contrary, the change is to avoid the errors and as a side-effect avoid the popups.

                  If the popups come during backtesting or optimisation, they are annoying but of no material consequence for live trading, except that they highlight errors that will affect live trading if not remedied as already mentioned. If they come during sim or demo trading (or worse, in live trading!), they point to a trading practice that needs review, again, as already mentioned.

                  The aim should be to reduce or eliminate the errors that cause popups. That is to the advantage of your trading generally. My own experience is that sensible changes to trading practices can reduce and in some cases eliminate errors that cause popups, but that some errors will probably happen from time-to-time. They point to important things to address.

                  My preferred approach is for NinjaTrader Development to add a feature that allows popups to be prevented "en masse" in some way so that they do not overwhelm when trading live. Traders preventing all error popups is probably unwise, even if that feature is implemented, although the NinjaTrader log will always have them for reference, so it is still a reasonable feature, but it requires a change of trader behaviour to be a "safe" option to enable, requiring a vigilant approach to the log.

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

                  Comment


                    #10
                    jeronymite Thank you very much for your thoughtful response. I've recently learned something disappointing about the Apex TradeCopier script for NinjaTrader that may be apparent to those with a stronger background in programming: I was surprised to learn that Apex TradeCopier sends orders to the follower accounts only after those orders are *filled* in the leader account. That would certainly cause errors in a fast-moving market! I'm not sure how one can overcome that built-in limitation. Are you aware of any similar software that relays the *orders* to follower accounts promptly after they are placed in the leader account? I guess I need an OrderCopier, and not a TradeCopier. (sigh) And yes, I definitely need to work on my programming skills. Thanks again for your help!

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by NullPointStrategies, Yesterday, 05:17 AM
                    0 responses
                    65 views
                    0 likes
                    Last Post NullPointStrategies  
                    Started by argusthome, 03-08-2026, 10:06 AM
                    0 responses
                    139 views
                    0 likes
                    Last Post argusthome  
                    Started by NabilKhattabi, 03-06-2026, 11:18 AM
                    0 responses
                    75 views
                    0 likes
                    Last Post NabilKhattabi  
                    Started by Deep42, 03-06-2026, 12:28 AM
                    0 responses
                    45 views
                    0 likes
                    Last Post Deep42
                    by Deep42
                     
                    Started by TheRealMorford, 03-05-2026, 06:15 PM
                    0 responses
                    50 views
                    0 likes
                    Last Post TheRealMorford  
                    Working...
                    X