How can I do this Formula ?
-

-
@delibalta I think there is no easy answer. Will there be only 2 trades or could there be more? How to identify which of those you need to substract?
Usually you a mql developer would create an array of all open orders and then use the array index to find the orders.
With fxdreema that would require custom mql code. I f you want to do so with fxdreema blocks only, you need to specify how those trades could be identified. -
@trader-philipps I need last two open orders distance...
-
@delibalta Maybe not the best approach but it might give you an idea.

-
@trader-philipps Thanks for your interest...