Project Title: MQL5 Trade Manager for TradingView Webhook Signals

MQL5 Sripts Lo demás

Tarea técnica


Overview: I need a robust MQL5 Expert Advisor (Trade Manager) designed to manage trades initiated by external signals (TradingView via Webhook). The EA will not look for entries itself but will "take over" any trade opened with a specific Magic Number.

Core Functionality:

  1. Magic Number Management: Monitor and manage all trades with Magic Number: xxxx.

  2. Grid/Martingale Logic:

    • Initial Lot: xxxx (User-definable).

    • Multiplier: xxxxx (User-definable).

    • Pip Step: Fixed distance (e.g., 18 or 30 pips) between grid levels.

    • Max Orders: Cap the grid at a specific number of trades (e.g., 6).

  3. "Ignore" action should be logged in the Expert Journal in MT5 so you can see it happened. You want to see a message like: "Signal Received: SELL. Action: IGNORED (Buy Basket Active)."

    Directional Locking (Hedge Prevention):

    • The EA must include a logic check to prevent opening opposite positions.

    • If the EA is currently managing a "Buy" basket, it must ignore any "Sell" signals received via Webhook.

    • If the EA is currently managing a "Sell" basket, it must ignore any "Buy" signals received via Webhook.

    • Optional Toggle: Add a "Allow Hedging" true/false input so I can turn this filter on or off manually.

    • "Ignore" action should be logged in the Expert Journal in MT5 so I can see it happened. I want to see a message like: "Signal Received: SELL. Action: IGNORED (Buy Basket Active)."

  4. Global Basket Management:

    • Weighted TP: Automatically calculate the break-even point for the entire basket and set a unified Take Profit in pips/dollars.

    • Trailing Stop: Implement a basket-wide trailing stop that activates once a specific profit threshold is met.

Safety & Execution Filters:

  • Max Spread Filter: Do not open additional grid levels if the current spread exceeds [X] pips.

  • Slippage Control: Use a strict slippage limit (points) for all market orders to ensure precise grid entry.

  • Equity Protection: A "Hard Stop" feature that closes all trades if the total account drawdown exceeds [X]%.

Technical Requirements:

  • Must be compatible with MetaTrader 5 (MQL5).

  • Clean, commented code for future adjustments.

  • The EA must handle "Requotes" and "Broker Busy" errors gracefully during high volatility.







Han respondido

1
Desarrollador 1
Evaluación
(107)
Proyectos
175
25%
Arbitraje
23
13% / 78%
Caducado
16
9%
Trabaja
2
Desarrollador 2
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(40)
Proyectos
45
60%
Arbitraje
2
100% / 0%
Caducado
1
2%
Libre
Ha publicado: 5 ejemplos
4
Desarrollador 4
Evaluación
(1)
Proyectos
1
0%
Arbitraje
3
0% / 100%
Caducado
1
100%
Libre
5
Desarrollador 5
Evaluación
(46)
Proyectos
60
53%
Arbitraje
7
86% / 0%
Caducado
2
3%
Libre
6
Desarrollador 6
Evaluación
(30)
Proyectos
32
41%
Arbitraje
0
Caducado
3
9%
Trabaja
7
Desarrollador 7
Evaluación
(2)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
8
Desarrollador 8
Evaluación
(3)
Proyectos
1
100%
Arbitraje
3
0% / 100%
Caducado
0
Libre
9
Desarrollador 9
Evaluación
(16)
Proyectos
35
23%
Arbitraje
4
0% / 50%
Caducado
2
6%
Trabaja
10
Desarrollador 10
Evaluación
(20)
Proyectos
27
30%
Arbitraje
4
50% / 25%
Caducado
4
15%
Trabajando
11
Desarrollador 11
Evaluación
(2)
Proyectos
7
0%
Arbitraje
3
0% / 33%
Caducado
1
14%
Trabaja
12
Desarrollador 12
Evaluación
(2)
Proyectos
3
33%
Arbitraje
1
0% / 100%
Caducado
0
Libre
13
Desarrollador 13
Evaluación
(166)
Proyectos
176
45%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabaja
14
Desarrollador 14
Evaluación
(48)
Proyectos
57
35%
Arbitraje
15
27% / 60%
Caducado
1
2%
Libre
15
Desarrollador 15
Evaluación
(6)
Proyectos
5
0%
Arbitraje
4
25% / 75%
Caducado
2
40%
Libre
16
Desarrollador 16
Evaluación
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(33)
Proyectos
36
33%
Arbitraje
5
0% / 80%
Caducado
0
Trabaja
Ha publicado: 2 ejemplos
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Trabaja
Ha publicado: 9 artículos, 2 ejemplos
19
Desarrollador 19
Evaluación
(4)
Proyectos
10
50%
Arbitraje
1
0% / 100%
Caducado
2
20%
Libre
20
Desarrollador 20
Evaluación
(1)
Proyectos
1
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
21
Desarrollador 21
Evaluación
(9)
Proyectos
13
0%
Arbitraje
23
0% / 78%
Caducado
4
31%
Libre
22
Desarrollador 22
Evaluación
(3)
Proyectos
3
0%
Arbitraje
0
Caducado
0
Libre
23
Desarrollador 23
Evaluación
(169)
Proyectos
202
48%
Arbitraje
5
20% / 60%
Caducado
2
1%
Libre
24
Desarrollador 24
Evaluación
(512)
Proyectos
551
53%
Arbitraje
13
69% / 15%
Caducado
3
1%
Libre
25
Desarrollador 25
Evaluación
(7)
Proyectos
5
0%
Arbitraje
5
0% / 80%
Caducado
1
20%
Trabaja
26
Desarrollador 26
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
27
Desarrollador 27
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
28
Desarrollador 28
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
29
Desarrollador 29
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
30
Desarrollador 30
Evaluación
(131)
Proyectos
171
39%
Arbitraje
10
40% / 10%
Caducado
31
18%
Trabaja
Solicitudes similares
I am looking for an experienced MT4 developer or strategy tester to run a comprehensive optimization of my existing Expert Advisor (EA). The EA is already developed and working as intended — your task will be to configure and execute the optimization process using the "Every tick based on real ticks" model. Scope of Work: Run EA optimization in MT4 Strategy Tester. Use "Every tick based on real ticks" as the

Información sobre el proyecto

Presupuesto
30 - 600 USD