Hi MQL community,
When my EA closes a trade I want it to send me an email confirming if it was a winning or losing trade.
My problem is that it keeps sending multiple emails. I'm not sure if it's a problem with my code or a broader technical issue as
when I send the generic email "test", I sometimes receive multiple copies also. Can someone please help!
Please see journal entries and code below:
if( OrderMagicNumber() == MagicNumber)