Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to automatically create orders

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

    How to automatically create orders

    Instead of having to create orders automatically, is there a way that I could have additional limit or market orders created automatically once I enter a trade? For example, I enter a long position with 1 contract at 20000 in NQ. What I would like to have happen is then have two or more buy limit or market orders placed for set numbers of contracts at set intervals below the initial entry, say 100 ticks apart as an example. I would also want to have the stop set automatically and have the stop automatically increment the number of contracts as the orders are filled. How could I accomplish this?

    Another variation could be some mechanism for placing all of the trades at the same time. Then, I could adjust them by hand as needed, but I think I would prefer the first option.​

    #2
    Hello richard_w,

    Thank you for your post.

    You can use OnOrderUpdate() and OnExecutionUpdate() to monitor when your entry order is filled and automatically submit additional protective orders.

    We have an existing sample script which demonstrates this concept:



    Please let us know if you have any further questions.

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by NullPointStrategies, Yesterday, 05:17 AM
    0 responses
    59 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    134 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    74 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    45 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    50 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X