Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Problem of reissue ExitLongLimit

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

    Problem of reissue ExitLongLimit

    This is a description what I did (in output.txt:
    Line 1: EnterLongLimit (1, 1253, TLFdBnd)
    Once I enter the trade, I send out a stop and target order.
    Line 11: ExitLongStop (0, True, 1, 1251, BigStop, TLFdBnd)
    Line 13: ExitLongLimit (0, True, 1, 1253.5, TLFdFixPrf, TLFdBnd)
    Then I cancel the target order (ExitLongLimit on Line 13) by calling
    CancelOrder ("TLFdFixPrf") and the status of the cancel shown in Line 21

    Later on, I try to reset the stop target:
    Line 25: ExitLongLimit (0, True, 1, 1253.5, TLFdFixPrf, TLFdBnd)
    I got an error on Line 27 = 'There already is a matching, terminal exit order in place'

    I am not sure why I get an error on Line 27.
    Attached Files

    #2
    Hello,

    I am not sure. Try using TraceOrder = true; to debug it:


    I will have someone else take a look at this on Monday to see if they have any other advice for you.
    DenNinjaTrader Customer Service

    Comment


      #3
      The TraceOrder is set to true.

      Comment


        #4
        xewoox,

        Known issue. In the meantime please use this workaround, do not cancel the order if you intend to resubmit. Instead just modify it to a price that will not fill any time soon and modify it back down when you are ready to use it again.
        Josh P.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by cmoran13, Yesterday, 01:02 PM
        0 responses
        29 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        21 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        160 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        95 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        148 views
        2 likes
        Last Post CaptainJack  
        Working...
        X