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 CarlTrading, 03-31-2026, 09:41 PM
    1 response
    67 views
    0 likes
    Last Post NinjaTrader_ChelseaB  
    Started by CarlTrading, 04-01-2026, 02:41 AM
    0 responses
    36 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 03-31-2026, 11:44 PM
    0 responses
    59 views
    1 like
    Last Post CaptainJack  
    Started by CarlTrading, 03-30-2026, 11:51 AM
    0 responses
    62 views
    0 likes
    Last Post CarlTrading  
    Started by CarlTrading, 03-30-2026, 11:48 AM
    0 responses
    53 views
    0 likes
    Last Post CarlTrading  
    Working...
    X