I think the topic of voicing trade events is actually quite interesting and useful as your article, thanks for the information.
However, modern multimedia tools have already advanced far beyond the simple digitisation of WAV sounds, take Microsoft Speech, it has been available in Windows for a long time and it can be effectively used.
For example, the sounds of trading events you suggest, it would be logical to provide specific voice comments with the values of profits, kills, etc., with recommendations and advice.
Expert Advisors should start advising us someday, in normal, human language...).
The main thing is that it doesn't require writing complex programme code.
To avoid being unsubstantiated, here is an example of a BASIC script for speech synthesis of the test string "HELLO WORLD!" using MS Agent technology, executed through the Hlaiman engine.
Set HLAIM = CreateObject("HLAIM.SHELLMDI") HLAIM.InitProgram.Agent.Action = "SPEAK: HELLO WORLD!" WScript.Sleep(3000)Who read my article and installed Hlaiman EA Generator, can check the work of this code by copying and running it in a file, for example - hello.vbs.
Similar files with different text messages can be created and used along with *.wav files to configure MT terminal events, besides this call is not difficult to integrate directly into MQL code.
...
For example, your proposed sounds of trading events, it would be logical to provide specific voice comments with the values of profits, kills, etc., with recommendations and advice.
Advisors must someday begin to advise us in normal, human language...).
...
The article, as always, is a simple example. For example, I like the FL Studio 11 programme. You can synthesise any sound. Or first record (including voice), and then process it with high quality.
- www.image-line.com
Thank you for the article.
Where should I put the attached program? In "Script" or "Expert"?
By the way, what is the difference between Script and Expert? Does OnStart function work in Script (which will be dragged to the chart)?
I cannot find my MT5 sounds file. I know you gave the location, but I can't find it anywhere in my folder. Can I just throw the sounds into there anywhere and find them later?
The correct folder is:
C:\Program Files\platform folder\Sounds
(Files and Folders - For Advanced Users - Getting Started - MetaTrader 5 Help).

- www.metatrader5.com
Thank you for the article.
Where should I put the attached program? In "Script" or "Expert"?
By the way, what is the difference between Script and Expert? Does OnStart function work in Script (which will be dragged to the chart)?
In the Author's Article, see "let's create an Expert Advisor..."
Therefore, this is an Expert and not a Script.
A Script only runs once upon attachment. An Expert runs on every tick (or on a timer, event, etc. depending on the specific standard function(s) in its code).

- Free trading apps
- Over 8,000 signals for copying
- Economic news for exploring financial markets
You agree to website policy and terms of use
New article MQL5 Cookbook: Sound Notifications for MetaTrader 5 Trade Events has been published:
In this article, we will consider such issues as including sound files in the file of the Expert Advisor, and thus adding sound notifications to trade events. The fact that the files will be included means that the sound files will be located inside the Expert Advisor. So when giving the compiled version of the Expert Advisor (*.ex5) to another user, you will not have to also provide the sound files and explain where they need to be saved.
Author: Anatoli Kazharski