Announcement
Collapse
Looking for a User App or Add-On built by the NinjaTrader community?
Visit NinjaTrader EcoSystem and our free User App Share!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
Have a question for the NinjaScript developer community? Open a new thread in our NinjaScript File Sharing Discussion Forum!
See more
See less
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.htmBertrandNinjaTrader Customer Service
-
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 cmtjoancolmenero, Yesterday, 03:58 PM
|
1 response
17 views
0 likes
|
Last Post Today, 06:16 AM | ||
Started by benmarkal, Yesterday, 12:52 PM
|
3 responses
23 views
0 likes
|
Last Post Today, 05:22 AM | ||
Started by helpwanted, Today, 03:06 AM
|
1 response
20 views
0 likes
|
Last Post Today, 03:35 AM | ||
Started by Brevo, Today, 01:45 AM
|
0 responses
11 views
0 likes
|
Last Post
by Brevo
Today, 01:45 AM
|
||
Started by pvincent, 06-23-2022, 12:53 PM
|
14 responses
244 views
0 likes
|
Last Post
by Nyman
Today, 12:47 AM
|
Comment