Practical Way To send SMS from MT4

 

hello all,

 

please provide me  a practical way to send sms from mt4 whether paid or free.... method should be working with ea...

 
 
only test messages were being sent..no e mal was sent from ea.
 
Ankit
//+------------------------------------------------------------------+
//|                                                        fgfgf.mq4 |
//|                        Copyright 2012, MetaQuotes Software Corp. |
//|                                        http://www.metaquotes.net |
//+------------------------------------------------------------------+
#property copyright "Copyright 2012, MetaQuotes Software Corp."
#property link      "http://www.metaquotes.net"

//+------------------------------------------------------------------+
//| expert initialization function                                   |
//+------------------------------------------------------------------+
int init()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert deinitialization function                                 |
//+------------------------------------------------------------------+
int deinit()
  {
//----
   
//----
   return(0);
  }
//+------------------------------------------------------------------+
//| expert start function                                            |
//+------------------------------------------------------------------+
int start()
  {
//----
   double pema14=iCustom(NULL,0,"PEMA",14,7,0);
   double pema35=iCustom(NULL,0,"PEMA",35,7,0);
   
   
   double pema14s=iCustom(NULL,0,"PEMA",14,7,1);
   double pema35s=iCustom(NULL,0,"PEMA",35,7,1);
   
   
   if(pema14<pema35 && pema14s > pema35s)
  {
   //Print("downcross  ",pema14,"   ",pema35,"    ",pema14s,"   ",pema35s);
   //DrawArrowDown("Down"+Bars,Close[1]+10*Point,Lime);
 /*  ObjectCreate("ArrowName",22 ,0, Time[0], Close[0]); //draw an up arrow
ObjectSet("ArrowName", OBJPROP_STYLE, STYLE_SOLID);
ObjectSet("ArrowName", OBJPROP_ARROWCODE, SYMBOL_ARROWUP);
ObjectSet("ArrowName", OBJPROP_COLOR,Red);*/
Alert("Crossdown");
PlaySound("alert.wav");

SendMail("hh","hihkk");

   }       if(pema14>pema35 && pema14s<pema35s)     {    /*  ObjectCreate("ArrowName",22, 0, Time[0],NULL); //draw an up arrow ObjectSet("ArrowName", OBJPROP_STYLE, STYLE_SOLID); ObjectSet("ArrowName", OBJPROP_ARROWCODE, SYMBOL_ARROWUP); ObjectSet("ArrowName", OBJPROP_COLOR,Green);*/ Alert("Crossup"); PlaySound("alert.wav");     }               //----    return(0);   }   
 
so i assume theer is no way to send e mails or sms from mt4.
 
ankit29030:
so i assume theer is no way to send e mails or sms from mt4.

Some user report that email works in MT4 and some don't. You may try this for email http://www.mt4i.com/appstore/app.aspx?id=17&sort=popularity.

Sending sms is not supported in MT, but Push Notification is supported for Android and iPhone in both MT.

 

i have done exactly as found in pdf file in this app.but can i run that on strategy tester to send e mails....error shown is..

 

.2012.11.04 15:12:53 2012.08.07 19:30  tema cross EURUSD,M30: dll calls are not allowed; 'mt4emailbridge.dll'-'SendEmail'



 
ankit29030:

i have done exactly as found in pdf file in this app.but can i run that on strategy tester to send e mails....error shown is..

.2012.11.04 15:12:53 2012.08.07 19:30  tema cross EURUSD,M30: dll calls are not allowed; 'mt4emailbridge.dll'-'SendEmail'



You can't send email through Strategy Tester, please read a few first line of this https://www.mql5.com/en/articles/1512 

ankit29030 2012.11.03 11:33 
only test messages were being sent..no e mal was sent from ea.

If test is succesfull, then SendMail() function should working. Try SendMail() using script now or using blank EA on Monday.

 
ankit29030:

i have done exactly as found in pdf file in this app.but can i run that on strategy tester to send e mails....error shown is..

 

.2012.11.04 15:12:53 2012.08.07 19:30  tema cross EURUSD,M30: dll calls are not allowed; 'mt4emailbridge.dll'-'SendEmail'


You have to allow DLL calls (imports) . . .  Tools>Options>Expert advisors

 

 

  . . .  but many Functions do not work in the Strategy Tester,  email is one.

 

thanku raptor...

also give reply to my post relating to HMA.. I want to create an ea which alerts me when color change from pink to green

and vice-versa....thanks in advance 

Files: