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 charlesugo_1, 05-26-2026, 05:03 PM
        0 responses
        52 views
        0 likes
        Last Post charlesugo_1  
        Started by DannyP96, 05-18-2026, 02:38 PM
        1 response
        142 views
        0 likes
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 05-11-2026, 05:56 AM
        0 responses
        160 views
        0 likes
        Last Post CarlTrading  
        Started by CarlTrading, 05-10-2026, 08:12 PM
        0 responses
        96 views
        0 likes
        Last Post CarlTrading  
        Started by Hwop38, 05-04-2026, 07:02 PM
        0 responses
        275 views
        0 likes
        Last Post Hwop38
        by Hwop38
         
        Working...
        X