How can I after every buy close, close the last direct sell deal
-
How can I after every buy close, close the last direct sale deal? please
-
@khalids222 What do you exactly mean by 'direct sale'?
-
@l-andorrà
This example is the closest thing, but it doesn't work very well
When closing a profitable position, I want to close the most NEWEST position of the other party
https://fxdreema.com/shared/CS2RO4ofb -
@l-andorrà After closing a profitable trade, I want to close only one position from the second party, and it is only the newest one .
-
@khalids222 Disconnect blocks 2 and 3.
-
@l-andorrà Surprised by this advice, I think it has a big mistake.
Because if it is separated, it will close any position as soon as it open it .
and this is not what is required.
the required after closing the winning buy position, is the closing of the newest sell position .I think the closest correct example is this but it doesn't work well I don't know why
https://fxdreema.com/shared/mUZNTCWCc -
https://fxdreema.com/shared/qNMentjoc
What is the problem -
@khalids222 It is obvuous that a loop is required here, more specifically an array storing the value of all open trades right now. That means you need some custom code I cannot provide, sorry. Maybe some programmer here?
-
@l-andorrà said in How can I after every buy close, close the last direct sell deal:
It is obvuous that a loop is required here, more specifically an array storing the value of all open trades right now. That means you need some custom code I cannot provide, sorry. Maybe some programmer here?
in general, I thank you always You are the shining flame of this forum.
We are just closing simple, we haven't found a solution, are we gonna find a solution to an array.
I wish
