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 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
    128 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    117 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