Download MetaTrader 5
To add comments, please log in or register
Manage agents in your profile. It is easy!
detomato
15
detomato 2012.09.05 20:50 

Hi, Need help for some basic programming here.

Im currently using an EA. I would like to be notified through Push Notification in MT4 once the EA open or close a trade. Any idea how to do this? It doesnt have to be incorporated into the EA, as long its workable.
Ickyrus
872
Ickyrus 2012.09.05 21:14  
It can send an email
Ubzen
Moderator
5394
Ubzen 2012.09.05 21:18  

Here https://www.mql5.com/en/forum/139676

It says the command right there.

detomato
15
detomato 2012.09.06 16:26  
Thanks ubzen, but I st
ubzen:

Here https://www.mql5.com/en/forum/139676

It says the command right there.

Thanks ubzen, but I still dont have any idea on how to implement it. I already google it but still cant find anything, at least that I can understand. I wish if theres a simple script out there. :)
Simon Gniadkowski
Moderator
17963
Simon Gniadkowski 2012.09.06 16:52  

You just call this function . . .

bool  SendNotification(
   string  text          // message text
   );
arkady landes
2
arkady landes 2012.12.03 21:28  

hello

i want to know how much myid i can add to push notifications

jay lim
5
jay lim 2013.01.25 07:15  
bushiden:
Thanks ubzen, but I stThanks ubzen, but I still dont have any idea on how to implement it. I already google it but still cant find anything, at least that I can understand. I wish if theres a simple script out there. :)


I've searched the whole internets for something similar to what you're looking for. Until finally I gave up and created my own from samples I found.

 Here's what I came out with, which should work for any pairs / EA. Once this INDICATOR is attached to a chart (and assuming you've setup your notification settings), it should send push notifications for either OPENING or CLOSING positions for that pair. Enjoy! 

/
To add comments, please log in or register