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.
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
How to automatically create orders
Collapse
X
-
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.Tags: None
-
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.
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by NullPointStrategies, Today, 05:17 AM
|
0 responses
52 views
0 likes
|
Last Post
|
||
|
Started by argusthome, 03-08-2026, 10:06 AM
|
0 responses
130 views
0 likes
|
Last Post
by argusthome
03-08-2026, 10:06 AM
|
||
|
Started by NabilKhattabi, 03-06-2026, 11:18 AM
|
0 responses
70 views
0 likes
|
Last Post
|
||
|
Started by Deep42, 03-06-2026, 12:28 AM
|
0 responses
44 views
0 likes
|
Last Post
by Deep42
03-06-2026, 12:28 AM
|
||
|
Started by TheRealMorford, 03-05-2026, 06:15 PM
|
0 responses
49 views
0 likes
|
Last Post
|

Comment