Classify trades 1:1 (opposite)
-
Good day. I have a problem, yesterday I got structure a EA to make the opposite. Ex: if i buy, EA sell, if the buy was closed, then EA close sell.
But now i don't get how classify the trades got 1:1. I mean, each trade received, be followed (on opposite) for the ea, if was open and close.Because My problem is that when there are many trades open and just one is closed (manually), EA close all trades that it open... And that is a Big mistake:'(
Thank u

-
Another problem is when I put on group mode : all (manually and automated trades), there are a big bug haha (if ea open one trade, then it creates infinite trades)...
-
@uriel-0 If I understand correctly, you want to open several trades manually and, as soon as one of them is closed, a new one in the opposote direction should be open. Is that correct?
-
@l-andorrà hello. Is not, is more like a trade copier but opposite
-
@uriel-0 Then I'm afraid I don't get it. Could you please provide a numeric example?