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 proptrade13, Today, 11:06 AM
    1 response
    5 views
    0 likes
    Last Post NinjaTrader_Clayton  
    Started by quantismo, 04-17-2024, 05:13 PM
    4 responses
    32 views
    0 likes
    Last Post quantismo  
    Started by love2code2trade, 04-17-2024, 01:45 PM
    4 responses
    32 views
    0 likes
    Last Post love2code2trade  
    Started by cls71, Today, 04:45 AM
    2 responses
    10 views
    0 likes
    Last Post eDanny
    by eDanny
     
    Started by kulwinder73, Today, 10:31 AM
    1 response
    10 views
    0 likes
    Last Post NinjaTrader_Erick  
    Working...
    X