Stop trading for Month if profit is made?

 

Can anyone help please.

I need EA to stop trading if a trade makes a profit for that month. It should stop trading for that month only, then when the next month arrives, it will start to trade again.

I have used timeMonth etc but to no success. It seems to just stop trading all together, not just for the month.

Any help appreciated.