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 Mindset, 04-21-2026, 06:46 AM
    0 responses
    87 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    128 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    65 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    117 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    67 views
    0 likes
    Last Post PaulMohn  
    Working...
    X