Are the EMAIL ALERTS WORKING from the Experts?

 
If they are can somebody send me a simple WORKING expert (or post a link here) that will send an email alert to my PC so that I can see if this function is working on my PC.


Many thanks.
 
This sends a daily email when the hour is = to 2

You need to set up your email address in the Tools / Options / Email tab.
You can also test from there....


int start()
{
static int flag;

if (flag ==0)
if ( Hour()==2)
{
SendMail(" Daily Alert "," PROFIT:$" +DoubleToStr(AccountProfit(),2)
+ " BALANCE:$" +DoubleToStr(AccountBalance(),2)
+ " BID:" +DoubleToStr(Bid,4)
+ " OPEN:" +DoubleToStr(Open[0], 4)
+ " LOW:" +DoubleToStr(Low[0],4)
+ " HIGH:" +DoubleToStr(High[0],4)
);

flag = 1 ;

Print(" Daily Email Alert Sent ");

}

if ( Hour()==3 )
{flag = 0;}

return(0);
}
//+-----------------
 
This sends a daily email when the hour is = to 2

You need to set up your email address in the Tools / Options / Email tab.
You can also test from there....


int start()
{
static int flag;

if (flag ==0)
if ( Hour()==2)
{
SendMail(" Daily Alert "," PROFIT:$" +DoubleToStr(AccountProfit(),2)
+ " BALANCE:$" +DoubleToStr(AccountBalance(),2)
+ " BID:" +DoubleToStr(Bid,4)
+ " OPEN:" +DoubleToStr(Open[0], 4)
+ " LOW:" +DoubleToStr(Low[0],4)
+ " HIGH:" +DoubleToStr(High[0],4)
);

flag = 1 ;

Print(" Daily Email Alert Sent ");

}

if ( Hour()==3 )
{flag = 0;}

return(0);
}
//+-----------------





mpfx

Thank you so much. That worked beautifully!

Leigh.
Reason: