"Everybody needs money. That's why they call it money" - Danny De Vito
| Thread Tools | Search this Thread |
| |
alert e-mail. 11 replies
E-mail alert.. 1 reply
e-mail alert 1 reply
Help me programing mail alert. 5 replies
E-mail Alert for EA 2 replies
int lastNumOfTrades=-1;
int start() {
if (lastNumOfTrades==-1)
lastNumOfTrades=OrdersTotal();
if (lastNumOfTrades!=OrdersTotal()) {
PlaySound("alert5.wav");
lastNumOfTrades=OrdersTotal();
}
} 
int lastNumOfTrades=-1;
int start() {
if (lastNumOfTrades==-1)
lastNumOfTrades=OrdersTotal();
if (lastNumOfTrades!=OrdersTotal()) {
if (lastNumOfTrades<OrdersTotal())
PlaySound("close.wav");
else
PlaySound("open.wav");
lastNumOfTrades=OrdersTotal();
}
}
How would you compile/run it?Thanks Pablo, but I don't think that scripts on mobile is possibleHow would you compile/run it?
Why ?? I havent run MT4 on mobile, but i think it could be possible to run it as a simple EAs - am I wrong?
On the other hand You can setup email notification in your desktop version of MT. Just add SendMail function after each ordered ticket. Of course first you must setup MT4 for sending emails: Tools->Options->EMail tab.
I don't use MetaTrader Mobile, but my understanding is that it sucks the battery down pretty quickly. I'd suggest going the email/sms route, that's how I have my alerts set up.
. Big thanks for your trend alert EA, btw!!
| Thread Tools | Search this Thread |
| |