How to place an order based on an existing order ?
-
Good weekend everyone.
I tried to construct a tracking based ordering system, but I don't know how to operate it to lock orders.
Its idea is as follows:
- At the beginning, sell or buy order, I call it order number 1
2.Based on the order number 1, both sell limit and buy limit orders at same time. If one pending order is trade, delete the other one. This is called Order number2 (I don't know how to achieve this step, place an order based on the existing order)
3.Based on the order number 2, repeat the process of step 2(I don't know how to achieve this step, which is a repetitive operation)
Thanks ahead for your answers!
-
on trade tab, order position created (purple block), use groups to distinguish between pending, and instant, buy/sell block beneath.
-
@jstap How to cycle this process?
-
Set it up, add a shared link if not working.
-
@fo
rexking123
Have you ever checked out "OCO order" in pending orders ? may be help -
@jstap https://fxdreema.com/shared/iWRdy0Aue

At the beginning, I used OCO orders to solve the initial order, and after the transaction, I successfully placed two orders according to the conditions. Numbers 1-8 illustrate all of this.
But after number8,limit trade at 1.0580 , I hope it can continue to place two new orders (sell limit 1.0600+sell stop 1.0560)according to the conditions in order to achieve a circular order. But this step it stopped working. -
@firooz thanks ,its useful to me .
-
@forexking123
No mention it