Project Title: MQL5 Trade Manager for TradingView Webhook Signals

MQL5 스크립트 다른

명시


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.







응답함

1
개발자 1
등급
(107)
프로젝트
175
25%
중재
23
13% / 78%
기한 초과
16
9%
작업중
2
개발자 2
등급
(2)
프로젝트
2
0%
중재
0
기한 초과
0
무료
3
개발자 3
등급
(40)
프로젝트
45
60%
중재
2
100% / 0%
기한 초과
1
2%
무료
게재됨: 5 코드
4
개발자 4
등급
(1)
프로젝트
1
0%
중재
3
0% / 100%
기한 초과
1
100%
무료
5
개발자 5
등급
(46)
프로젝트
60
53%
중재
7
86% / 0%
기한 초과
2
3%
무료
6
개발자 6
등급
(30)
프로젝트
32
41%
중재
0
기한 초과
3
9%
작업중
7
개발자 7
등급
(2)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료
8
개발자 8
등급
(3)
프로젝트
1
100%
중재
3
0% / 100%
기한 초과
0
무료
9
개발자 9
등급
(16)
프로젝트
35
23%
중재
4
0% / 50%
기한 초과
2
6%
작업중
10
개발자 10
등급
(20)
프로젝트
27
30%
중재
4
50% / 25%
기한 초과
4
15%
로드됨
11
개발자 11
등급
(2)
프로젝트
7
0%
중재
3
0% / 33%
기한 초과
1
14%
작업중
12
개발자 12
등급
(2)
프로젝트
3
33%
중재
1
0% / 100%
기한 초과
0
무료
13
개발자 13
등급
(166)
프로젝트
176
45%
중재
3
33% / 33%
기한 초과
1
1%
작업중
14
개발자 14
등급
(48)
프로젝트
57
35%
중재
15
27% / 60%
기한 초과
1
2%
무료
15
개발자 15
등급
(6)
프로젝트
5
0%
중재
4
25% / 75%
기한 초과
2
40%
무료
16
개발자 16
등급
프로젝트
0
0%
중재
1
0% / 100%
기한 초과
0
무료
17
개발자 17
등급
(33)
프로젝트
36
33%
중재
5
0% / 80%
기한 초과
0
작업중
게재됨: 2 코드
18
개발자 18
등급
프로젝트
0
0%
중재
0
기한 초과
0
작업중
게재됨: 9 기고글, 2 코드
19
개발자 19
등급
(4)
프로젝트
10
50%
중재
1
0% / 100%
기한 초과
2
20%
무료
20
개발자 20
등급
(1)
프로젝트
1
0%
중재
1
0% / 100%
기한 초과
0
무료
21
개발자 21
등급
(9)
프로젝트
13
0%
중재
23
0% / 78%
기한 초과
4
31%
무료
22
개발자 22
등급
(3)
프로젝트
3
0%
중재
0
기한 초과
0
무료
23
개발자 23
등급
(169)
프로젝트
202
48%
중재
5
20% / 60%
기한 초과
2
1%
무료
24
개발자 24
등급
(512)
프로젝트
551
53%
중재
13
69% / 15%
기한 초과
3
1%
무료
25
개발자 25
등급
(7)
프로젝트
5
0%
중재
5
0% / 80%
기한 초과
1
20%
작업중
26
개발자 26
등급
(298)
프로젝트
477
40%
중재
105
40% / 24%
기한 초과
81
17%
로드됨
게재됨: 2 코드
27
개발자 27
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
28
개발자 28
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
29
개발자 29
등급
프로젝트
0
0%
중재
0
기한 초과
0
무료
30
개발자 30
등급
(131)
프로젝트
171
39%
중재
10
40% / 10%
기한 초과
31
18%
작업중
비슷한 주문
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

프로젝트 정보

예산
30 - 600 USD