Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO ID Issue with Strategy

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

    OCO ID Issue with Strategy

    How do you fix this error message? Playback101, Order '07c92....' can't be submitted. The OCO ID '3b5740....' cannot be reused. Please use a new OCO ID, affected Order: BuyToCover 2 Limit @ 5529.25. Strategy 'MACDAndEMAEntryStrategy/298911334' submited an order that generated the following error 'Odr rejected'. Strategy has sent cancel requests, attempted to close the position and terminated itself.

    #2
    Hello benmarkal,

    For each new OCO pair a new OCOId must be used. A new order cannot be paired with another order that is not in a working state (filled, cancelled, or rejected).

    These examples provide sample code.

    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      Hello Chelsea,

      Thank you for your prompt reply to my post. I appreciate your help and support. Do you happen to have a script for allowing the stop loss and/or take profit that is already placed, in a trade, on the chart to be manually moved as the trade progresses in your favor? Thanks

      Best regards,

      Bennett Kalio

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by Mindset, 04-21-2026, 06:46 AM
      0 responses
      87 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Started by M4ndoo, 04-20-2026, 05:21 PM
      0 responses
      132 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by M4ndoo, 04-19-2026, 05:54 PM
      0 responses
      68 views
      0 likes
      Last Post M4ndoo
      by M4ndoo
       
      Started by cmoran13, 04-16-2026, 01:02 PM
      0 responses
      118 views
      0 likes
      Last Post cmoran13  
      Started by PaulMohn, 04-10-2026, 11:11 AM
      0 responses
      67 views
      0 likes
      Last Post PaulMohn  
      Working...
      X