Hi, did you ever get your alerts from the MT virtual server working?

You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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.
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;
}
}