close one group of trades after profit reached
-
Hello guys, i wanna create an ea that opens 2 groups of trades :
First group: 1 lot buy AUDCAD, 1 lot buy EURAUD, 1 lot sell EURCAD.
Second group: 1 lot sell audcad, 1 lot sell EURAUD, 1 lot buy EURCAD.
When one of the two groups has a profit of 16.50 euros, close all 3 operations and start a new clicle.
Can you help me? -
@Rolexguy You can do exactly that. Group 1 trades will include the buys and group 2 the sells. Then you can do this for group 1 profit, for example;

Then you need to do the same for group 2 separately.
-
@l-andorrà Thank you so much! But i don't understand why doesn't open trades, could you check? https://fxdreema.com/shared/atTfFSk7d
-
Because you positions all blocks on the 'on init' tab. They need to be positioned on the 'on tick' tab.