Newbie - need a continuous MT4 Alert please

 

Hi there

I want to set up a MT4 alert that simply keeps ... going and going... the idea being that this is for a MA cross but I cannot be at the

laptop all of the time :-)

If anyone can help I'd be v grateful

thanks !

 
 

mmmh Dobt suppose you could be more specific pls ?
 

What qjol is saying is that you can use PlaySound function to "play a sound file" every time your signal triggers (or alternatively in a timely manner: every 5 min)

I say that you can simplier use Alert function because everytime Alert is called it plays a sound (like a beep or something).

Example:

Alert("Signal");

 
abaye:

What qjol is saying is that you can use PlaySound function to "play a sound file" every time your signal triggers (or alternatively in a timely manner: every 5 min)

I say that you can simplier use Alert function because everytime Alert is called it plays a sound (like a beep or something).

Example:

Alert("Signal");

The reason I suggested the function PlaySound() and not Alert() is as u can c

pleaper:

[...]but I cannot be at the

laptop all of the time :-)

[...]
 

Maybe use SendMail so you can check your email inbox when you return?

Maybe sign up for a service that sends a TXT to your phone when you receive an email?

Maybe use EOD trading so you only have to be at your computer once a day?

Maybe use a SmartPhone that links via BlueTooth or WiFi?

Maybe write an EA that actually does the trade when you want to enter a trade?

 
qjol:

The reason I suggested the function PlaySound() and not Alert() is as u can c

Exactly! In my PC when you send an Alert command it plays a sound (automatically)

Anyway, it would be good if Pleaper appears and clear his question

 
abaye:

Exactly! In my PC when you send an Alert command it plays a sound (automatically)

Anyway, it would be good if Pleaper appears and clear his question


Thanks for all the suggestions - tried coding up both ALERT and Playsound - trouble is the only sound I get is

what seems to be the default short alert sound not the alert or playsound .wav I specify

If someone would send an example or example code I would ne grateful -

Maybe even a program loop to play playsound(alert) for say 60 iterations -

thanks Peter

 
int i = 0;
while (i != 60)
   {
   if (MarketInfo("EURUSD",MODE_ASK) > 1.35)
      {
      PlaySound("high.wav");
      Sleep(30000);
      i++;
      }
   }
Reason: