Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Why the Stops are not being honored?

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

    Why the Stops are not being honored?

    I'm running the strategy and setted a StopLoss of 10 ticks and also a stop when the price crosses below the SAR again, but is only being stopped when the price crosses the SAR and the Stop of 10 ticks don't, how can I fix that?

    Thank you in advance

    #2
    Hello jeremy83846,

    This depends on the code logic in the strategy.

    If you are submitting market orders when either exit condition is true, I would expect the logic and the market order to exit on either condition.

    If you are attempting to use SetStopLoss, there will only be one stop loss per order / signal name.

    If you are using Exit methods, its not advised to use multiple exit orders on the same entry. Instead, the first exit order should be cancelled before a different exit order is submitted. (This would prevent both orders from filling and reversing the position)

    If you are using the unmanaged approach, the entries and multiple exits could be using OCO which should be fine.
    Chelsea B.NinjaTrader Customer Service

    Comment


      #3
      There are the conditions

      Comment


        #4
        Hello jeremy83846,

        It general it is not advised to use multiple exits for the same entry.

        However, are you finding that the condition to exit is evaluating as true?

        Use prints to ensure that condition set 2 is evaluating as true.

        Below is a link to a forum post that demonstrates using prints to understand behavior.


        If you print the time stamp in the action block of Set to, at what times do you see the prints appear?
        Chelsea B.NinjaTrader Customer Service

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        556 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        324 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        101 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        545 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        547 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X