Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Various stop orders for one signal.

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

    Various stop orders for one signal.

    Hello,

    it seems there can only ever be one active stop for a signal?

    I want to do the following:

    * Have a trailing stop
    * AND have a stop loss number.

    Naturally only the upper of the two should be used.

    This is noramlly only an issue when the signal is opened - as my "stop loss" may be a lot tighter than the trailing stop to be used when the signal is accumulating a profit.

    It is, for me, also an issue with multiple signals. I have a strat that is supposed to use three exits. When the first two exit (static profit targets) I want the third one to not make a loss... so, even with a generous trailing stop, I want a static stop in place that protect a tiny profit.

    How can I do that?

    I have "SetTrailingStop" now, but when I set a manual Exit, it seems to kill the trailing stop.

    #2
    NetTecture, unfortunately you can't use SetStopLoss and SetTrailStop concurrently - http://www.ninjatrader-support.com/H...tStopLoss.html

    If you want a stoploss and trailing stop you would need to code this out yourself by changing the SetStopLoss value as needed -

    Comment


      #3
      Thanks.

      What about a Stop loss and a profit target? Can I set those at the same time?

      While we can argue that complex exit criteria are uncommon, a lot of systems use a stop loss and have a profit target at the same time

      Comment


        #4
        Sure you can use a Target and Stop at the same time, when using the Set() methods, those would be automatically OCO linked then.

        For other considerations, it might be helpful to review this link closely - http://www.ninjatrader-support.com/H...verview36.html

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by Geovanny Suaza, 02-11-2026, 06:32 PM
        0 responses
        633 views
        0 likes
        Last Post Geovanny Suaza  
        Started by Geovanny Suaza, 02-11-2026, 05:51 PM
        0 responses
        364 views
        1 like
        Last Post Geovanny Suaza  
        Started by Mindset, 02-09-2026, 11:44 AM
        0 responses
        105 views
        0 likes
        Last Post Mindset
        by Mindset
         
        Started by Geovanny Suaza, 02-02-2026, 12:30 PM
        0 responses
        567 views
        1 like
        Last Post Geovanny Suaza  
        Started by RFrosty, 01-28-2026, 06:49 PM
        0 responses
        568 views
        1 like
        Last Post RFrosty
        by RFrosty
         
        Working...
        X