Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Ninjascript Strategy with multiple orders

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

    Ninjascript Strategy with multiple orders

    Is it possible open multiple positions and keep track of them invdividually and exit from only specific positions?

    #2
    Hello dimarr,

    Thanks for your notes.

    Scaling into or out of a position is controlled with the signal names of your strategy, and properties EntryHandling and EntriesPerDirection. This reference sample can help with scaling in and out of a strategy.

    https://ninjatrader.com/support/helpGuides/nt8/en-us/scaling_out_of_a_position.htm

    This sample can assist further with managing multiple exit/entry signals:
    https://ninjatrader.com/support/helpGuides/nt8/en-us/using_multiple_entry_exit_sign.htm

    Note that NinjaTrader uses First In First Out (FIFO) for managing orders. This means that if you were to place 3 separate entry orders, once an exit was hit to exit say 1 position, the first order placed would be the order that is exited.

    See this help guide page for more information about FIFO: https://ninjatrader.com/support/help...ion.htm​
    <span class="name">Brandon H.</span><span class="title">NinjaTrader Customer Service</span><iframe name="sig" id="sigFrame" src="/support/forum/core/clientscript/Signature/signature.php" frameborder="0" border="0" cellspacing="0" style="border-style: none;width: 100%; height: 120px;"></iframe>

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    88 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    134 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    119 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X