Adding Notifications to existing MT4 indicators

To add comments, please log in or register
Matthew Lane
133
Matthew Lane  

Please could someone be so kind as to attach notifications to these two existing MT4 indicators for.

For the IINWMARROWS indicator could a notification option be added for when a new arrow is printed and for the Solar Wind indicator could the notification option be added for one it changes from red to green. 

Preferably the notifications have a pop up, email and push notifications abilities.

Thanks in advance and please let me know if you need any more information! 

Magruder Trading Group, Inc.
151
Chad Magruder  
//Global Variables
extern int period=10;
extern bool ALERT=true;
extern bool NOTIFY=false;
extern bool EMAIL=false;
extern int MaxAlerts=1;
int Alerts=0;
//Global Variables


//Inside indicator Loop
if(Alerts<MaxAlerts){
   Alerts++;
   if(i==1){        
      if(CrossUp[i]>0){
         if(ALERT){Alert("BLUE");}
         if(NOTIFY){SendNotification("BLUE");}
         if(EMAIL){SendMail("Arrows","BLUE");}
      }//GREEN
      if(CrossDown[i]>0){
         if(ALERT){Alert("RED");}
         if(NOTIFY){SendNotification("RED");}
         if(EMAIL){SendMail("Arrows","RED");}
      }//RED
   }//i==1
}//Max alert
//Inside indicator Loop 
To add comments, please log in or register