Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
two opposing entry limit orders?
Collapse
X
-
Hi j, I want to set two simultaneous orders in my system. One long order will be filled if High of the day is broken and one short will be filled if the low of the day is broken. So if the high is broken first the short order should be canceld and vice versa. Then after this order is placed i want to put a stop at low-1tic and at the same time if that stop is hit i want to reverse my order at that point (guess that would be a OCO order). As i understand this has to be done with unmangaed orders and im not sure how to manage them and trac them as i want to be able to have more then one possition open at a time in my strategy.
-
zwoop, correct for placing those entry orders as OCO bracket you would need to use NT7's unmanaged approach, so you don't run into the order handling rules. However with going 'unmanaged' there's no order tracking by NinjaTrader done, so you would need to capture / store IOrder references yourself for this.
To simplify you also could work in the managed submission scheme and only place one needed order for the bracket by monitoring the last price in reference to your entry points and then issuing / canceling orders as needed.
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by CarlTrading, 03-31-2026, 09:41 PM
|
1 response
65 views
0 likes
|
Last Post
|
||
|
Started by CarlTrading, 04-01-2026, 02:41 AM
|
0 responses
35 views
0 likes
|
Last Post
by CarlTrading
04-01-2026, 02:41 AM
|
||
|
Started by CaptainJack, 03-31-2026, 11:44 PM
|
0 responses
59 views
1 like
|
Last Post
by CaptainJack
03-31-2026, 11:44 PM
|
||
|
Started by CarlTrading, 03-30-2026, 11:51 AM
|
0 responses
62 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:51 AM
|
||
|
Started by CarlTrading, 03-30-2026, 11:48 AM
|
0 responses
51 views
0 likes
|
Last Post
by CarlTrading
03-30-2026, 11:48 AM
|

Comment