Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

The best way to implement staggered exit

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

    The best way to implement staggered exit

    Greetings,

    What is the best way in NinjaTrader to implement staggered exits?

    For example, I enter position with 3 contract lots and the exit should be:
    1) first contract exits at X1 ticks profit target
    2) 2nd contract exits at X2 ticks profit target
    3) The last goes until some condition is true

    I know it is not a pure staggered exit but would appreciate your thoughts. May be NT has a native support for at least 1) and 2)

    Thank you!

    #2
    Hello,

    Thanks for the forum post.

    Yes you can do this in strategies with this sample code:



    So you would use this sample and call EnterLong("1"); EnterLong("2");, now you can separate out the exit conditions for each leg in strategy.

    Let me know if I can be of further assistance.
    BrettNinjaTrader Product Management

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by charlesugo_1, 05-26-2026, 05:03 PM
    0 responses
    60 views
    0 likes
    Last Post charlesugo_1  
    Started by DannyP96, 05-18-2026, 02:38 PM
    1 response
    145 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 05-11-2026, 05:56 AM
    0 responses
    161 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 05-10-2026, 08:12 PM
    0 responses
    97 views
    0 likes
    Last Post CarlTrading  
    Started by Hwop38, 05-04-2026, 07:02 PM
    0 responses
    283 views
    0 likes
    Last Post Hwop38
    by Hwop38
     
    Working...
    X