I would like to send each trade opened/closed from my MT5 client to a MySQL database. Like i am issuing trading signals to that database. How can i do that? I am a beginner with MQL5.
- my EA isn't called on each transaction
- Retrive single value from MySQL
- New article: How to Access the MySQL Database from MQL5 (MQL4)
See https://www.mql5.com/en/articles/932
How to Access the MySQL Database from MQL5 (MQL4)
- 2014.10.21
- Eugeniy Lugovoy
- www.mql5.com
The article describes the development of an interface between MQL and the MySQL database. It discusses existing practical solutions and offers a more convenient way to implement a library for working with databases. The article contains a detailed description of the functions, the interface structure, examples and some of specific features of working with MySQL. As for the software solutions, the article attachments include the files of dynamic libraries, documentation and script examples for the MQL4 and MQL5 languages.
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