Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Stop Loss Rule not being followed

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

    Stop Loss Rule not being followed

    As the title states, I have a strategy that is having some issues with following defined stop losses. For about 80% of the trades, the stop loss is respected ($500 loss). But for a small percentage, some of the losses realized are $2-3k, despite having a stop loss rule in effect, and a trailing stop.

    I have stops set in both Conditions and Actions, as well as stops and targets. Here is an album of screenshots of the conditions: https://imgur.com/a/MIjyiHh

    And here are some of the losses: https://imgur.com/a/9be3UNZ

    When I look at the chart for each trade in those big losers, the strategy stays in the trade WAY past a stop. The position will have lost $2,000 before it exits, despite there being 200 other trades that stop out appropriately (here is the biggest loser: https://imgur.com/a/771rxIo). Clearly it should have stopped, but it didn't.

    Any ideas of how to clean up a stop so that no matter what, if a position is less than $x in the red, it exits?

    #2
    Hello CactusMan,

    Welcome to the NinjaTrader forums!

    First, I notice you are trying to use both parabolic stop and a regular stop at the same time and you are not using signal names or from entry signals.

    From the help guide:
    "The SetParabolicStop() method can NOT be used concurrently with the SetStopLoss() or SetTrailStop() method for the same position, if any of methods are called for the same position (fromEntrySignal) the SetStopLoss() will always take precedence. You can however, use all three methods in the same strategy if they reference different signal names."


    Next, enable TraceOrders to see when orders are being submitted and the price they are submitted at. Use a print to print the time of the bar and the position averageprice.
    Below is a link to a forum post that demonstrates using prints to understand behavior and discusses enabling TraceOrders.


    Which stop or exit was submitted?
    What was the stop price of the stop order?
    What was the position average price?
    Chelsea B.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Today, 05:17 AM
    0 responses
    39 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    124 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    64 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    41 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    46 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X