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 argusthome, 03-08-2026, 10:06 AM
      0 responses
      111 views
      0 likes
      Last Post argusthome  
      Started by NabilKhattabi, 03-06-2026, 11:18 AM
      0 responses
      59 views
      0 likes
      Last Post NabilKhattabi  
      Started by Deep42, 03-06-2026, 12:28 AM
      0 responses
      38 views
      0 likes
      Last Post Deep42
      by Deep42
       
      Started by TheRealMorford, 03-05-2026, 06:15 PM
      0 responses
      42 views
      0 likes
      Last Post TheRealMorford  
      Started by Mindset, 02-28-2026, 06:16 AM
      0 responses
      78 views
      0 likes
      Last Post Mindset
      by Mindset
       
      Working...
      X