I created two different uniq orders and marked ordersperdireciton to 2 and sometimes I get one order hanging... I think its an issue with quanity. I was looking for a good example
Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
Example of opening 2 orders and leaving one runner
Collapse
X
-
Example of opening 2 orders and leaving one runner
Hi i was wondering if we have an example of how to submit 2 orders for example in strategy and leave one as a runner?
I created two different uniq orders and marked ordersperdireciton to 2 and sometimes I get one order hanging... I think its an issue with quanity. I was looking for a good exampleTags: None
-
Hello tkaboris,
Without more specific details I would not be able to say why that may have happened.
To have targets for each entry you would need to use unique signal names so you have unique targets for each entry.
There is not a specific sample that I can suggest that shows entering multiple orders and leaving one running, you can see the documentation for EntriesPerDirection and EntryHandling which give general guidelines on how to place orders in the same direction.
Comment
-
HI it happened again in live market, and it doesnt happen in market replay.
I attach trace and log portion where it opened 2 sell orders at 11:04
I have two limit orders, one hits and when first limit order hits, second order moves to break even. For some reason if i remember when order moves to breakeven it held 2 orders instead of one.
I was wondering if you have a minute to see if there is anything that jumps at you for the error?Attached Files
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
by Mindset
04-21-2026, 06:46 AM
|
||
|
Started by M4ndoo, 04-20-2026, 05:21 PM
|
0 responses
132 views
0 likes
|
Last Post
by M4ndoo
04-20-2026, 05:21 PM
|
||
|
Started by M4ndoo, 04-19-2026, 05:54 PM
|
0 responses
68 views
0 likes
|
Last Post
by M4ndoo
04-19-2026, 05:54 PM
|
||
|
Started by cmoran13, 04-16-2026, 01:02 PM
|
0 responses
118 views
0 likes
|
Last Post
by cmoran13
04-16-2026, 01:02 PM
|
||
|
Started by PaulMohn, 04-10-2026, 11:11 AM
|
0 responses
67 views
0 likes
|
Last Post
by PaulMohn
04-10-2026, 11:11 AM
|

Comment