• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

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.

    https://ninjatrader.com/support/help...d_approach.htm

    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.
    https://ninjatrader.com/support/help...a_position.htm

    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.
    Chris L.NinjaTrader Customer Service

    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 NinjaCustomer, Today, 01:01 AM
      0 responses
      1 view
      0 likes
      Last Post NinjaCustomer  
      Started by mohdqallaf, Today, 12:55 AM
      0 responses
      2 views
      0 likes
      Last Post mohdqallaf  
      Started by dvcpro4, Yesterday, 07:08 PM
      2 responses
      24 views
      0 likes
      Last Post NT-Roland  
      Started by chrismcdermut, Yesterday, 01:46 PM
      3 responses
      19 views
      0 likes
      Last Post MojoJojo  
      Started by Bricolico, Yesterday, 09:28 PM
      0 responses
      5 views
      0 likes
      Last Post Bricolico  
      Working...
      X