Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Get rid of "Stop Price can't be changed" error

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

    Get rid of "Stop Price can't be changed" error

    Hey, how can I get rid of "stop price can't be changed" error message popup? Code handles situation as expected, it adjusts stop correctly, it closes out position correctly, but it still gives this error and it's annoying. What are the steps to have this message "disabled", so I won't have to go and click OK everytime?
    Attached Files

    #2
    Hello UltraNIX,

    Thanks for your post.

    We are currently tracking interest in the ability to disable error pop-up messages throughout the NinjaTrader platform and have added your vote.

    This request is being tracked under the number SFT-671.

    As with all feature requests, interest is tracked before implementation is considered, so we cannot offer an ETA or promise of fulfillment. If implemented, it will be noted in the Release Notes page of the Help Guide.

    Release Notes — https://ninjatrader.com/support/help...ease_notes.htm

    Please let us know if we may be of further assistance to you.​
    <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
      if you had a code example, that would "solve" the issue and prevent error from appearing, that would be even better.

      Comment


        #4
        Hello UltraNIX,

        Thanks for your note.

        We do not have any supported methods or properties that we could suggest for preventing error messages from appearing. This would require you to use unsupported code which goes beyond the support we would be able to provide.

        That said, this forum thread will be open for other community members to share their insights on unsupported code that might accomplish this.

        Let me know if you have further questions.
        <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


          #5
          UltraNIX This may be of interest: https://ninjatrader.com/support/foru...25#post1198625

          Remember that popup error messages are there for a reason, so if they are "bypassed", it must be in full knowledge of their importance and with deliberate mitigating actions, even if that "action" is deliberately to ignore, and understanding the consequences of the actions.

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

          Comment


            #6
            Originally posted by jeronymite View Post
            UltraNIX This may be of interest: https://ninjatrader.com/support/foru...25#post1198625

            Remember that popup error messages are there for a reason, so if they are "bypassed", it must be in full knowledge of their importance and with deliberate mitigating actions, even if that "action" is deliberately to ignore, and understanding the consequences of the actions.

            Thanks.
            Haven't found any solution in the thread you suggested, could you be more specific?

            As for error message, the coder I work with said that it's because of a split second between code firing and order update actually happening, price changes and it results in an error. And I can confirm, orders are executed as expected, no open and unprotected positions are left in the market. so the error is annoying by all means. even if it doesn't break the strategy and let it resume, clicking OK each and every time, with multiple trades a day becomes unsatisfactory. this has to stop.

            Comment


              #7
              UltraNIX As mentioned, the last link in the list was the most useful for me. If you read down to the post by -=Edge=- you'll see what works for him. That is one way to go, noting all the caveats that are mentioned here and there.

              Perhaps more importantly, if you are seeing many of the errors you describe, modifying your code to reduce/avoid them would be a better option. We know price can change, so if the Orders submitted are frequently on the "wrong" side of price within a "split second" of being submitted, that probably means a more "practical" pricing algorithm for the Orders would be appropriate.

              Thanks.
              Last edited by jeronymite; 12-29-2022, 04:07 PM.
              Multi-Dimensional Managed Trading
              jeronymite
              NinjaTrader Ecosystem Vendor - Mizpah Software

              Comment

              Latest Posts

              Collapse

              Topics Statistics Last Post
              Started by NullPointStrategies, Yesterday, 05:17 AM
              0 responses
              55 views
              0 likes
              Last Post NullPointStrategies  
              Started by argusthome, 03-08-2026, 10:06 AM
              0 responses
              132 views
              0 likes
              Last Post argusthome  
              Started by NabilKhattabi, 03-06-2026, 11:18 AM
              0 responses
              73 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
              49 views
              0 likes
              Last Post TheRealMorford  
              Working...
              X