MQL4 - automated forex trading   /  

Documentation

MQL4 Reference  Common functions  PlaySound

 
Use the opportunities of
MQL5 in MetaTrader 5
Study the new MQL5 language
Study the new MQL5 language.
Reference is already available
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");