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 Trader146, Today, 09:17 PM
    0 responses
    2 views
    0 likes
    Last Post Trader146  
    Started by ttrader23, 05-08-2024, 09:04 AM
    9 responses
    43 views
    0 likes
    Last Post ttrader23  
    Started by ZeroKuhl, Yesterday, 04:31 PM
    8 responses
    44 views
    0 likes
    Last Post ZeroKuhl  
    Started by reynoldsn, Today, 07:04 PM
    0 responses
    8 views
    0 likes
    Last Post reynoldsn  
    Started by puapwr, Today, 06:09 PM
    0 responses
    4 views
    0 likes
    Last Post puapwr
    by puapwr
     
    Working...
    X