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 CarlTrading, 03-31-2026, 09:41 PM
|
1 response
43 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
21 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
30 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
50 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
40 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment