Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Entering stop loss individual positions

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

    Entering stop loss individual positions

    Hello,
    I want to modify my automated strategy so that it does the following.

    Enter two long ES positions both at an initial stop loss of 9 points.

    If the market goes higher by 9 points, I want the first position to continue to have 9 points of stop loss, but want the second position's to stop loss to move to 5 points above my enter prices.

    Is it possible to do so? I am trying to have different stop losses for the different contracts that I am trading as a part of the same trade.

    Very much appreciate your help in advance,
    Thanks!

    #2
    Hello pandyav,

    Thank you for your note.

    Yes, you would need to use two separate SetStopLoss() with unique signal names for both entry orders and the StopLoss order but you can modify them in the OnBarUpdate method with the sample below -
    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 burtoninlondon, Today, 12:38 AM
    0 responses
    10 views
    0 likes
    Last Post burtoninlondon  
    Started by AaronKoRn, Yesterday, 09:49 PM
    0 responses
    14 views
    0 likes
    Last Post AaronKoRn  
    Started by carnitron, Yesterday, 08:42 PM
    0 responses
    11 views
    0 likes
    Last Post carnitron  
    Started by strategist007, Yesterday, 07:51 PM
    0 responses
    14 views
    0 likes
    Last Post strategist007  
    Started by StockTrader88, 03-06-2021, 08:58 AM
    44 responses
    3,983 views
    3 likes
    Last Post jhudas88  
    Working...
    X