help me use loop
-
I have 2 groups. there is a rule that : group 1 will be the condition to activate group 2 . When group 1 meets the condition, group 2 will enter an order. if group 1 and group 2 reach average profit, the positions will be closed. If there is a loss, the above rule will be repeated. I tried to create such an EA but when group 1 meets the condition, group 2 enters the trade continuously. what i want is group 2 to point to only one command , until group 1 repeats then group 2 to enter the next command . What should I do
-
share proyect