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 NullPointStrategies, Yesterday, 05:17 AM
      0 responses
      53 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