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, 03-31-2026, 09:41 PM
    1 response
    43 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    21 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    30 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    50 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    40 views
    0 likes
    Last Post CarlTrading  
    Working...
    X