Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Order 'xx' can't be submitted..OCO ID ‘xx cannot be reused. Please use a new OCO ID.

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

    Order 'xx' can't be submitted..OCO ID ‘xx cannot be reused. Please use a new OCO ID.

    I have this error with a strategy, it happens whenever you place an order. The data that the report shows are the following:
    Sim101, Order 'eca6d5dfd6284b79aea13bb2209b426b' can't be submitted: The OCO ID ‘ac8f9e70e0bb42ba9d194a491f26d4c4’ cannot be reused. Please use a new OCO ID. affected Order: Sell 1 Limit @ 12690.5
    Sim101, Sell stop or sell stop limit orders can't be placed above the market. affected Order: Sell 1 StopMarket @ 12688
    Strategy 'MACDBB52P/221259594' submitted an order that generated the following error 'Order rejected'. Strategy has sent cancel requests, attempted to close the position and terminated itself.
    Strategy 'MACDBBShark/221259583': An order placed at '12/6/2020 5:00:00 PM' has been ignored since the order was submitted before the strategy property BarsRequiredToTrade had been met.
    Can someone help me solve this ... I have no advanced programming knowledge, I am doing this with the strategy builder.

    #2
    Hello gabodvzla,

    Thank you for your post.

    The errors you're seeing indicate that you are trying to submit your stop loss at a price that's above the current market price. Can you supply screenshots of the logic you have in the Strategy Builder for submitting the entry order and then also how you have your stop loss set up?

    Thanks in advance; I look forward to assisting you further.

    Comment


      #3
      Hello NinjaTrader_Kate

      Thanks for your quick response. Attached captures

      The stoploss is at 1 tick and the takeprofit at 8.

      I hope you can help me please

      Comment


        #4
        Hello gabodvzla,

        Thank you for your reply.

        This would be due to you using a single tick for your stop loss. It's extremely likely that the price could move between the time your initial entry is submitted and when the associated protective orders are received by your broker, resulting in the stop being rejected. I would advise using a larger number of ticks for your stop loss.

        Please let us know if we may be of further assistance to you.

        Comment


          #5

          You can find possible solution here: https://ninjatrader.com/support/foru...ort-aa/1101528

          Comment

          Latest Posts

          Collapse

          Topics Statistics Last Post
          Started by NullPointStrategies, Today, 05:17 AM
          0 responses
          21 views
          0 likes
          Last Post NullPointStrategies  
          Started by argusthome, 03-08-2026, 10:06 AM
          0 responses
          120 views
          0 likes
          Last Post argusthome  
          Started by NabilKhattabi, 03-06-2026, 11:18 AM
          0 responses
          63 views
          0 likes
          Last Post NabilKhattabi  
          Started by Deep42, 03-06-2026, 12:28 AM
          0 responses
          41 views
          0 likes
          Last Post Deep42
          by Deep42
           
          Started by TheRealMorford, 03-05-2026, 06:15 PM
          0 responses
          45 views
          0 likes
          Last Post TheRealMorford  
          Working...
          X