Download MetaTrader 5
To add comments, please log in or register
Interested in MQL5 features? Find them in documentation!
Mo
30
Mo 2012.08.27 15:10 

I have an Excel spreadsheet with live data from MT4. Works nicely.


Here's the problem:


I am running 2 instances of MT4, (different broker feeds).


Question: How can I defferentiate the 2 instances of MT4 in Excel ?


My link looks like this:


=MT4|BID!'#FDXU2'

I thought that maybe I could somehow rename the instance of the program, and so refer to in in Excel by that name, like this:


=MT4a|BID!'#FDXU2'

and

=MT4b|BID!'#FDXU2'


Any ideas if I can do this ?


Thanks in advance.


Mo

brsmny
8
brsmny 2015.11.08 10:24  
I want to this problems.
Carl Schreiber
5938
Carl Schreiber 2015.11.08 15:17  
Mo06:

I have an Excel spreadsheet with live data from MT4. Works nicely.


Here's the problem:


I am running 2 instances of MT4, (different broker feeds).


Question: How can I defferentiate the 2 instances of MT4 in Excel ?


My link looks like this:


=MT4|BID!'#FDXU2'

I thought that maybe I could somehow rename the instance of the program, and so refer to in in Excel by that name, like this:


=MT4a|BID!'#FDXU2'

and

=MT4b|BID!'#FDXU2'


Any ideas if I can do this ?


Thanks in advance.


Mo

As all the terminals offer the same DDE-server-name you only can run each broker on a different pc.

Or you use something else like named pipes..

kuolung
36
kuolung 2015.11.09 05:36  
gooly:

As all the terminals offer the same DDE-server-name you only can run each broker on a different pc.

Or you use something else like named pipes..

how do I do use "named pipes" for excel get real time data from two instance of mt4


i try to use google search about name pipes for mt4 , it's run some ea in each instance of mt4, to send price to name pipe

and 

what else to do about this

Carl Schreiber
5938
Carl Schreiber 2015.11.09 07:10  

you have to write a named pipe part for the terminal and you have to write another macro for Exel - the other end of the named pipe.

May be you are lucks and found something by google.

Alberto Jorge Cushnir
228
Alberto Jorge Cushnir 2015.11.10 00:43  

As far as I know, the DDE server name is embedded inside the TERMINAL.EXE binary program.

If you wish to "manipulate" it with a HEX EDITOR, you probably could find the instances of the MT4 string and replace them with other of your preference.

The only thing you should pay attention is when a new program update is published, you must rebuild the changes again.

I hope it will be useful for you.

Best regards!! 

brsmny
8
brsmny 2015.11.10 20:16  
acushnir:

As far as I know, the DDE server name is embedded inside the TERMINAL.EXE binary program.

If you wish to "manipulate" it with a HEX EDITOR, you probably could find the instances of the MT4 string and replace them with other of your preference.

The only thing you should pay attention is when a new program update is published, you must rebuild the changes again.

I hope it will be useful for you.

Best regards!! 

hello

can you find for me. MT4 string ordino number in hex editör.?

kuolung1967
15
kuolung1967 2015.11.11 14:17  
acushnir:

As far as I know, the DDE server name is embedded inside the TERMINAL.EXE binary program.

If you wish to "manipulate" it with a HEX EDITOR, you probably could find the instances of the MT4 string and replace them with other of your preference.

The only thing you should pay attention is when a new program update is published, you must rebuild the changes again.

I hope it will be useful for you.

Best regards!! 

I think that is build 640 before ,  but after build 840 of mt4 , it is not work , i use hes editor to find mt4 , not one is for dde server setting 
/
To add comments, please log in or register