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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        60 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        147 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        162 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        97 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        284 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X