wordpressrestmql4

MQL4 Trade feed as a WEB API


Does someone had any idea or created a webservice REST API in JSON format, which another remote server can fetch the data from.

Just need some beginner's lesson how to setup it on MQL4. My client needs this kind of service, which we will then output on a WordPress as Widgets.

I want to know how our WordPress server can access this. MQL4 had this WebRequest() function and planning to use it, but don't know where to start.


Solution

  • A number of options possible.

    you can: a. create web api call to save incoming data (ticks/candles) into db. create mql4 script to send data via api.

    or b. create c++ / c# dll to save data into db. separately create web api in language of your choice to read from db.

    or c. save file into web accessible folder in format you like and read the file from word press.