How to add sound files to market's MT4 indicator?

 

Hi,

I have an MT4 indicator for market in which I want to enable voice alert. How am I supposed to add sound files to market's repository. I saw there are some indicators in the market which has voice alerts. In market I am allowed to add only one ex4 file. I have searched but could not find relevant info. Can someone please locate me to some post or article regarding it?

Thanks

 

Add them as a resource.

See: https://www.mql5.com/en/docs/runtime/resources

Documentation on MQL5: MQL5 programs / Resources
Documentation on MQL5: MQL5 programs / Resources
  • www.mql5.com
//| Calls standard OrderSend() and plays a sound                     | The example shows how to play sounds from files 'Ok.wav' and 'timeout.wav', which are included into the standard terminal package. These files are located in the folder is a folder, from which the MetaTrader 5 Client Terminal is started. The location of the terminal...
 
Marco vd Heijden:

Add them as a resource.

See: https://www.mql5.com/en/docs/runtime/resources

I was looking for mql4

 
Syed Oarasul Islam:

I was looking for mql4

As far as I know, resources work same in mql4 and mql5. 

 
Resources - MQL4 programs - MQL4 Reference
Resources - MQL4 programs - MQL4 Reference
  • docs.mql4.com
//| Calls standard OrderSend() and plays a sound                     | The example shows how to play sounds from files 'Ok.wav' and 'timeout.wav', which are included into the standard terminal package. These files are located in the folder is a folder, from which the MetaTrader 4 Client Terminal is started. The location of the terminal...
 

This was exactly what I needed. Thanks