Project Title: MQL5 Trade Manager for TradingView Webhook Signals

MQL5 Scripts Autre

Spécifications


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.







Répondu

1
Développeur 1
Évaluation
(107)
Projets
175
25%
Arbitrage
23
13% / 78%
En retard
16
9%
Travail
2
Développeur 2
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(40)
Projets
45
60%
Arbitrage
2
100% / 0%
En retard
1
2%
Gratuit
Publié : 5 codes
4
Développeur 4
Évaluation
(1)
Projets
1
0%
Arbitrage
3
0% / 100%
En retard
1
100%
Gratuit
5
Développeur 5
Évaluation
(46)
Projets
60
53%
Arbitrage
7
86% / 0%
En retard
2
3%
Gratuit
6
Développeur 6
Évaluation
(30)
Projets
32
41%
Arbitrage
0
En retard
3
9%
Travail
7
Développeur 7
Évaluation
(2)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
8
Développeur 8
Évaluation
(3)
Projets
1
100%
Arbitrage
3
0% / 100%
En retard
0
Gratuit
9
Développeur 9
Évaluation
(16)
Projets
35
23%
Arbitrage
4
0% / 50%
En retard
2
6%
Travail
10
Développeur 10
Évaluation
(20)
Projets
27
30%
Arbitrage
4
50% / 25%
En retard
4
15%
Chargé
11
Développeur 11
Évaluation
(2)
Projets
7
0%
Arbitrage
3
0% / 33%
En retard
1
14%
Travail
12
Développeur 12
Évaluation
(2)
Projets
3
33%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
13
Développeur 13
Évaluation
(166)
Projets
176
45%
Arbitrage
3
33% / 33%
En retard
1
1%
Travail
14
Développeur 14
Évaluation
(48)
Projets
57
35%
Arbitrage
15
27% / 60%
En retard
1
2%
Gratuit
15
Développeur 15
Évaluation
(6)
Projets
5
0%
Arbitrage
4
25% / 75%
En retard
2
40%
Gratuit
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
17
Développeur 17
Évaluation
(33)
Projets
36
33%
Arbitrage
5
0% / 80%
En retard
0
Travail
Publié : 2 codes
18
Développeur 18
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Travail
Publié : 9 articles, 2 codes
19
Développeur 19
Évaluation
(4)
Projets
10
50%
Arbitrage
1
0% / 100%
En retard
2
20%
Gratuit
20
Développeur 20
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
21
Développeur 21
Évaluation
(9)
Projets
13
0%
Arbitrage
23
0% / 78%
En retard
4
31%
Gratuit
22
Développeur 22
Évaluation
(3)
Projets
3
0%
Arbitrage
0
En retard
0
Gratuit
23
Développeur 23
Évaluation
(169)
Projets
202
48%
Arbitrage
5
20% / 60%
En retard
2
1%
Gratuit
24
Développeur 24
Évaluation
(512)
Projets
551
53%
Arbitrage
13
69% / 15%
En retard
3
1%
Gratuit
25
Développeur 25
Évaluation
(7)
Projets
5
0%
Arbitrage
5
0% / 80%
En retard
1
20%
Travail
26
Développeur 26
Évaluation
(298)
Projets
477
40%
Arbitrage
105
40% / 24%
En retard
81
17%
Chargé
Publié : 2 codes
27
Développeur 27
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
28
Développeur 28
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
29
Développeur 29
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
30
Développeur 30
Évaluation
(131)
Projets
171
39%
Arbitrage
10
40% / 10%
En retard
31
18%
Travail

Informations sur le projet

Budget
30 - 600 USD