The problem is that if I add in a seconds value, if it doesn't get a tick that second I get no email, but in this configuration I get an email for every tick sometimes almost 100.
Can someone help me write this correctly so that I get only one email a day?
Allow the use of cookies to log in to the MQL5.com website.
Please enable the necessary setting in your browser, otherwise you will not be able to log in.
You are signed in. Two-factor authentication has been disabled. Set it up again and scan a new QR code, or continue with two-factor authentication disabled.
if (Hour()==23 && Minute()==00)
SendMail("DLMod1", "Account Balance is-"+DoubleToStr(AccountBalance(),2)+"_Account Equity is-"+DoubleToStr(AccountEquity(),2)+
"_Account Profit is-"+DoubleToStr(AccountProfit(),2)+"_Account Margin is-"+DoubleToStr(AccountMargin(),2)+
"_Account Free Margin is-"+DoubleToStr(AccountFreeMargin(),2));
The problem is that if I add in a seconds value, if it doesn't get a tick that second I get no email, but in this configuration I get an email for every tick sometimes almost 100.
Can someone help me write this correctly so that I get only one email a day?
Thanks for your help!