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%
空闲
相似订单
Hey there, interested in your services for merging 2 pinescripts into one Ninjatrader Strategy. I have attached both scripts below and both will be running on Renko Charts. I added entry examples in the attachment as well. For this, I would like to add some user-defined variables such as Stop Loss and Profit Targets, or allow it to sync with my ATM strategies. Please advise if this would be possible. Additional
https://github.com/theshadow76/PocketOptionAPI https://lu-yi-hsun.github.io/pocketoptionapi/ i need someone to help with with connecting to this API and recieving signals from telegram channel i have created the app but can't make it connect with SSID and start trades and veiw these trades in realtime on the app if someone can help i would be thankful telegram : @sadscan
hi, just like mt5 plateform. there is one another new platefrom called TM9 whose website is( https://trademaster9.com/site/index.html ) i want you to create an API intigration to connect mt5 or mt4 plateform to this platform. i want you to create a copy trading software which can copy trade from mt5/mt4 to trade master 9 plateform. for more information please contact me directly. PRICE CAN BE NEGOTIATED. looking
I have a python script that connects MT5 to Deriv for binary trading which is having some bug. It stops executing trades after a while. I need someone to check the code and fix it. Negotiable price
Hi I am looking for some developer, who can develop WebPage which can display my open trades position, Trade History and Live Bid/Ask of my Watchlist. Frontend web app for customers/clients where they can login and see (Account info, Watchlist, Positions, History) Control Panel to create users and map user emails to MT5 account numbers etc

项目信息

预算
10 - 150 USD
VAT (19%): 1.9 - 28.5 USD
总计: 11.9 - 178.5 USD
开发人员
9 - 135 USD
截止日期
 1  3 天