In MQL4 reference :
The file must be located in terminal_directory\Sounds or its sub-directory. Only WAV files are played.
Call of PlaySound() with NULL parameter stops playback.
But in I cant' find terminal_directory\Sounds directory in my PC , as picture below,
please help me to find the sound file,thanks.
Program Files(x86)/MetaTrader - your broker /Sounds
must be installed in the DATA directory to work. Right-click on Icon and select property to get to the DATA directory.
In MQL4 reference :
The file must be located in terminal_directory\Sounds or its sub-directory. Only WAV files are played.
Call of PlaySound() with NULL parameter stops playback.
But in I cant' find terminal_directory\Sounds directory in my PC , as picture below,
please help me to find the sound file,thanks.
must be installed in the DATA directory to work. Right-click on Icon and select property to get to the DATA directory.
The Sounds are exactly where I wrote they are. They are not in the Data Dir.
The Sounds are exactly where I wrote they are. They are not in the Data Dir.
But they can be in other places than what you wrote. It depends of where the user install MT4.
What you give is the default path on a 64 bits system.
Dear all :
Thanks a lot ,
I have sloved the problem.

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
In MQL4 reference :
The file must be located in terminal_directory\Sounds or its sub-directory. Only WAV files are played.
Call of PlaySound() with NULL parameter stops playback.
But in I cant' find terminal_directory\Sounds directory in my PC , as picture below,
please help me to find the sound file,thanks.