• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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 digibob, Today, 03:45 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Jim  
    Started by waldoalvarez, Yesterday, 04:59 PM
    1 response
    15 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by jayfutures23, Today, 07:06 AM
    1 response
    12 views
    0 likes
    Last Post NinjaTrader_Melissa  
    Started by MojoJojo, Today, 05:59 AM
    3 responses
    11 views
    0 likes
    Last Post NinjaTrader_Jesse  
    Started by Spark68, Yesterday, 07:48 PM
    1 response
    19 views
    0 likes
    Last Post NinjaTrader_PaulH  
    Working...
    X