Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Multiple OCO Orders - How to setup?

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

    Multiple OCO Orders - How to setup?

    Hello,

    I've been trying to figure out how to accomplish the following breakout order structure in NinjaTrader, any suggestions would be appreciated:

    Breakout strategy - assume we are talking about the Russell futures:

    Buy if market moves to 800 - with a time constraints as to when the order is active:

    OCO1 sell if market hits profit target of 805

    OCO2 sell double the position if a trailing stop is hit - taking the positions short

    OCO3 sell to close at the end of the day if neither of the above OCO's where triggered

    If the stop loss was hit then initiate the following:
    OCO1.1 buy if the market hits a profit target of short entry price less profit e.g. 795 less 5 profit points = 790
    OCO1.2 buy if the market reverses back up and hits a trailing stop, close for the day
    OCO1.3 buy to close at the end of the day if neither of the above OCO's where triggered

    This structure would then be matched to an opposite set of orders for the short side.

    Thanks,
    JDM

    #2
    JDM, it would be possible to code this out in NinjaScript, but unfortunately we aren't able to write code like this out for customers.

    This trade management would be too complicated to put into an ATM strategy.
    AustinNinjaTrader Customer Service

    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Segwin, 05-07-2018, 02:15 PM
    14 responses
    1,789 views
    0 likes
    Last Post aligator  
    Started by Jimmyk, 01-26-2018, 05:19 AM
    6 responses
    838 views
    0 likes
    Last Post emuns
    by emuns
     
    Started by jxs_xrj, 01-12-2020, 09:49 AM
    6 responses
    3,294 views
    1 like
    Last Post jgualdronc  
    Started by Touch-Ups, Today, 10:36 AM
    0 responses
    13 views
    0 likes
    Last Post Touch-Ups  
    Started by geddyisodin, 04-25-2024, 05:20 AM
    11 responses
    63 views
    0 likes
    Last Post halgo_boulder  
    Working...
    X