Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

Placing Dynamic Stop Order Entries with OCO Brackets

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

    Placing Dynamic Stop Order Entries with OCO Brackets

    Hello,

    I am wondering if there's a way to place dynamic stop orders (long/short) with OCO brackets attached. I am familiar with the strategy builder enter long / enter short functions, but usually those seem to be used for cases where you're entering at the open of a new candle.

    A very simple example to demonstrate my question:
    Let's say I'm using the Swing indicator, which basically just shows spots on the chart where a new swing point has been created (ie. highest or lowest point in the last x bars in either direction). In this example, I would want the strategy to create a Buy or Sell Stop order as soon as a new swing point is created. If price is consolidating into a wedge, the swing points would be moving closer together over time, so the strategy should be constantly shifting the Buy/Sell Stop Orders, say one tick above or below the most recent swing point. The basic idea is to have an order sitting out there, so that it gets hit at a certain price, rather than entering at the open of a new candle.

    On top of this, how can I specify these orders should be OCO orders, with maybe a single stop loss and profit target for simplicity.

    Thank you
    Last edited by beejinator; 07-29-2022, 11:43 AM.

    #2
    Hello beejinator,

    For entries to be OCO you have to use the unmanaged approach. There is a sample of a strategy with OCO entries here:



    Comment

    Latest Posts

    Collapse

    Topics Statistics Last Post
    Started by Mindset, 04-21-2026, 06:46 AM
    0 responses
    91 views
    0 likes
    Last Post Mindset
    by Mindset
     
    Started by M4ndoo, 04-20-2026, 05:21 PM
    0 responses
    137 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by M4ndoo, 04-19-2026, 05:54 PM
    0 responses
    68 views
    0 likes
    Last Post M4ndoo
    by M4ndoo
     
    Started by cmoran13, 04-16-2026, 01:02 PM
    0 responses
    121 views
    0 likes
    Last Post cmoran13  
    Started by PaulMohn, 04-10-2026, 11:11 AM
    0 responses
    72 views
    0 likes
    Last Post PaulMohn  
    Working...
    X