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
Solicitudes similares
Hello traders, I have developed a high-performance trend-following indicator designed to help traders identify trend direction changes and precise entry points in the market. 🔹 Key Features: Detects trend direction changes early Provides clear buy and sell signals Shows accurate entry points Built with a stable architecture that does not repaint Suitable for different trading styles and market conditions Easy to use
Until zone detection is coded , you will be from that point . Trailing Stop Optimization for live chart . Apply with Specific Currency Support . Clean Code . Zone Upper Limit and Lower Limit . Apply with careful understanding of the project requirement
Detect previous high and low (last N candles). Wait for breakout above resistance or below support. Wait for retest of the broken level. Enter trade. Use Stop Loss and Take Profit with controlled lot size for a $100 account
Subject: Professional MT5 Trading Bot Inquiry - Pre-Purchase Requirements Dear [Bot Name/Company Name] Developers, Greetings, I am a professional trader seeking a highly professional and extremely powerful MT5 trading bot , and after extensive research, your product has caught my attention. However, before I click the payment button, I have specific requirements as I am not looking for an ordinary bot, but rather a
hello, please take a moment to review my project. It is for Quanttower. it is very detailed in the instructions. Thank you, Just let me know if you can do it and the whats the cost and timeframe
I need a trading robot for MT5 that trades XAUUSD. Conditions: - Buy when the 50 Moving Average crosses above the 200 Moving Average. - Sell when the 50 Moving Average crosses below the 200 Moving Average. Settings: - Lot size: 0.01 - Stop Loss: 50 pips - Take Profit: 100 pips - Only one trade at a time. The robot should work automatically and close trades when TP or SL is reached
Find a good entry point and enter the trade .after the first profit of 25% is done then exit the trade .find the good market analysis of the trend and know when the market is on a good trend. After that now know the entry point and the take profit of the slot you have opened .have also a risk management strategy
Required Filters are working as per specification and requirement . Stop Loss Trailing needs correct execution for live chart . Need a little advice on trailing stop loss correction . Live chart only
I was on co pilot and they said they can build this harmonic prz indicator for me but i was not able to build it. Can anyone help, I have the indicators in ex4 file but not the mq4 files. I want to add these indicators and you can turn it into a complete full indicator like the attached photo I sent and also if you can make it into an automated EA, that would be awesome
Am looking for an well experienced developer or team to build a basic forex trading automation system connected to MetaTrader (MT4/MT5). The system should allow users to connect their trading accounts and execute trades automatically based on predefined signals or a master trading account. Experience with MetaTrader APIs, trade copying systems, and forex automation is preferred. NOTE: Kindly apply if you have done