Download MetaTrader 5
To add comments, please log in or register
Thousands of developers have already published their products in the Market. Join them!
Studded
33
Studded 2016.02.27 12:15 
I need help with a sound file problem.

I have an indicator that uses the Playsound command to use alert2.wav. But when an alert is triggered it uses alert.wav instead and all other alerts use alert.wav also.

If I untick Tools/Options/Events Enable then alert2.wav works but all other alerts do not make a sound.

What have I done wrong?

MQL4 Build 950
Keith Watford
Moderator
7947
Keith Watford 2016.02.27 12:33  
If you have a pop-up alert  followed by a playsound in your code, the sound willl not be played so you only hear the sound for the pop-up alert. You will need to code a small break in between to hear the playsound
Studded
33
Studded 2016.02.27 22:23  
GumRai:
If you have a pop-up alert  followed by a playsound in your code, the sound willl not be played so you only hear the sound for the pop-up alert. You will need to code a small break in between to hear the playsound
Thanks GumRai I'll give that a try.
/
To add comments, please log in or register