Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Trailing Stop is not working --> all Trades Break Even

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

    Trailing Stop is not working --> all Trades Break Even

    Hi ,

    if I set the trailing stop in the Strategy Builder, it still ends the trades in break even.
    How can I make it accept the trailing stop if I set the normal stop to 0?

    Best Regards

    #2
    Hello Yannick,

    Thanks for your post..

    You are using both a fixed stop (SetStopLoss) and a trailing stop (SetTrailStop), the trailing stop is ignored when there is a fixed stop. To use a trailing stop you would have to remove thee SetStopLoss().

    From the help guide of SetTrailStop: The SetTrailStop() method can NOT be used concurrently with the SetStopLoss() or SetParabolicStop() 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. Reference: https://ninjatrader.com/support/help...ttrailstop.htm
    Last edited by NinjaTrader_PaulH; 02-07-2020, 07:04 AM. Reason: changed first line

    Comment


      #3
      " ou can however, use all three methods in the same strategy if they reference different signal names. Reference: "
      ( I read it through, but unfortunately there is no example of the Strategy Builder )

      Do I have to unlock the code or can I do that in the Strtaegy Builder? Can you maybe post me a screenshot / example?

      Comment


        #4
        Hello Yannick,

        You would not be able to use both set methods on the same order. The help guide is advising, indirectly, that if for example, you place two orders at the same time and each has a unique signal name, you can use a fixed stop on one by using the signal name of one entry and you can use a trailing stop on the other entry by using the other signal name, so the net result is 2 separate orders, one with a fixed stop and one with a trailing stop.

        I've attached an example of a set that would place two entries, each with a unique signal name, and an example of the stops and targets that show a fixed stop and a trail stop tied to the entries by the signal name.

        Click image for larger version

Name:	Yannick-2.PNG
Views:	434
Size:	16.0 KB
ID:	1086450

        Click image for larger version

Name:	Yannick-3.PNG
Views:	401
Size:	12.7 KB
ID:	1086451

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by NullPointStrategies, Yesterday, 05:17 AM
        0 responses
        62 views
        0 likes
        Last Post NullPointStrategies  
        Started by argusthome, 03-08-2026, 10:06 AM
        0 responses
        134 views
        0 likes
        Last Post argusthome  
        Started by NabilKhattabi, 03-06-2026, 11:18 AM
        0 responses
        75 views
        0 likes
        Last Post NabilKhattabi  
        Started by Deep42, 03-06-2026, 12:28 AM
        0 responses
        45 views
        0 likes
        Last Post Deep42
        by Deep42
         
        Started by TheRealMorford, 03-05-2026, 06:15 PM
        0 responses
        50 views
        0 likes
        Last Post TheRealMorford  
        Working...
        X