Download MetaTrader 5

NEWBIE ALERT!!!!!!!!!!!!!!! Can an EA take info from a different platform?

To add comments, please log in or register
What is MetaQuotes ID? Find that out from the article!
landmeister
197
landmeister 2013.11.26 08:18 

Dear All,

I guess this must be a silly question but I haven't found a final answer to it so there I go. I want to develop an EA gathering info about my orders in a MT4 platform (this one is easy) so that all relevant info (open Price, SL, TP, symbol) is exported to an external file. My question is: can I develop another EA reading that info from the external file to replicate that same order in a second MT4 platform? Both platforms would be in the same computer.

Thank you very much in advance.

Ubzen
5394
Ubzen 2013.11.26 08:28  
landmeister: I guess this must be a silly question but I haven't found a final answer to it so there I go. I want to develop an EA gathering info about my orders in a MT4 platform (this one is easy) so that all relevant info (open Price, SL, TP, symbol) is exported to an external file. My question is: can I develop another EA reading that info from the external file to replicate that same order in a second MT4 platform? Both platforms would be in the same computer.

Thank you very much in advance.

Yeah it can be done. You'll have to use a .dll. If you search the forum, there'll be allot of example on sharing files with different instances of the platform. NamePipes is one of those which comes to mind. If you want someone to write an example then make a request here, and they'll gladly help you.
landmeister
197
landmeister 2013.11.26 11:46  

I'll give it a try. Thank you very much. ;)

com37
31
com37 2013.12.26 05:26  
useful post..really help full..thank you
Carl Schreiber
6580
Carl Schreiber 2013.12.26 10:07  

another option is using a named pipe. search for that on this site.

hhmmppff

To add comments, please log in or register