Build MT5 EA with Websocket communication

Tarea técnica

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

Han respondido

1
Desarrollador 1
Evaluación
(211)
Proyectos
284
46%
Arbitraje
27
59% / 37%
Caducado
36
13%
Trabaja
2
Desarrollador 2
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
4
Desarrollador 4
Evaluación
(11)
Proyectos
18
28%
Arbitraje
4
50% / 50%
Caducado
1
6%
Libre
Solicitudes similares
Title Professional AI Automation Trading Bot for Forex & Crypto Solution Language Python (preferred) or MQL5 depending on integration requirements. Categories Expert Advisor (EA) for MetaTrader 5 Automated trading strategies AI/ML-based signal generation Risk management automation Required Skills Strong knowledge of MQL5/Python Experience with MetaTrader API integration Machine learning model deployment
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Live chart [ expert is not executing trades on xauusd ] , Deleting Existing Parameter not in use , Live Chart Adjustments Only , No Need to Change anything else , expert will be live testing Throughout
I need an experience programmer on news based EA, the EA will be able to fetch or return both historical and current calendar data and implore them into trading, The rest EA details will be communicated in the chat section

Información sobre el proyecto

Presupuesto
51+ USD
Plazo límite de ejecución
a 2 día(s)