Named Pipes between MT4 and a C# application

MQL4 Интеграция

Техническое задание

Description:

I have already a c# application that manages my actual trading positions in my metatrader account and the lotsize of the positions which should be oppend.


I am using max. 5 charts with different or all with the same underlying an they should communicate with the c# application. The communication should work with named pipes


The communication between each metatrader 5 ea and my c# manager works always in the same manner:

1. My c# manager is already running.

2. Now I put my ea on the chart.

3. The ea send’s with the first tick an init-message (with its underlying and timeframe) to the c# manager on the default pipe. As init-answer the c# manager sends the name of the “pipe-connection” which should be used from this ea to communicate with the c# manager.

4. On each of the following ticks the EA sends on this given pipe “pipe-connection1” an information string (if actual an position is open) and as an answer the ea gets a string from the c# manager (if it has to open a position). That’s the end of the communication, till the next tick follows.


...the same steps are working parallel with the other 4 charts.

...so the c# manager has the default pipe name for the init messages and 5 pipe-connection-name ( for each of the 5 charts)



The followings cases must be regarded:


-If more than 5 different ea’s would apply for a pipe at the server, the c# server manager should defeat their init-message and show’s an alert window

-If the connection between the metatrader an the c# manager is broken or restarted, the ea’s are sending an init-message again, and get their communication pipe name.

...If there was already an open position from this ea of the c# manager connection (which is marked on the comment of an open position), the ea sends this comment in the Init Message to get the same

pipe-connection-name as before.

-If i use the ea on 5 of the same underlyings this should also work!!!

-If the ea is taken (closed) from one chart(underlying), this pipe connection should be closed an is now free for a further(another) underlying. Maximum 5 different or same underlyings at one time i use!



What I need:


-I can programm the metatrader part by myself. I only need a project with the working communication which I discriped above. This communication part (protocol over windows named pipes) I integrate in my existing project, of course I need the souce code for the metatrader and the c#. And also the clear description for the code.

Откликнулись

1
Разработчик 1
Оценка
(34)
Проекты
80
34%
Арбитраж
13
31% / 54%
Просрочено
19
24%
Свободен
2
Разработчик 2
Оценка
(9)
Проекты
20
70%
Арбитраж
1
0% / 100%
Просрочено
9
45%
Свободен
3
Разработчик 3
Оценка
(54)
Проекты
164
43%
Арбитраж
43
47% / 16%
Просрочено
58
35%
Свободен
Опубликовал: 1 пример

Информация о проекте

Бюджет
10 - 150 USD
Сроки выполнения
от 1 до 3 дн.