Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Exits not happening

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

    Exits not happening

    Hi,

    I'm using v6.0.0.5 and simulation data. My code isusing these orders to exit an open long:

    ExitLongStop(LongStopPrice,
    "LX_STP");

    ExitLongLimit(LongTargetPrice,
    "LX_TRG");

    I have Print statements showing when a long is open, and what the stop and target prices are. I've watched the chart a couple of times now as price hits and exceeds the limit order, but the position stays open. (I'm guessing the same behavior might be true for the stop but I haven't actually seen it.) Any suggestions?

    Thanks.



    #2
    imported post

    Can you confirm that there was a limit order working via the Control Center Orders Tab? If yes, do you mean that the market traded through the limit but the limit was not filled? Can you reproduce this consistently?

    Thanks
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      The Control Center does not show the orders, but the code to place them executed in the same block as the print statements showing the open position and exit prices. Yes, this appears to be consistent.

      Comment


        #4
        imported post

        Great,

        Could you send me your script so I can reproduce the scenario on my end? Ray at ninjatrader dot com.

        Thanks
        RayNinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        582 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        338 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        103 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        554 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        552 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X