The sound is not playing when closed is true. But Alert does if i remove my //.
I have a portable mt5 terminal. all sounds work on the terminal otherwise.
I have checked the resouces page in help documents. nothing jumps out at me.
check you have put the sound file in the Sounds folder
string sound = "news.wav" ;
is available on both machines?
The sound file is present in the same directories on both machines? The one that works and the one that doesn't?
it is single machine. the terminal isnt normal installed, but "portable version", ie the 3 exe files were placed into a custom folder, sounds folder copied into same custom folder, and shortcuts to terminal exe was added suffex to commend line /portable.
PS. It made sense to me that just using "blah" would mean that the ea might look for the sound file in same folder as the ea, just as I do with my custom include files. So -- i have the news sound working now, but I had to copy the wav file and put it in experts folder.
But in the mql document help page it clearly shows the filename in 2x ".
But thanks for the suggestions.

- www.mql5.com

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
The sound is not playing when closed is true. But Alert does if i remove my //.
I have a portable mt5 terminal. all sounds work on the terminal otherwise.
I have checked the resouces page in help documents. nothing jumps out at me.