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
비슷한 주문
I am looking for an experienced developer in MQL5 to build a fully AI and automated trading bot (Expert Advisor) for MetaTrader 5. The EA will trade XAUUSD only and will be based purely on price action and Smart Money Concepts (SMC), specifically focusing on liquidity sweeps, market structure shifts (MSS/CHoCH), and wick rejection entries at key points of interest (POIs). The system must follow a strict rule: no
We are looking for a developer to finish and stabilize an existing Kalshi trading bot (~60% complete) built in TypeScript. This is not a MetaTrader EA. The system interacts with the Kalshi API and requires strong understanding of execution logic, order handling, and state management. Scope of Work: Review and understand existing TypeScript codebase Complete missing functionality Fix execution issues (order placement
Prepare expert for Live Chart . Trailing Stop Loss Based on Thresholds needs to be implemented . Live Behavior Based implementation . Logic needs to be changed/upgraded . Couple of parameters to be deleted . Other Filters like news and sessions already coded . Only one symbol to prepare for live , the other one is already optimized . Do ask me to provide you with screen shots of current live scenario
You can control via Telegram: /start - enable bot, begin trading, /stop - end trading, disable bot /status - trade status Bot requirements: • Automated trading throughout the day until 00:00 UTC (Moscow time) (I do not want to trade or turn the bot on 100 times a day). • Auto shutdown of the bot in Telegram at 00:00 UTC (Moscow time) and manual restart when convenient. • Market analysis 24/5 using 20 EMA, RSI, and
It must have automated stop loss. Something that can end poverty and kill the market early.It must take the trades for me whenever I start it it must work on tradeport ea
Zone detection is coded , you will be working from that point . Trailing Stop Optimization for live chart . Apply Specific Currency Support . Clean Code . Zone Upper Limit and Lower Limit