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
Comment