Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Strategy playback error - oco id

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

    Strategy playback error - oco id

    Hello Ninjatrader!
    Regarding to this topic about all the erros i got:


    I used regular hours (9:30 to 16:00)
    exit on session close
    NQ DEC on 1 minute candle

    I couldn't Fix my strategy - I tried for the past 1 WEEK !

    I always throw out from the strategy because of the oco id (i added the link)


    Can you please help me?

    this is the code attached

    Thank you!
    Attached Files

    #2
    Hello idan2208,

    In the other post the reason you are getting that error is because of the price used for the target when it gets calculated. The OCO error is not relevant, its the price. The order was too close to the active price and was placed on the wrong side of the market, you need to adjust the targets you are using.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    59 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    34 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    198 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Started by CaptainJack, 04-24-2026, 11:07 PM
    0 responses
    363 views
    0 likes
    Last Post CaptainJack  
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    282 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Working...
    X