Perhaps you could use Sleep() between Alert and PlaySound?
england33:
You could change the default sound associated with an Alert, or disable it . . . Tools > Options > Events
if I remove my alert the sound plays correctly. This is happening to me in every alert I try
to create this way. What am I doing wrong here?
ok let me try those suggestions. thanks for the help!

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've been able to successfully create my own alerts recently but I want both an alert and a
playsound at the same time. Problem is when I do this only the alert fires or the sound
is cut off to play only a small portion of the orginal sound. Any ideas for a solution for this would be appricated.
Currently my code's look something like this: (i know the if statement is incorrect it's an example).
If (my alarm condition) {Alert("Alert Fired!!! "); Symbol(); PlaySound("customsound.wav");}
if I remove my alert the sound plays correctly. This is happening to me in every alert I try
to create this way. What am I doing wrong here?