Download MetaTrader 5

Alert specify WAV file

To add comments, please log in or register
greenpar
38
greenpar  
Is it possible to specify for the Alert function a specific WAV file? I understand that the default alert sound can be changed in Tools -> Options -> Events, but I wished to specify the WAV file in the Indicator itself.
Alert - Common Functions - MQL4 Reference
Alert - Common Functions - MQL4 Reference
  • docs.mql4.com
Alert - Common Functions - MQL4 Reference
Marco vd Heijden
Moderator
5775
Marco vd Heijden  

No, but you can use the:

PlaySound("somefile.wav");
In stead to play any sound you desire. (thats in the sounds folder).
greenpar
38
greenpar  
Marco vd Heijden:

No, but you can use the:

In stead to play any sound you desire. (thats in the sounds folder).

Thanks Marco.

To add comments, please log in or register