MQL4 Reference
Common functions
PlaySound
| void PlaySound( |
string filename) |
Function plays a sound file. The file must be located in the terminal_dir\sounds directory or in its subdirectory.
Parameters:
| filename |
- |
Path to the sound file. |
Sample:
if(IsDemo()) PlaySound("alert.wav");
|
|
|