Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

StopLoss Total Position AND Trailing Stop?

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

    StopLoss Total Position AND Trailing Stop?

    I'm trying to setup my strategy in such a way that if price immediately turns around and goes against me 30 ticks, I will get stopped out. However I would also like a trailing stop loss of 45 ticks. But when I try to set up both in the "Stops and Targets" tab, upon execution of my strategy, I don't have a trailing stop. Instead I only have the one stop loss. Is it possible to have both or am I doing something wrong?

    #2
    Hello Fness2020,

    Thanks for your post.

    The SetStopLoss() and SetTrailStop() cannot be used on the same order and if you do, as you observed, only the fixed SetStopLoss would function. From the help guide, "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." https://ninjatrader.com/support/help...ttrailstop.htm

    You can create your own trailing stop in the strategy builder that does not use the SetTrailStop(). Please see this thread for an example this: https://ninjatrader.com/support/foru...rategy-builder

    Paul H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by CarpetHooligan, Yesterday, 05:49 PM
    0 responses
    15 views
    0 likes
    Last Post CarpetHooligan  
    Started by EquityTrader, Yesterday, 03:33 PM
    0 responses
    14 views
    0 likes
    Last Post EquityTrader  
    Started by ahelton, Yesterday, 11:53 AM
    2 responses
    41 views
    0 likes
    Last Post ahelton
    by ahelton
     
    Started by tonynt, Yesterday, 02:07 PM
    0 responses
    22 views
    0 likes
    Last Post tonynt
    by tonynt
     
    Started by sgordet, Yesterday, 01:57 PM
    0 responses
    20 views
    0 likes
    Last Post sgordet
    by sgordet
     
    Working...
    X