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 NullPointStrategies, Today, 05:17 AM
    0 responses
    52 views
    0 likes
    Last Post NullPointStrategies  
    Started by argusthome, 03-08-2026, 10:06 AM
    0 responses
    130 views
    0 likes
    Last Post argusthome  
    Started by NabilKhattabi, 03-06-2026, 11:18 AM
    0 responses
    70 views
    0 likes
    Last Post NabilKhattabi  
    Started by Deep42, 03-06-2026, 12:28 AM
    0 responses
    44 views
    0 likes
    Last Post Deep42
    by Deep42
     
    Started by TheRealMorford, 03-05-2026, 06:15 PM
    0 responses
    48 views
    0 likes
    Last Post TheRealMorford  
    Working...
    X