Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

OCO in orders tab, not in script

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

    OCO in orders tab, not in script

    Hello,

    in the orders tab there appears a code in column OCO for my trades with fxcm. I have not coded targets in my scripts as I do the exits with conditions. What does the numbers in OCO column mean please?

    And another question in this concern please: why do not appear the orders for the trades with continuum(demo) in the orders tab but only the forex-trades with fxcm?


    Thank you.
    tony
    Attached Files

    #2
    Hello Tonynt,

    Thank you for your post.

    OCO stands for One Cancels Other, this is used for bracket orders as an example.

    When orders have the same OCO ID attached, then one is filled the other(s) is cancelled.

    Additionally, you may have the orders tab to filter out based on the account you are submitting to. Right click in the grid area -> Filter by account...-> Select all
    Cal H.NinjaTrader Customer Service

    Comment


      #3
      Hello Cal,

      thank you for your reply. Yes, I know what OCO stands for.

      I´m wondering why there is OCO when there is not "xxO". Because I have not bracket.

      So, is this correct to show OCO when when I have no OCO? Is this shown maybe automatically when one uses SetstopLoss() in a script, even when there is not setprofittarget in the script? This is to avoid any problems during my live-trading.

      Thank you.
      Tony


      Originally posted by NinjaTrader_Cal View Post
      Hello Tonynt,

      Thank you for your post.

      OCO stands for One Cancels Other, this is used for bracket orders as an example.

      When orders have the same OCO ID attached, then one is filled the other(s) is cancelled.

      Additionally, you may have the orders tab to filter out based on the account you are submitting to. Right click in the grid area -> Filter by account...-> Select all

      Comment


        #4
        Tonynt,

        Correct, OCO ID is attached for Set() orders. This is because when an StopLoss and ProfitTarget are submitted together with the same OCO ID is generated and attached to the Orders.

        There is no interference with your live trading as it is only a StopLoss order, it will essentially be ignored on the backend.
        Cal H.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        88 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        48 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        31 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        34 views
        0 likes
        Last Post TheRealMorford  
        Started by Mindset, 02-28-2026, 06:16 AM
        0 responses
        68 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Working...
        X