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 NullPointStrategies, Today, 05:17 AM
    0 responses
    41 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    64 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
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X