Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO Long and Short

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

    OCO Long and Short

    Yesterday in the Webinar the guy placed an OCO Order Long and Short.

    This sadly doesn't work for me. I click "OCO Order" and the green box is lighted next to the instrument. Then I middle click on buy to go long to submit an SLM.
    Now I want to click on sell to go short and the message appears "You can't submit an exit order to a strategy until any of its entry orders has been filled."

    But I want to set an OCO Order on the buy and sell site and which ever comes first should be filled. How?

    #2
    Hello symphys,

    Please re-select your ATM strategy before you submit your second entry order and the error message should not occur.

    Let me know if this will not work for you.
    JasonNinjaTrader Customer Service

    Comment


      #3
      Ah, working! Guess I missed that.

      How can I do that programmatically in my strategy?

      Comment


        #4
        Please right click in the SuperDOM and select properties. Set 'ATM strategy selection mode' to 'Keep Selected ATM Strategy Template on Order Submission'. More information can be found at the link below.


        You now do not have to manually re-select the ATM strategy.
        JasonNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Shansen, 08-30-2019, 10:18 PM
        24 responses
        938 views
        0 likes
        Last Post spwizard  
        Started by Max238, Today, 01:28 AM
        0 responses
        3 views
        0 likes
        Last Post Max238
        by Max238
         
        Started by rocketman7, Today, 01:00 AM
        0 responses
        2 views
        0 likes
        Last Post rocketman7  
        Started by wzgy0920, 04-20-2024, 06:09 PM
        2 responses
        27 views
        0 likes
        Last Post wzgy0920  
        Started by wzgy0920, 02-22-2024, 01:11 AM
        5 responses
        32 views
        0 likes
        Last Post wzgy0920  
        Working...
        X