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 SalmaTrader, 07-07-2026, 10:26 PM
    0 responses
    47 views
    0 likes
    Last Post SalmaTrader  
    Started by CarlTrading, 07-05-2026, 01:16 PM
    0 responses
    22 views
    0 likes
    Last Post CarlTrading  
    Started by CaptainJack, 06-17-2026, 10:32 AM
    0 responses
    15 views
    0 likes
    Last Post CaptainJack  
    Started by kinfxhk, 06-17-2026, 04:15 AM
    0 responses
    21 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Started by kinfxhk, 06-17-2026, 04:06 AM
    0 responses
    23 views
    0 likes
    Last Post kinfxhk
    by kinfxhk
     
    Working...
    X