Virtual Server Alerts

 

I have registered for a Virtual Server on MT4 through the MQL5 website, I did this so that I could get push notifications from alerts while my computer is off but the alerts don't get sent. I have push notifications set up, I have synchronized all, but nothing is working. A fix to this issue would be greatly appreciated. I also tried writing a code that would just send an alert through an indicator, but I have no idea how to code and this is what I came up with, it does not work.

 

 

#property indicator_chart_window

extern double AlertPrice = 0;
double CurPrice = MarketInfo(NULL,MODE_BID);


int start() {
   if(CurPrice>AlertPrice){
      if(MarketInfo(NULL,MODE_BID)<AlertPrice)
         SendNotification("Hello im Bob");
         AlertPrice = 0;
        
      }
   if(CurPrice<AlertPrice){
      if(MarketInfo(NULL,MODE_BID)>AlertPrice)
         SendNotification("Hello im Bob");
         AlertPrice = 10000;
         }
}
 
Hi, did you ever get your alerts from the MT virtual server working?
Reason: