how can i Sending information of positions at MT4 by email to clients

 

Dear sir;

I want to write a expert that when I open or close or modify orders at My MT4 Brokers, All change and affect send to my email or email Others.

if(OrderSelect(1, SELECT_BY_TICKET)==true){
SendMail("OrderTicket ",DoubleToStr(OrderTicket(),4)+"open time for the order 10 "+TimeToStr(OrderOpenTime(),4)+"order_type:"+OrderType()+"lots for the order 10(SIZE) "+DoubleToStr(OrderLots(),4)+"symbol :"+OrderSymbol()+"open price : "+DoubleToStr(OrderOpenPrice(),4)+"Stop loss:"+DoubleToStr(OrderStopLoss(),4)+"Order profit:"+DoubleToStr(OrderTakeProfit(),4));
}

I can setting email panel at option of MT4. And write this code but any information do not send to my email. How can I write this code by correct. Please help me at this MT4/MQL programming.

 
i am selling such script. if you are interested, give me your email or find mine on the website from my profile
 
Could you show the whole code? Did you try to send the "test e-mail"?
 
is it right to use parabolic sar on 1 minutes chart?answer me guys......
 
send me an answer to arie_safwan @yahoo.com
 
22250572:
send me an answer to arie_safwan @yahoo.com

You really should post in your own thread

 
Any ideas?
 
It doesn't work? Anybody has the complete code?
Reason: