PlaySound

 

Hello all,

I'm trying to play a sound using

PlaySound("Res_GBP_USD.wav");

and is not working. I have placed the Res_GBP_USD.wav file in

Interbank FX Trader 4\sounds folder and is not working.

Do I need to do anything else?

Thanks

Kam

 
knili:
Hello all,

I'm trying to play a sound using

PlaySound("Res_GBP_USD.wav");

and is not working. I have placed the Res_GBP_USD.wav file in

Interbank FX Trader 4\sounds folder and is not working.

Do I need to do anything else?

Thanks

Kam

Please give few lines of the indicator,above and below the line "PlaySound",so that someone will give you the correct solution.

 

The problem I had was that I was calling the Alert before the playsound().

Once I removed the Alert then the palysound worked. Is Alert right before playsound could cause problems?

Thanks