make MT4 to grab signals from chat/e-mail

 

Hello everyone.

I need some initial guidance on how to make MT4 grab signals (buy/sell/modify, set SL, set TP) from a chat and/or e-mail sent by a trader trading manually (not on MT4). I guess such a system should have a function to grab info from the chat/e-mail, write it to a file and MT4 can then read it from the file and manage orders thereafter.

I appreciate any pointers.

Cheers

R

 
You can create an api system where the trading end could be a php app where you input parameters like tp, sl, buy or sell etc which when you submit are saved in a mysql database. Step two is to have a php api system that can read the database and output the data in xml. The above are server side procedures. Now on your desktop you will need a software to do http post after every few seconds to check and fetch any new data and save it in a file that can be read by an expert advisor which would then do the trading/modifying based on what it finds on the file.
 
resin17:

Hello everyone.

I need some initial guidance on how to make MT4 grab signals (buy/sell/modify, set SL, set TP) from a chat and/or e-mail sent by a trader trading manually (not on MT4). I guess such a system should have a function to grab info from the chat/e-mail, write it to a file and MT4 can then read it from the file and manage orders thereafter.

I appreciate any pointers.

Cheers

R

Hi resin17,

Use search box and search for Messenger or email.

Read this article about Skype https://www.mql5.com/en/articles/1454 it might gives you ideas.

:D

 
Thank you for replies. I am going to explore the php option. It seems like it is not difficult to grab data from the chat page with a php script. After that will need to convert it to the right format and get the EA to read it.
Reason: