Announcement

Collapse

Looking for a User App or Add-On built by the NinjaTrader community?

Visit NinjaTrader EcoSystem and our free User App Share!

Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less

Partner 728x90

Collapse

Setting Mas Stop Loss when using TrailStop

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

    Setting Mas Stop Loss when using TrailStop

    I'm using a TrailStop but want to set a maximum stop loss as well independent of the trailstop. If is use SetStopLoss however this overrides the trailstop. How can I set a maximum loss?

    #2
    Depending on your goals there are a couple different ways to approach this.

    If you're looking to set the stop at the start at the max and then trail it based on the bars that follow you can use SetTrailStop() and not have to worry about using SetStopLoss()

    If you want more specific trailing management you would have to either only use SetStopLoss() to adjust the stop as needed or do this through advanced order handling.



    A good example of managing orders: http://www.ninjatrader.com/support/f...ead.php?t=7499

    Let me know if I can be of further assistance.
    LanceNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by cutzpr, Today, 08:54 AM
    0 responses
    4 views
    0 likes
    Last Post cutzpr
    by cutzpr
     
    Started by benmarkal, Today, 08:44 AM
    0 responses
    4 views
    0 likes
    Last Post benmarkal  
    Started by Tin34, Today, 03:30 AM
    2 responses
    26 views
    0 likes
    Last Post Tin34
    by Tin34
     
    Started by sastrades, Yesterday, 09:59 AM
    2 responses
    38 views
    0 likes
    Last Post brucerobinson  
    Started by ETFVoyageur, Today, 12:52 AM
    1 response
    21 views
    0 likes
    Last Post Leeroy_Jenkins  
    Working...
    X