Download MetaTrader 5
To add comments, please log in or register
Traders have already contributed more than 300 articles. Write your own one!
Automated-Trading
Admin
97635
Automated-Trading 2015.11.16 12:00 

Simple Copier:

Copying utility with minimal functionality.

Author: Vladimir Tkach

Carl Schreiber
6396
Carl Schreiber 2015.11.16 12:59  
Thank you - have you tried a solution using "Named-Pipes" instead of real csv-files?
Vladimir Tkach
18005
Vladimir Tkach 2015.11.16 13:27  
I am not familiar with this. What is it?
Carl Schreiber
6396
Carl Schreiber 2015.11.16 17:34  

It should be a lot faster way to pass date from the master to the slave.

Look here or here or here.

The main problem is that either the server or the client can block the terminal waiting for the next entry!

I read somewhere to get an asynchrony access the keyword could be OVERPLAPPED

May be this helps?

Named Pipe communication between two terminals
Named Pipe communication between two terminals
  • www.mql5.com
I try using the Named Pipes to exchange data between two terminals. - - Category: general
Vladimir Tkach
18005
Vladimir Tkach 2015.11.16 17:46  
it looks the same as the file, imho
Carl Schreiber
6396
Carl Schreiber 2015.11.16 18:08  
Yes it is - at least to make the use easy it looks pretty similar but still somewhat different and a lot faster as it it supported by Windows
sisbfx
13
sisbfx 2015.11.19 09:01  
Thanks youer share
Irwan Adnan
877
Irwan Adnan 2015.11.19 09:39  
It looks more simple than another code consists of 2 file (master and slave). Thanks bro.
Vladimir Tkach
18005
Vladimir Tkach 2015.11.19 09:46  
Irwan Adnan:
It looks more simple than another code consists of 2 file (master and slave). Thanks bro.
My pleasure.
jingkang
5
jingkang 2015.11.30 07:22  
Your code is excellent!! Very simple, clear and friendly to understand!
Appreciate for your work.
Vladimir Tkach
18005
Vladimir Tkach 2015.11.30 09:48  
jingkang:
Your code is excellent!! Very simple, clear and friendly to understand!
Appreciate for your work.
My pleasure.
/ /123
To add comments, please log in or register