Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple EnterLimit

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

    Multiple EnterLimit

    Hi,

    I would like to ask if is possible to have open more position in one time.

    For eg:

    Open long on 1.3440
    Open long on 1.3450

    I need open 2nd order when first wasn't filled yet.

    Is this possible please if yes can you move to right way how to do it?

    #2
    Hello patriczek,

    Thanks for the post.

    You would need to use one of the limit/stop order entry methods that takes a signal name and assign your orders to Order objects.



    The OnOrderUpdate method help guide page shows how to set up a class level order object and initialize it in OnOrderUpdate. From that, you can manage what orders are exited at a particular time.

    This reference sample is somewhat related, it shows how you would scale out of a position.


    A brief example of how to submit long limit orders:

    OnBarUpdate()
    {
    //...
    if(condition)
    {
    EnterLongLimit(1234, "LongLimit1");
    EnterLongLimit(1236, "LongLimit2")
    }
    //...

    }

    Please let me know if I may be of any further assistance.

    Comment


      #3
      Thank you so much for your help,

      this helped me, but also i had to change properties

      EntriesPerDirection and EntryHandling for allowing multiple order in same direction.

      Comment

      Latest Posts

      Collapse

      Topics Statistics Last Post
      Started by CarlTrading, 03-31-2026, 09:41 PM
      1 response
      41 views
      0 likes
      Last Post NinjaTrader_ChelseaB  
      Started by CarlTrading, 04-01-2026, 02:41 AM
      0 responses
      20 views
      0 likes
      Last Post CarlTrading  
      Started by CaptainJack, 03-31-2026, 11:44 PM
      0 responses
      28 views
      1 like
      Last Post CaptainJack  
      Started by CarlTrading, 03-30-2026, 11:51 AM
      0 responses
      45 views
      0 likes
      Last Post CarlTrading  
      Started by CarlTrading, 03-30-2026, 11:48 AM
      0 responses
      37 views
      0 likes
      Last Post CarlTrading  
      Working...
      X