Looking for ea that will alert me when ever an order is placed on MT4

[Deleted]  
Looking for ea that will alert me when ever an order is placed on MT4, Looking for an email alert as soon as a trade is exicuted on my MT4

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);
}
[Deleted]  
sparky29:
Looking for ea that will alert me when ever an order is placed on MT4, Looking for an email alert as soon as a trade is exicuted on my MT4

that you for your help

phy:

Well...

int start(){
   while(!IsStopped()){
      static int orderCount;
      if(orderCount != OrdersTotal()){
         SendMail("Trade Activity", "Trade Activity");
         orderCount = OrdersTotal();
      }
      Sleep(16);
   }
   return (0);
}
Thank you alot, is there any way to find out what the order was, buy sell and what price was? it will help me a lot.
 

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?
 
poiterwilson:
By the way did you ever find an EA that worked?

I asked the same question in another topic.

 
trivates:
I asked the same question in another topic.
Don't double post and don't hijack threads