Build MT5 EA with Websocket communication

명시

The EA should establish a Websocket connection with a Server and sends and receives commands.

Commands:


- send account information on EA Init:

"account=%d|name=%s|server=%s|broker=%s|balance=%.f2|equity=%.2f|pair=%s|owner=%s!"

It should send the account number, account name, server name, broker name, balance, equity, symbol on which the EA is active and owner is a email which needs to be changeable via the EA settings. Each command ends with an "!"


- send account information on every new bar in the following format:

"account=%d|balance=%.f2|equity=%.2f|ping=true!"

It should send the account number, balance, equity and ping=true on every new bar.


- receive Market Order informations in the following format:

"op=Buy|entry=2.0010001|sl=2.0010001|tp=2.0010001|lots=0.01|id=9|account=123123|idea=9!"

op can be Buy or Sell

Entry can be ignore, since we execute market orders

Sl is the price where the SL needs to be placed

TP is the price where the TP should be placed

Lots is the Lotsize of the order

id should be the comment, save it as a variable

account should be the account, make a check if the account == current account

idea is the ID to identify the trade on the server, save it as a variable


- send status of Market Order execution in the following format:

Once a Trade Execution is received and the trade is opened send a command to inform the server that the order has been executed

"account=123123|ticket=1122|status=success|idea=9|id=9!"

account is the current account

ticket is the ticket number of executed trade

status should be "success" if the order opened, if not please send the error code + message as status

idea is the ID (server side) which has been send in the order command (above)

id is the Order ID (server side) which has been send in the order command (above)


If the websocket connection is lost, establish a new connection

응답함

1
개발자 1
등급
(213)
프로젝트
286
47%
중재
27
59% / 37%
기한 초과
36
13%
무료
2
개발자 2
등급
(2)
프로젝트
2
0%
중재
1
0% / 100%
기한 초과
0
무료
3
개발자 3
등급
(16)
프로젝트
35
23%
중재
4
0% / 50%
기한 초과
2
6%
작업중
4
개발자 4
등급
(11)
프로젝트
18
28%
중재
4
50% / 50%
기한 초과
1
6%
무료
비슷한 주문
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution

프로젝트 정보

예산
51+ USD
기한
로 2 일