Download MetaTrader 5

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

To add comments, please log in or register
landmeister
197
landmeister  

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  
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  

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

com37
31
com37  
useful post..really help full..thank you
Carl Schreiber
6793
Carl Schreiber  

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

hhmmppff

To add comments, please log in or register