Link DLL with external application

 

Hello,


1. I have an external application which decides when to fire orders.

2. I know that expert advisor can be used to automate trading.

3. Now I want to link my external application to the expert advisor, which I think could be done through a DLL.


The DLL example in the samples directory is just communication between expert advisor and DLL.

What I am looking for is Expert Advisor-DLL-External Application communication.

Is such a thing possible? If yes, are there any samples or other resources that I can refer to?


Thanks,

Umang

 

The external App should have a API. Maybe it has a DLL which you can call from MT.


There are several other ways to get data into MT:

- HTTP connection

- file

- database

- etc.


Given that your App is able to produce these.


Russell

 
I have a central MT4 giving out signals that I want to send to various MT4 running in other PCs across a network. How do I do this?
 
Thanks guys. I am on a similar quest at the moment. Does anyone know where I could get some source code for a c++ dll that allows mt to communicate of http? winsock would also be good. Or are they the same?
 
ohilton576:
Thanks guys. I am on a similar quest at the moment. Does anyone know where I could get some source code for a c++ dll that allows mt to communicate of http? winsock would also be good. Or are they the same?

look here for http communication

https://forum.mql4.com/27445