Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

How to OCO bracket order in range breakout

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    How to OCO bracket order in range breakout

    Hi all,

    I have an ATM strategy set and I want to place two orders: one on the upper edge and one on the bottom edge of that range and I want use my pre-defined ATM strategy. I have chosen my ATM strategy, I right-click on the upper edge and choose "Buy Stop Market" and the first order is set. Now I right-click on the bottom edge and choose "Sell Stop Market" but Ninjatrader refuses that second order with the error message:

    You can't submit an exit order to a strategy until any of its entry orders has been filled.

    I then tried following: in ATM I did explicitly choose my ATM strategy but not the upper one which was already marked with the "lightning" symbol and indicated "active". By this I can put the second stop order on the bottom edge but --> whenever one order gets filled the other remains. My goal is that the second order automatically will be removed at the time the first order is filled. Simply said: One-cancels-other. It doesn't work however.

    How can this be accomplished? any help appreciated.
    Patricia

    EDIT: I think I've solved it I forgot to enable the OCO function before submitting the two orders. So the steps are:

    1) enable OCO-order by either right-clicking into the trading window or using CTRL-Z hotkey. This will enable and light up the green OCO button.
    2) selecting the desired ATM1 strategy and then place the 1st order
    3) re-selecting the desired ATM1 (not the active one which is indicated by a lightning!) and then place the 2nd order
    4) deactivate OCO function again so the green OCO-button will disappear

    Hope that's correct but it worked for me. Attached a few How-Tos related to this topic:

    https://www.youtube.com/watch?v=WRljOiyDaq4
    https://ninjatrader.com/blog/oco-why...-other-orders/
    Last edited by patricia70; 10-28-2020, 04:23 AM.

Latest Posts

Collapse

Topics Statistics Last Post
Started by Hyper, Today, 05:23 PM
0 responses
4 views
0 likes
Last Post Hyper
by Hyper
 
Started by ballboy11, Today, 05:20 PM
0 responses
4 views
0 likes
Last Post ballboy11  
Started by Hyper, Today, 03:02 PM
1 response
16 views
0 likes
Last Post NinjaTrader_ChrisL  
Started by aworldnervelink, Yesterday, 11:55 AM
7 responses
41 views
0 likes
Last Post NinjaTrader_Kate  
Started by PhilT, Today, 02:18 PM
4 responses
19 views
0 likes
Last Post PhilT
by PhilT
 
Working...
X