Discussing the article: "Overcoming Accessibility Challenges in MQL5 Trading Tools (Part II): Enabling EA Voice Using a Python Text-to-Speech Engine"

 

Check out the new article: Overcoming Accessibility Challenges in MQL5 Trading Tools (Part II): Enabling EA Voice Using a Python Text-to-Speech Engine.

Let's discuss how we can make our Expert Advisors speech‑capable using text‑to‑speech technology, partnering Python and MQL5. After reading this article, you will walk away with a working example of an EA that speaks dynamic market information. You will master the application of TTS, the WebRequest function, and learn how Python libraries integrate with the MQL5 language to create a truly voice‑aware trading tool.

In fiction films, we have seen robots speak, and that feels natural—the speech makes interaction between a human and his robotic companion intuitive. The user can easily understand what the machine is doing simply by listening. Today we aim to solve a big gap between a trader and his EA companion. The help these systems offer so far is incredible, but it often feels rigid: a beep, a pop‑up, or a written log entry. To stay awake and imagine more, we need to increase the efficiency and accessibility of our current and future systems.

Accessibility is a challenge on many trading tools, whether you are fully sighted or not. Not everyone has time to constantly open the logs or the journal to see what the EA is doing or has done. Sometimes it is far more efficient if the system can simply speak out the important events. Solutions exist, but they are mostly rigid—pre‑recorded WAV files that cannot adapt to changing market conditions. On 11 November 2020, Alexander Fedosov published an article addressing voice notifications in MQL5, and it is detailed. However, one challenge that remains with that solution is rigidity: each sound must be prepared in advance, and the EA cannot say anything that was not pre‑recorded. Today we will leverage TTS technology to have our EA speak dynamically about varying market situations, giving us much more flexibility.

Author: Clemence Benjamin