Download MetaTrader 5

How to read the trading history from an external application

To add comments, please log in or register
Ming Luo
309
Ming Luo  

Hi:

 

Is there any interface to read the MT4 trading history from an external application? And any approaches to communicate between the MT4 and the externals please?

 

For example, I want to read the last 50 tradings to analyze the trading behavior in Matlab or C++ etc.

 

Thanks 

qjol
3243
qjol  

use an EA or a script to save the data to a file of your choice (txt, bin, csv etc.) and analyze it

Ming Luo
309
Ming Luo  
qjol:

use an EA or a script to save the data to a file of your choice (txt, bin, csv etc.) and analyze it


Using files is an option but I am thinking if there is any direct interface to communicate with the MT4. Using files may not be able to do instant communication though. 
qjol
3243
qjol  
asuralm:


Using files may not be able to do instant communication though. 


instant communication ?

you said last 50 trades

it's been done in milliseconds

To add comments, please log in or register