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 NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    49 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X