Discussing the article: "Overcoming Accessibility Problems in MQL5 Trading Tools (Part III): Bidirectional Speech Communication Between a Trader and an Expert Advisor"
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
Check out the new article: Overcoming Accessibility Problems in MQL5 Trading Tools (Part III): Bidirectional Speech Communication Between a Trader and an Expert Advisor.
Build a local, bidirectional voice interface for MetaTrader 5 using MQL5 WebRequest and two Python services. The article implements offline speech recognition with Vosk, wake‑word detection, an HTTP command endpoint, and a text‑to‑speech server on localhost. You will wire an Expert Advisor that fetches commands, executes trades, and returns spoken confirmations for hands‑free operation.
Manual order entry in MetaTrader 5 is precise but painfully slow. A trader who spots a breakout must move the mouse, click a few buttons, type lot size, set stop‑loss – all while price moves. For algorithmic traders, the lack of voice integration forces them to stay glued to the screen. Existing workarounds include:
This article presents a lighter, self‑contained solution that runs entirely on your local machine. It uses Vosk – an offline, lightweight speech recognition engine – and a two‑way HTTP communication layer. The EA does not poll a file; it sends a WebRequest to a local Python server that holds the latest recognized command. A second Python server provides text‑to‑speech feedback using Windows' built‑in synthesizer. The result is a bidirectional voice interface: you speak, the EA trades and speaks back. No cloud, no file corruption, no guessing.
The limitations of the file‑based approach (garbled text, missed commands, no confirmation) are eliminated. Let us now design the architecture that makes this possible.
Author: Clemence Benjamin