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 haas88, 03-21-2024, 02:22 AM
        19 responses
        220 views
        0 likes
        Last Post NinjaTrader_Jesse  
        Started by ZeroKuhl, Yesterday, 04:31 PM
        4 responses
        30 views
        0 likes
        Last Post ZeroKuhl  
        Started by cupir2, Yesterday, 07:44 PM
        3 responses
        21 views
        0 likes
        Last Post NinjaTrader_Gaby  
        Started by reynoldsn, Yesterday, 07:26 PM
        2 responses
        16 views
        0 likes
        Last Post reynoldsn  
        Started by MartinT, 05-17-2023, 06:00 AM
        18 responses
        175 views
        0 likes
        Last Post flybuzz
        by flybuzz
         
        Working...
        X