Help with an EA to offset -profit trades.

 
Hi, I'm a newby to MLQ4 and have not programmed in decades. I have an EA that can be quite profitable that does not use stops. As such it can sit for a while in minus profit trades. I would like an EA that selects those trades with a minus profit of selectable level, and if this trade is not currently protected (ie has offset trades in place) will open a selectable number of trades of the opposite type. The opposite trades would increase in profit as the first trade lost. I would either close the trades manually or close them with a stoploss or take profit. Thanks for any ideas. Rollerbob
 

"Hi, I'm a newby to MLQ4 and have not programmed in decades."

Well, here is a chance for you to get back in the saddle.

Reason: