How to close a loop
-
Hi, friends
I have developed an EA that check for long positions and then the "for each buy position" loop, checks for any buy position and then adds more buys after 3 bars. I want to close the loop once the total number of buy positions is 45 max.
-
@eaproz here is the project link shared/6AROKeqfe
-
@eaproz Add the check positions block above:

-
@jstap thank you , let me try