EA to close positions after profit/loss hit

 

Does such an EA exist? I've seen scripts that close open positions but I've never seen an EA that will close all positions when total profit/loss hits a user defined target.

 
james2ko:
Does such an EA exist? I've seen scripts that close open positions but I've never seen an EA that will close all positions when total profit/loss hits a user defined target.

I don't know if you still need help on this one, but I have made an EA with just such a problem in mind:

https://www.mql5.com/en/forum/176995

Reason: