This library is used as the intermediate marshaling layer between MetaTrader (MT4) and libcurl.dll.
It's intended for 32-bit builds by Visual Studio C++ IDE.
In this repository the main project is curl-mt4 whereas the other projects are meant for testing purposes.
- Download the libcurl project
and build
libcurl.dll
using recent version of Visual Studio. - Update project library to include directories of the
libcurl's
include
andlibrary
paths. - Make sure you have redistributable Visual Studio runtime installed on computers running libcurl.
- Place
libcurl.dll
andcurl-mt4.dll
files in theLibraries
directory of your MT4 instance. - Place inet-curl.mqh
in the
Include
directory of your MT4 instance. - Add
#include <inet-curl.mqh>
in the source code of your scripts/indicators/EAs that you intend to callcurl-mt4
's functions.
Serge Aleynikov <saleyn at gmail dot com>
The project is released under APACHE 2.0 license.