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 cmoran13, Yesterday, 01:02 PM
        0 responses
        30 views
        0 likes
        Last Post cmoran13  
        Started by PaulMohn, 04-10-2026, 11:11 AM
        0 responses
        22 views
        0 likes
        Last Post PaulMohn  
        Started by CarlTrading, 03-31-2026, 09:41 PM
        1 response
        160 views
        1 like
        Last Post NinjaTrader_ChelseaB  
        Started by CarlTrading, 04-01-2026, 02:41 AM
        0 responses
        95 views
        1 like
        Last Post CarlTrading  
        Started by CaptainJack, 03-31-2026, 11:44 PM
        0 responses
        148 views
        2 likes
        Last Post CaptainJack  
        Working...
        X