Trade Sms on Mobile

 

can you provide me some examples of sendnotification()function.that how to send Trade sms on Mobile

I will send you  example.

 #property copyright "Copyright 2013, MetaQuotes Software Corp."

#property link      "http://www.mql5.com"

#property version   "1.00"

#property indicator_chart_window

#property copyright "Copyright 2012, MetaQuotes Software Corp."

#property link      "http://www.mql5.com"

#property version   "1.00"

#property script_show_inputs;

//+------------------------------------------------------------------+

//| Text message to send                                             |

//+------------------------------------------------------------------+

input string message="Enter message text";

//+------------------------------------------------------------------+

//| Script program start function                                    |

//+------------------------------------------------------------------+

void OnStart()

  {

//--- Send the message

   res=SendNotification( message );...........here error is 'res' - undeclared identifier

   if(!res)

     {

      Print("Message sending failed");

     }

   else

     {

      Print("Message sent");

     }

//---

  }

//+------------------------------------------------------------------+

 

Give me some guide line .

 

krishna 

 

saibabashirdi:

res=SendNotification( message );...........here error is 'res' - undeclared identifier

 

SendNotification() returns a bool,  so you need to declare  res  as a bool 

By the way, SendNotification() is nothing to do with  SMS. 

 
saibabashirdi:

Asked already,  answered already.

 https://www.mql5.com/en/forum/7215/456395#comment_456395

 

Please stop double and triple posting. 

can't open "C:\Users\Antonio\AppData\Roaming\MetaQuotes\Terminal\F121571A298C42AA81091954EA9924F7\MQL5\include\Object.mqh" include file	SymbolInfo.mqh	6	11
can't open "C:\Users\Antonio\AppData\Roaming\MetaQuotes\Terminal\F121571A298C42AA81091954EA9924F7\MQL5\include\Object.mqh" include file SymbolInfo.mqh 6 11
  • www.mql5.com
Good afternoon, I am newbie and I would like if someone could help me in developing an EA with metatrader 5.
 
saibabashirdi:

Mr.

Tell me how can i send trade sms to my Mobile ,when trade taken place in my terminal.

Guide me 

 

Krishna 

If you want help, read the responses that you receive and say thank you. You can also use the search function on this site.
 
angevoyageur:
If you want help, read the responses that you receive and say thank you. You can also use the search function on this site.

Thanks a lot

Thanks for your kind co operation

 

krishn a

 
good idea