Secure MT4 EA and Python (Server) Communication Setup

MQL4 专家 脚本 Python PHP

工作已完成

执行时间12 天
员工反馈
great working with you
客户反馈
Great developer, he did a job as described! I am happy and will work with him in the future for sure! 10+

指定

Develop a system where a MetaTrader 4 (MT4) Expert Advisor (EA) securely connects to our server, listens for trading commands, and executes them only if the account number in the command matches the MT4 account. The account number is retrieved from a MySQL database for security verification.

System Requirements:

MT4 EA Development:

  • The EA should connect to our server and continuously listen for incoming messages.
  • Upon receiving a message, the EA should verify if the account number in the message matches the MT4 account number.
  • If the account numbers match, the EA executes the trading command; otherwise, it ignores the command.
  • The EA must process all data dynamically, without hardcoded values.

Server-Side Setup:

  • A Python script on our server will retrieve the AccountNumber from a MySQL database and send trading commands to multiple MT4 clients, including the account number.
  • The server must maintain active connections with all MT4 clients.
  • Ensure secure communication using SSL/TLS, preferably via a domain with Cloudflare or a secure IP connection.

Database Structure (MySQL):

  • Table Name: forex

Table Structure:

Column Name Data Type Description
ID INT Primary Key, auto-increment
Username VARCHAR(50) The username of the MT4 client
AccountNumber VARCHAR(50) The MT4 account number for the client
Platform VARCHAR(10) The trading platform, e.g., 'MT4'


Security and Reliability:

  • Use SSL/TLS for secure communication between the server and MT4 EAs.
  • Implement error handling and automatic reconnection for reliability in case of disconnection.
  • The account number from the database must match the MT4 account for the command to be executed, ensuring an additional layer of security.

Scalability:

  • The system should support multiple MT4 clients on different networks or machines.
  • Design the solution to be scalable for future expansion.

Example Command from Python Server:

ACCOUNT: 12345678 COMMAND: OPEN SYMBOL: EURUSD ORDER_TYPE: BUY LOTS: 0.1 PRICE: 1.1050 STOP_LOSS: 1.1000 TAKE_PROFIT: 1.1100

Technology Stack:

  • MT4 EA: Developed in MQL4.
  • Server-Side: Python
  • Database: MySQL to retrieve the account number for command verification.


反馈

1
开发者 1
等级
(209)
项目
281
46%
仲裁
27
59% / 37%
逾期
36
13%
空闲
2
开发者 2
等级
(2)
项目
2
0%
仲裁
1
0% / 100%
逾期
0
空闲
3
开发者 3
等级
(2)
项目
2
0%
仲裁
1
0% / 0%
逾期
0
空闲
4
开发者 4
等级
(3)
项目
2
0%
仲裁
1
0% / 0%
逾期
0
空闲
5
开发者 5
等级
(390)
项目
416
30%
仲裁
74
19% / 69%
逾期
52
13%
已载入
相似订单
Welcome to my freelance profile. I am a disciplined and detail-oriented trading systems specialist with strong expertise in: Algorithmic Trading (MT4 & MT5) EA/Indicator Setup & Technical Support Signal Creation, Optimization & Risk Structuring Strategy Testing & Performance Evaluation Trade Automation & System Fine-Tuning My work is based on accuracy, transparency, and strict professional standards. I ensure that
We are looking for a skilled developer with proven experience integrating the Deriv API WebSocket, ( https://developers.deriv.com/docs/getting-started ) to connect our trading web application with Deriv SmartTrader accounts. Our platform already generates AI-based trading signals , and the goal is to allow users to: Log in with their Deriv account (OAuth or API tokens) Fetch and display real-time account details
Job Title: Cloud-Based MT4/MT5 Trade Copier Developer (Project-Based) Project Overview: Looking for an experienced developer to build a cloud-hosted trade copier platform similar in concept to leading web-based multi-account trade copiers. The system must copy trades in real time between multiple MT4/MT5 accounts (and later other platforms), with low latency, strong security, and a modern web dashboard for
Pazuzu 30+ USD
generate or create me a python coded file that has mql5 language requirements for a trading bot under the following instructions. the bot must execute trades if necessary the bot must trade 24/7 the bot must trade gold and currency the bot must make unlimited profit hourly the bot must enter market with caution after market analysis of 98 percent of clear trade

项目信息

预算
99+ USD