Project Title: MQL5 Trade Manager for TradingView Webhook Signals

MQL5 Scripts Other

Specification


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.







Responded

1
Developer 1
Rating
(104)
Projects
169
24%
Arbitration
23
9% / 78%
Overdue
16
9%
Working
2
Developer 2
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
3
Developer 3
Rating
(36)
Projects
37
57%
Arbitration
1
100% / 0%
Overdue
1
3%
Working
Published: 5 codes
4
Developer 4
Rating
(1)
Projects
1
0%
Arbitration
3
0% / 100%
Overdue
1
100%
Free
5
Developer 5
Rating
(45)
Projects
57
51%
Arbitration
6
83% / 0%
Overdue
1
2%
Working
6
Developer 6
Rating
(16)
Projects
18
28%
Arbitration
0
Overdue
3
17%
Free
7
Developer 7
Rating
(2)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
8
Developer 8
Rating
(3)
Projects
1
100%
Arbitration
3
0% / 100%
Overdue
0
Free
9
Developer 9
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
10
Developer 10
Rating
(14)
Projects
19
11%
Arbitration
4
50% / 25%
Overdue
4
21%
Working
11
Developer 11
Rating
(2)
Projects
6
0%
Arbitration
2
0% / 50%
Overdue
1
17%
Working
12
Developer 12
Rating
(2)
Projects
3
33%
Arbitration
1
0% / 100%
Overdue
0
Free
13
Developer 13
Rating
(145)
Projects
154
42%
Arbitration
3
33% / 33%
Overdue
1
1%
Working
14
Developer 14
Rating
(42)
Projects
49
29%
Arbitration
14
21% / 64%
Overdue
1
2%
Loaded
15
Developer 15
Rating
(6)
Projects
5
0%
Arbitration
2
50% / 50%
Overdue
2
40%
Free
16
Developer 16
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
17
Developer 17
Rating
(32)
Projects
35
34%
Arbitration
5
0% / 80%
Overdue
0
Working
Published: 2 codes
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 articles, 2 codes
19
Developer 19
Rating
(4)
Projects
8
50%
Arbitration
1
0% / 100%
Overdue
1
13%
Working
20
Developer 20
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
21
Developer 21
Rating
(9)
Projects
13
0%
Arbitration
23
0% / 78%
Overdue
4
31%
Free
22
Developer 22
Rating
(3)
Projects
3
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(168)
Projects
200
48%
Arbitration
4
25% / 50%
Overdue
2
1%
Working
24
Developer 24
Rating
(511)
Projects
549
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
25
Developer 25
Rating
(7)
Projects
5
0%
Arbitration
6
0% / 83%
Overdue
1
20%
Working
26
Developer 26
Rating
(297)
Projects
476
40%
Arbitration
105
40% / 24%
Overdue
81
17%
Busy
Published: 2 codes
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
(131)
Projects
170
39%
Arbitration
10
40% / 0%
Overdue
30
18%
Working
Similar orders
Hi guys I’m looking for a coder who’s experienced in one script. The candidate must be familiar with fractals and self similarity. If you can’t code self similarity, please don’t bother contacting me ( respectfully). I just don’t want us to waste each others time. My budget is 100$. If that’s too low for you please, don’t contact me. Only contact me if you can code self similarity and can accept 100$. I will provide
Hi, We are currently looking for markets to assit in promoting our products to the tradng community. Interested indicaidal needs to have related marketing experience. Kinldy pm me with your experince if you are interested for further discussion
Hello I want a very profitable scalping EA , tight stoploss and low drawdown , for Xauusd or any pair, time frame any, daily profit 20$ minimum and minimum deposite 200$ maximum sir
I need screenshots for the MetaTrader 5 documentation - https://www.metatrader5.com/en/terminal/help I need you to remake all the images included in the guide, except for those on the very first page which are already up to date. You simply go through each page of the guide, and take the same images: same size, same interface elements, same set of charts/trades, symbols, etc. These include small icons of commands
I am looking for an experienced MQL5 developer to build a currency strength analysis tool for MetaTrader 5 , inspired by the functionality shown here: https://www.livecharts.co.uk/currency-strength.php The main idea is simple: calculate and display the relative strength of major forex currencies to support better trade decisions. However, the key feature I want (which is currently missing from most strength meters)
I am looking for a partner who can help scale an already working Forex trading system by bringing clients and capital. --------------------------------------- What I have: • Fully developed multi-pair Forex EA (28 pairs) • ~15+ years backtest data • ~2 years live trading • Strong convergence between backtest and live performance • Existing presence on copy trading platforms • Infrastructure to host trading terminals
Looking for a Marketing Partner for my EAs! I am a developer looking for an experienced partner to help promote and market my Expert Advisors (MT4/MT5). How it works: > * I handle the coding, updates, and technical support. You handle the marketing, outreach, and bringing in traders. Compensation: We work on a Revenue Share / Profit Split basis. If you have an audience of traders or know how to market forex tools
Existing EA 30 USD
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or
I’m looking to acquire an existing, profitable Expert Advisor (EA) with full source code to add to our client investment portfolio. To be clear, this is not a request to develop or design a new strategy. If you already have an EA that is proven, consistent, and production-ready, I’m open to reviewing it immediately. Please apply only if you meet all the requirements below. Submissions without a proper introduction or

Project information

Budget
30 - 600 USD