EA able to close/freeze trades of mql5 signals

 

Hi guys.

I subscribed to a mql5 signal on mt4 and trades are being copied to my platform everyday, and I need an EA able to do some simple management on running trades.

The most important function expected from my subject EA is to close trades on a specific pip loss, and this loss edge needs to be specified by trader as input variable.

But there is also one concern. If I close an open trade which is copied by signal service, it immediately will be opened again since the signal provider has not closed it yet. So I can't stop losses.

So I also need the EA to freeze any further trades being copied to my mt4 for a few hours, after it closes a position at a particular loss.

Is there any idea how I can make it?

Thanksss. 

Reason: