Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Bracket Order entry attempt via strategy

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

    Bracket Order entry attempt via strategy

    I am trying to enter a bracket order via strategy

    i.e. I have attempted this and had no luck

    entryLOrder = EnterLongStop(0,true,1,GoLongPrice, "LE");
    entrySOrder = EnterShortStop(0,true,1,GoShortPrice, "SE");

    The long entry works well however the short entry is always ignored

    I believe this might be due to ninjatrader helpfile mentioning:
    Methods that generate orders to enter a position will be ingonred if:
    The Strategy position is flat and and an order submitted by an enter method (EnterLongLimit() for example) is active and the order is used to open a position in the opposite direction

    is there any way I can enter two stop orders at the same time or if not is there any workaround?

    #2
    Hello Flick,
    Welcome to the forum and I am happy to assist you.

    The Internal order handling rules of Managed approach will reject the 2nd order.

    To submit a bracket order please use the Unmanaged approach. Please refer to our help files to know more about it
    JoydeepNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    68 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    41 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    24 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    27 views
    0 likes
    Last Post TheRealMorford  
    Started by Mindset, 02-28-2026, 06:16 AM
    0 responses
    54 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X