Looking for ea that will alert me when ever an order is placed on MT4
Well...
int start(){ while(!IsStopped()){ static int orderCount; if(orderCount != OrdersTotal()){ SendMail("Trade Activity", "Trade Activity"); orderCount = OrdersTotal(); } Sleep(16); } return (0); }
that you for your help
Well...
int start(){ while(!IsStopped()){ static int orderCount; if(orderCount != OrdersTotal()){ SendMail("Trade Activity", "Trade Activity"); orderCount = OrdersTotal(); } Sleep(16); } return (0); }
I believe you might need to add something like this... Symbol() will tell you what pair it is...
int start(){
while(!IsStopped()){
static int orderCount;
if(orderCount != OrdersTotal()){
SendMail("Enter " + Symbol(), "Trade Activity");
orderCount = OrdersTotal();
}
Sleep(16);
}
return (0);
}
But the problem is that the code only count the total number of open trades your in and if its more then, then it sends an e-mail so if you have it loaded on say 5 pairs it will send 5 e-mails when you enter one trade...
I hope this is some kind of help.
By the way did you ever find an EA that worked?
I asked the same question in another topic.
I asked the same question in another topic.
that you for your help