SendNotification(Parameters)

 

Hi,

I am sure you used to be able to add a _symbol to SendNotifications as well as the string. in MQL4 REFERENCE it only shows a string as being the parameters. 

any ideas how to get the notification to tell me which currency pair the notification is when it sends it too your mobile. 

SendNotification("You have a buy signal ",__Symbol); //doesn't work wrong parameters

Thanks in advance

 
Replace your comma with a plus...

Or use StringFormat()
 
Dominik Egert #:
Replace your comma with a plus...

Or use StringFormat()

So simple that's annoying. I tried that but put a plus each side of the _Symbol which obviously didn't work.. I love this forum.. Thanks

 
Adam Woods #:

So simple that's annoying. I tried that but put a plus each side of the _Symbol which obviously didn't work.. I love this forum.. Thanks

SendNotification("You have a buy signal "+_Symbol);    
 
Tiecheng Fu #:
ye got it now thank you
 
Adam Woods #:

So simple that's annoying. I tried that but put a plus each side of the _Symbol which obviously didn't work.. I love this forum.. Thanks

Just solved my issue now too, I’ve been stuck trying (seemingly) all options, thank you to the poster and respondents, so glad to see this 😄