Jocimar Lopes
Jocimar Lopes
developer at free worker
Jocimar Lopes
Published article How to connect MetaTrader 5 to PostgreSQL
How to connect MetaTrader 5 to PostgreSQL

This article describes four methods for connecting MQL5 code to a Postgres database and provides a step-by-step tutorial for setting up a development environment for one of them, a REST API, using the Windows Subsystem For Linux (WSL). A demo app for the API is provided along with the corresponding MQL5 code to insert data and query the respective tables, as well as a demo Expert Advisor to consume this data.

Jocimar Lopes
Registered at MQL5.community
12