Validity of EA

 

Hi all, 


Not looking for handouts here, I'll be doing the hard work myself, just wanted to know if something is possible from someone with experience in MQL5 before I get started.

I'm looking to make a very simple EA that will take the sum of all my open positions, and then close all positions when a net Profit or Loss value is hit.

The reason for this is because I trade a portfolio style without any stops or profit, therefore large losses are often offset by large gains, but the net position can remain near zero.

Is this possible to code in MQL5 or will I need to look for an alternative solution.


Many thanks,

Daniel Lake

 
Of course, it's possible. Search "Swiss Army EA" in the CodeBase.