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

Individual StopLoss for multiple positions

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

    Individual StopLoss for multiple positions

    Hi,

    I am familiar with setting the stoploss to breakeven for the average position as described in the tips-section.

    However, I would like to handle the stoplosses separated for every single position, if I have multiple positions. It is fine to set the stoploss at the entry price (50 points below entryprice) but I have no idea how to alter the stoplosses because I do not know how to link events to a special position.

    Let's say I want to set stoploss to breakeven when the market rises 100 points.

    Start:
    Position1 Entryprice: 1000 initial S/L: 950
    Position2 Entryprice: 1025 initial S/L: 975
    Position3 Entryprice: 1050 initial S/L: 1000

    In the meantime the market rises to 1140 points, so the stops for Position 1 and 2 would be adjusted:
    Position 1 new stop: 1000
    Position 2 new stop: 1025
    Position 3 new stop: 1000 (no change)

    Any idea how I can handle this?

    Thanks very much!

    #2
    Hello Bernhard_mu,

    Thank you for your post and welcome to the NinjaTrader Forums!

    Yes, you would want to take a look at the following reference sample below on how to modify your stop loss and/or profit targets.
    http://www.ninjatrader.com/support/f...ead.php?t=3222

    Let me know if I can be of further assistance.
    Cal H.NinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by carnitron, Today, 08:42 PM
    0 responses
    6 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Today, 07:51 PM
    0 responses
    8 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,974 views
    3 likes
    Last Post jhudas88  
    Started by rbeckmann05, Today, 06:48 PM
    0 responses
    9 views
    0 likes
    Last Post rbeckmann05  
    Started by rhyminkevin, Today, 04:58 PM
    4 responses
    58 views
    0 likes
    Last Post dp8282
    by dp8282
     
    Working...
    X