Announcement
Collapse
No announcement yet.
Partner 728x90
Collapse
NinjaTrader
OCO order?
Collapse
X
-
OCO order?
Hello my question is about a bracket OCO order. I want to set one order to cancel only after a certain condition is met on the other open order. For example if im trading Forex. I set buy and sell entry points at 60 and 30. I enter buy at 60 but dont want the other sell order to cancel until I reach price of 75. How would i go about setting this up? thanks in advanceTags: None
-
Camron, you could set this up in unmanaged order submission approach, the SubmitOrder methods offer an inbuild OCO tag, however for your task you would then want to provide the OCO cancel logic in your code yourself so you can monitor price for your cancellation condition and then send the CancelOrder() for part of the bracket - http://www.ninjatrader.com/support/h...d_approach.htm
-
Hello,
Yes, you would set this up through your NinjaScript Strategy.
You can find more information on the unmanged order methods from the following link.
Getting Started with Unmanaged Order Methods
Please note that these order methods have been reserved for more experienced programmers as it does require to program your order handling rules:MatthewNinjaTrader Product Management
Comment
Latest Posts
Collapse
| Topics | Statistics | Last Post | ||
|---|---|---|---|---|
|
Started by Geovanny Suaza, 02-11-2026, 06:32 PM
|
0 responses
574 views
0 likes
|
Last Post
|
||
|
Started by Geovanny Suaza, 02-11-2026, 05:51 PM
|
0 responses
332 views
1 like
|
Last Post
|
||
|
Started by Mindset, 02-09-2026, 11:44 AM
|
0 responses
101 views
0 likes
|
Last Post
by Mindset
02-09-2026, 11:44 AM
|
||
|
Started by Geovanny Suaza, 02-02-2026, 12:30 PM
|
0 responses
553 views
1 like
|
Last Post
|
||
|
Started by RFrosty, 01-28-2026, 06:49 PM
|
0 responses
551 views
1 like
|
Last Post
by RFrosty
01-28-2026, 06:49 PM
|

Comment