Trendline Price Alert (Push Notifications)

 

Hello,

I would like to know if there is a trendine price alert indicator that could send me a push notification to my android phone.

I really  like  the Trendline Price Alert indicator by MOOSE but it doesn't have push notifications.

https://www.mql5.com/en/code/10348 ; if I modify the code and add "SendNotification" command to the file it stops working (I replaced the "SendMail" command).

So I'm doing something wrong. If anyone could help I would be extremely thankful.

Cheers 

 
Wernerr:

Hello,

I would like to know if there is a trendine price alert indicator that could send me a push notification to my android phone.

I really  like  the Trendline Price Alert indicator by MOOSE but it doesn't have push notifications.

https://www.mql5.com/en/code/10348 ; if I modify the code and add "SendNotification" command to the file it stops working (I replaced the "SendMail" command).

So I'm doing something wrong. If anyone could help I would be extremely thankful.

Cheers 

Lets us see your code, use SRC button to post the code

 

 
Wernerr:

Hello,

I would like to know if there is a trendine price alert indicator that could send me a push notification to my android phone.

I really  like  the Trendline Price Alert indicator by MOOSE but it doesn't have push notifications.

https://www.mql5.com/en/code/10348 ; if I modify the code and add "SendNotification" command to the file it stops working (I replaced the "SendMail" command).

SendNotification() just takes one parameter,  SendMail() takes two . . .   either concatenate them or just use one . . .  do you have Notifications set-up correctly and enabled  in MT4 ?
 
RaptorUK:
SendNotification() just takes one parameter,  SendMail() takes two . . .   either concatenate them or just use one . . .  do you have Notifications set-up correctly and enabled  in MT4 ?


The code you posted . . .

      if (SendEmail) SendNotification("Upper Alert on " + Symbol(), alertMsg);

. . .  didn't you read what I wrote ?

 

Thank you, I overlooked your post. I got it working now.

 
Have a nice day Sir and a happy new year.

 
Wernerr:

Thank you, I overlooked your post. I got it working now.

 
Have a nice day Sir and a happy new year.

Glad to hear it,  well done :-)
 

Hello,


I found this free crossover indicator online and was trying to change the Send Mail function over to Notification and it doesn't seem to work.  I am a programming novice so its probably something stupid but I figured I would give it a shot before I posted it.  At least I was able to compile it without error :-).  Any help would be greatly appreciated.


Charles.

Files:
 
cruskouski:

Hello,


I found this free crossover indicator online and was trying to change the Send Mail function over to Notification and it doesn't seem to work.  I am a programming novice so its probably something stupid but I figured I would give it a shot before I posted it.  At least I was able to compile it without error :-).  Any help would be greatly appreciated.



The information you need is in this thread . . .
 
RaptorUK:
SendNotification() just takes one parameter,  SendMail() takes two . . .   either concatenate them or just use one . . .  do you have Notifications set-up correctly and enabled  in MT4 ?


Here !
 
wernerr:

Hello,

I would like to know if there is a trendine price alert indicator that could send me a push notification to my android phone.

I really  like  the Trendline Price Alert indicator by MOOSE but it doesn't have push notifications.

https://www.mql5.com/en/code/10348 ; if I modify the code and add "SendNotification" command to the file it stops working (I replaced the "SendMail" command).

So I'm doing something wrong. If anyone could help I would be extremely thankful.

Cheers 


hey Wernerr please attach the trendline indicator by moose!