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 Jonafare, 12-06-2012, 03:48 PM
    5 responses
    3,984 views
    0 likes
    Last Post rene69851  
    Started by Fitspressorest, Today, 01:38 PM
    0 responses
    2 views
    0 likes
    Last Post Fitspressorest  
    Started by Jonker, Today, 01:19 PM
    0 responses
    2 views
    0 likes
    Last Post Jonker
    by Jonker
     
    Started by futtrader, Today, 01:16 PM
    0 responses
    7 views
    0 likes
    Last Post futtrader  
    Started by Segwin, 05-07-2018, 02:15 PM
    14 responses
    1,791 views
    0 likes
    Last Post aligator  
    Working...
    X