Secure MT4 EA and Python (Server) Communication Setup

MQL4 EA 스크립트 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
등급
(213)
프로젝트
286
47%
중재
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% / 72%
기한 초과
52
13%
작업중
비슷한 주문
1. PROJECT OVERVIEW Development of a custom automated and manual trading bot for NinjaTrader 8, primarily designed for Nasdaq Futures (NQ/MNQ). The bot will contain the original trading strategy, configurable risk management, automatic and manual operating modes, alerts, profit/loss management, partial profit taking, Break Even, backtesting functionality, and the additional configurable contract-averaging system
We are looking for an expert algorithmic trading developer to build a high-performance, fully automated Custom Expert Advisor (EA) or trading bot. The bot must integrate advanced Smart Money Concepts (SMC) , Inner Circle Trader (ICT) methodologies, and Volume Spread Analysis (VSA) with a high-frequency trading (HFT) style execution and scaling model. The core objective is to program a bot that identifies

프로젝트 정보

예산
99+ USD