compare the pending orders
-
How can I compare the pending orders?
For example, if the distance between two orders becomes a certain amount, then do something
And also, if the distance of one of the orders from the current price becomes a certain amount, then it will do something... -
What do you mean becomes, do you mean is placed?
-
@jstap
I am looking for a condition that adds a pending order "every time" the nearest order moves a certain distance from the current price.
Currently, these orders are added many times
I want the condition to be added the next time "again" is spaced.
Thanks for your advice

-
Orders do not move unless you move them, do you mean price? Add a shared link and say what blocks you are struggling with. And light pink blocks, should have a dark pink above.
-
@jstap
When the distance of the nearest sell position or the nearest sell stop order reaches a certain size (for example, 100 pips), open a certain number of pending sell orders (do this only once).
For the next time, it should re-check this condition again to new orders and positions.I tested this scenario with different blocks and did not get the result, or it does this regularly and in every tick and registers a large number of orders.
Or it succeeds in doing this only once and I don't know how to record this automatically for the next timeshared/VH2hI7RU
-
Effectively you have 3 or 4 trees that would be better separated, because generally a block connected to one above, relies on that blocks action to do something, disconnect things, test 1 section at a time, and then you will know what tree is causing trouble