Please help to code this in my EA.

 

. How to stop trading after profit made for the current day?



Hi.

I have a problem. I will code an EA.

When a Profit of 20 PIP of the day is taken so the EA should not open any order until the next day.

Please help me.


Thanks

tordi.


Reason: