PUSH notifications and custom indicators

To add comments, please log in or register
Russ
218
Russ  

I was reading up on the push notifications, with an android phone. I have a custom indicator that gives buy/sell alerts, could the notifications be used to send the alerts directly to my smartphone?

Kaye
4
Kaye  
Yep that shouldnt be a problem just make sure within the function which confirms your buy and sell signals you have SendNotification. For example: If (blabla = 1) { your fancy code line 1 your fancy code line 2 your fancy code as many lines as you want SendNotification("Buy Alert" + Symbol()); } When you type SendNotification it doesnt change colour in MQL4 which threw me off thinking the function wouldnt work but a test message will soon show you how well it does. You can put whatever in the bracket after SendNotification, have a play with it. Goodluck
Russ
218
Russ  
Thanks, Ninekaye
flexie
144
flexie  

Where do we find the MetaQuotes ID as requested in the Options/Notifications tab of the main MT4 install? Specifically, where is "Settings->Messages". ?


thank you

bedok
10
bedok  
flexie:

Where do we find the MetaQuotes ID as requested in the Options/Notifications tab of the main MT4 install? Specifically, where is "Settings->Messages". ?


thank you


Press menu\Messages, you should be able to see that at the top of the screen.

However, I'm using S3 and not able to clear the notifications, kept getting "Failed to register messages receiving service.....", anyone seeing that?

flexie
144
flexie  
bedok:


Press menu\Messages, you should be able to see that at the top of the screen.

However, I'm using S3 and not able to clear the notifications, kept getting "Failed to register messages receiving service.....", anyone seeing that?

This is from within MT Mobile, right? I'm not able to find this "messages" info anywhere. What screen is menu being pressed from? ... Mail? News? Symbols? I downloaded the app from Go Markets, if that makes any difference.


thx

Kaye
4
Kaye  
Flexie, i think you need to download the actual MetaTrader App from the appstore and then put in your server settings to GoMarkets. Reason being due to whatever reason the go markets app you have isnt the current version. Once your setup its just Settings then Messages and at the very bottom will be your unique ID for your mobile.
flexie
144
flexie  
Ninekaye:
Flexie, i think you need to download the actual MetaTrader App from the appstore and then put in your server settings to GoMarkets. Reason being due to whatever reason the go markets app you have isnt the current version. Once your setup its just Settings then Messages and at the very bottom will be your unique ID for your mobile.

yes, I'm using what I downloaded from google play store. Are the settings in MT4 terminal or for the phone in general?


UPDATE: thank you Ninekaye, that was the problem... it works great now.
To add comments, please log in or register