Add them as a resource.
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...
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
- 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
You are missing trading opportunities:
- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
Registration
Log in
You agree to website policy and terms of use
If you do not have an account, please register
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