Problem with EA(closed positions)
-
I have made an EA that only buys and an other one that only sells.When i attach the same EA(let s say the 'buyer') in two different charts and one opens firts an order,when the second one opens an order in its chart,both orders are closed immedietely.
What is wrong pls? -
I see you have "Close trades" blocks, so one of those is closing the trades. But if the problem is that trades from EA1 are closed by EA2 and EA2 should never touch those trades, then you have problems with the magic number. Take a look at this: https://fxdreema.com/tutorial/builder/groups-and-magic-numbers otherwise you can have the same exact EA with the same magic number working on 2 different charts without problems, but only if the Symbol names are different.
-
@fxdreema
thank you ONCE again!
you are so helpful!