Secure MT4 EA and Python (Server) Communication Setup

Trabajo finalizado

Plazo de ejecución 12 días
Comentario del Ejecutor
great working with you
Comentario del Cliente
Great developer, he did a job as described! I am happy and will work with him in the future for sure! 10+

Tarea técnica

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.


Han respondido

1
Desarrollador 1
Evaluación
(209)
Proyectos
281
46%
Arbitraje
27
59% / 37%
Caducado
36
13%
Libre
2
Desarrollador 2
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(3)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
5
Desarrollador 5
Evaluación
(390)
Proyectos
416
30%
Arbitraje
74
19% / 72%
Caducado
52
13%
Trabaja
Solicitudes similares
Phahla fx boto 30+ USD
99.99% signal accuracy 10-15 trades distribution all currency trade and meta AI assistance on loss[advice] stop and start robot cyber security firewall protection activation code: 20060605TLP20 Please create a trading bot with any logo with the name elevation
Refine signal trigger execution . Optimize live chart performance . Ensure stable and clean code structure : Stable and clean code is important . Otherwise its a mess . Apply with as much accurate structure you foresee
Here is what I’m looking for: • Signal source: On-chain wallet address monitoring. I want to copy trade high win-rate meme coin wallets (smart money / profitable traders), not Telegram signals. • Market: Crypto (primarily meme coins). • Execution speed: Very important — I want as close to sub-second execution as possible. Low latency is a top priority. • Infrastructure: I’m open to self-hosted VPS or cloud setup if
This post is subject to developers response . Edit the post as you like . May be with me you can make a come back . So , , , Shift calculations . More to the calculation then you can comprehend is known . What else comes to your mind
I’m hiring an experienced MQL5 developer to finish and fix an existing project (NOT building from scratch). I have: An existing MT5 EA (.mq5 + .ex5) that is based on my TradingView logic A TradingView indicator version used for signals/alerts The EA works but has logic/consistency issues and needs improvements + cleanup Goal Make the EA reliable and consistent: Ensure entries/exits match the intended logic Fix
The indicator a bit inverted. But it doesn’t matter to me as long as the winrate make sense for investment. For brief details regarding the indicator. What should have been a sell, i inverted it into buy with sl and tp swapped(only change the name of sl and tp for visualisation , but the code still on right tp and sl) . And in script ive inverted the signal command code. But the trouble is the tp and sl cant be
Ai robot 30 - 50 USD
1️⃣ System Architecture An AI robot typically consists of the following subsystems: 🔹 1. Perception Layer Collects environmental data using: RGB / Depth cameras LiDAR Ultrasonic sensors IMUs (Inertial Measurement Units) Microphones Data is processed using: Computer Vision (e.g., object detection, SLAM) Signal processing Sensor fusion algorithms 🔹 2. Cognition / Intelligence Layer Implements AI models such as
Trailing Stop Based on Thresholds . Other Necessary Filters already Coded . Live Chart Only . The strategy already coded - needs a fresh new draft . To Start from Signal Trigger
What informtion would you need for Ninjatrader futures automated trading and how long would it take ? if anyone can give me answer i will be happy to discuss more about the project thanks fill free to bid to the project thanks
I’m seeking an experienced developer to create an AI-powered trading system integrated with MetaTrader 5. The scope includes delivering a fully functional MT5 module, an AI component a compatible language, and complete source code for both. This will focus exclusively on the core trading logic and AI integration UI elements or dashboards are not required. Apply only if you have proven experience with AI integrations

Información sobre el proyecto

Presupuesto
99+ USD