I found this little script very usefull for those of us spending a lot of hours at the LCD ;)You need your POP3 mail account configured at Tools > Email.Also an email account with SMS notification service (you get SMS when new email comes).Here goes the code: extern double alert_up = 0;
extern double alert_down = 0;
int start()
{
int digits=MarketInfo(Symbol(),MODE_DIGITS);
if ( alert_up > 0 )
{
if ( Bid >= alert_up )
{
SendMail( Symbol()+" UP "+NormalizeDouble(alert_up,digits), ".");
alert_up = 0;
}
}
if ( alert_down > 0 )
{
if ( Bid <= alert_down )
{
SendMail( Symbol()+" DOWN "+NormalizeDouble(alert_down,digits), ".");
alert_down = 0;
}
}
return(0);
} Have fun! ;)