Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

EnterShortLimit / EnterLongLimit

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

    EnterShortLimit / EnterLongLimit

    Hi all,

    I am trying to rest a limit entrance buy and limit entrance sell at the same time using the above mentioned methods. I get an error message in the log:

    Strategy '-----------------': An Enter() method to submit an entry order at '12/6/2020 5:01:00 PM' has been ignored. Please search on the term 'Internal Order Handling Rules' in the Help Guide for detailed explanation.

    When I search for 'Internal Order Handling Rules' in the Help Guide I do not see any explanation that says I cannot rest two managed orders at the same time. However, if I try to rest either one of the orders by itself, they each go in as intended.

    Can someone help me understand what is going on here?

    Thank you,
    Tim




    #2
    Hello ozziyhtomit,

    The managed approach sees that as an invalid entry so it ignores the second order. The internal order handling rules are described on the Managed order handling page here: https://ninjatrader.com/support/help...antedPositions

    To do a bracket entry you would need to use the unmanaged approach to avoid the internal order handling rules. You can find a sample that covers that here: https://ninjatrader.com/support/foru...579#post770579

    I look forward to being of further assistance.
    JesseNinjaTrader Customer Service

    Comment


      #3
      Thank you Jesse

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by traderqz, Today, 12:06 AM
      5 responses
      8 views
      0 likes
      Last Post NinjaTrader_Gaby  
      Started by Mongo, Today, 11:05 AM
      2 responses
      7 views
      0 likes
      Last Post Mongo
      by Mongo
       
      Started by guillembm, Today, 11:25 AM
      0 responses
      3 views
      0 likes
      Last Post guillembm  
      Started by Tim-c, Today, 10:58 AM
      1 response
      3 views
      0 likes
      Last Post NinjaTrader_Jesse  
      Started by traderqz, Yesterday, 09:06 AM
      4 responses
      29 views
      0 likes
      Last Post traderqz  
      Working...
      X