Need help or someone to create an expert advisor for automated trading, thanks

Specification

Project: MT5 Expert Advisor — Dual-Sided Hedging Grid with Fibonacci Lot Progression
I need a custom Expert Advisor (EA) developed in MQL5 for MetaTrader 5.

1. Trading Strategy
The EA must open both Buy and Sell market positions when a new trading cycle starts, provided the broker account supports hedging.

The EA must manage the Buy and Sell directions independently.

When the market moves downward against the Buy grid, open additional Buy positions at the configured pip interval.
When the market moves upward against the Sell grid, open additional Sell positions at the configured pip interval.
The EA must use a configurable grid spacing and take-profit distance.
The EA must not open duplicate positions at the same grid level.
2. Lot Size Progression
The first three lot sizes must be configurable, with the following defaults:

First trade: 0.01 lots
Second trade: 0.02 lots
Third trade: 0.03 lots
Starting with the fourth trade, calculate each new lot size as the sum of the previous two lot sizes.

Example sequence:

0.01, 0.02, 0.03, 0.05, 0.08, 0.13, 0.21, 0.34, 0.55, 0.89, and so on.

The Buy and Sell directions must each maintain their own independent lot sequence.

All lot sizes must comply with the broker's minimum lot, maximum lot, and volume-step requirements. Add a configurable maximum individual lot size.

3. Grid Entry Logic
Provide an input named GridStepPips.

Example: If GridStepPips is 50, the EA should add a Buy position whenever the market falls by another 50 pips from the previous qualifying Buy grid level. Similarly, it should add a Sell position whenever the market rises by another 50 pips from the previous qualifying Sell grid level.

The EA must track the last qualifying entry level independently for Buy and Sell trades and must not place multiple entries for the same level.

4. Take Profit
Provide an input named TakeProfitPips.

By default, each trade must have an individual take-profit level calculated from its own entry price.

Buy TP: entry price plus the configured TP distance.
Sell TP: entry price minus the configured TP distance.
The EA must allow the TP distance to be changed through the input settings.

Please also provide an optional setting for basket take profit, allowing the user to close all Buy positions, all Sell positions, or all EA positions when a configurable combined profit target is reached. Individual TP and basket TP must be managed separately.

5. Required Inputs
Please include:

InitialLot1 = 0.01
InitialLot2 = 0.02
InitialLot3 = 0.03
GridStepPips
TakeProfitPips
EnableBuy
EnableSell
StartBothDirections
MaxBuyPositions
MaxSellPositions
MaxLotSize
MaxSpreadPips
MaxDrawdownPercent
MagicNumber
EnableBasketTakeProfit
BasketProfitTarget
All settings must be configurable from the EA properties window.

6. Safety and Reliability
Support MT5 hedging accounts.
Calculate pips correctly for symbols with different digits and contract specifications.
Check available margin, spread, lot limits, and trading permissions.
Recover the existing grid state after terminal restart or EA reattachment.
Do not reset the lot sequence while existing positions from that sequence remain open.
Prevent duplicate trades at the same grid level.
Include maximum position and maximum lot limits.
Include equity drawdown protection and an emergency stop option.
Clearly document whether safety limits stop new trades or close existing positions.
Ensure that the EA manages only its own positions using its Magic Number and selected symbol.
Handle order rejection, requotes, connection loss, and other trade errors safely.
7. Testing and Deliverables
Please provide:

Compiled EA file (.ex5).
Editable MQL5 source code (.mq5).
Input parameter documentation.
Installation instructions.
Strategy Tester results and a demonstration of the grid and lot progression.
Testing with realistic spread, commissions, swap, and execution assumptions.
Please confirm the exact grid-entry logic, individual versus basket take-profit behavior, and drawdown-protection behavior before final delivery.

The EA must be tested on a demo account before live deployment.


1. When should the first Buy and Sell trades open?

Open both immediately when the EA starts


2. How should profits be taken?


Close all buy trades together at a combined profit target.

Same Close all buy trades together at a combined profit target.


What should happen after a trade or grid closes?


Start a fresh cycle with 0.01, 0.02, 0.03 lots.

Responded

1
Developer 1
Rating
(438)
Projects
649
53%
Arbitration
35
63% / 20%
Overdue
7
1%
Working
2
Developer 2
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
3
Developer 3
Rating
(2)
Projects
4
0%
Arbitration
0
Overdue
0
Free
4
Developer 4
Rating
(264)
Projects
311
75%
Arbitration
16
69% / 0%
Overdue
6
2%
Working
5
Developer 5
Rating
(45)
Projects
63
52%
Arbitration
5
0% / 40%
Overdue
1
2%
Free
6
Developer 6
Rating
(185)
Projects
199
47%
Arbitration
4
50% / 25%
Overdue
1
1%
Working
7
Developer 7
Rating
(12)
Projects
13
23%
Arbitration
7
0% / 71%
Overdue
3
23%
Working
8
Developer 8
Rating
(215)
Projects
280
21%
Arbitration
27
56% / 15%
Overdue
0
Loaded
9
Developer 9
Rating
(101)
Projects
141
52%
Arbitration
5
40% / 60%
Overdue
0
Free
10
Developer 10
Rating
(23)
Projects
34
53%
Arbitration
1
100% / 0%
Overdue
1
3%
Free
11
Developer 11
Rating
(8)
Projects
8
0%
Arbitration
2
50% / 0%
Overdue
1
13%
Working
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
(6)
Projects
7
71%
Arbitration
0
Overdue
0
Working
Published: 1 article, 2 codes
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(2)
Projects
2
0%
Arbitration
1
0% / 100%
Overdue
0
Free
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
(215)
Projects
317
34%
Arbitration
63
37% / 40%
Overdue
102
32%
Free
18
Developer 18
Rating
(54)
Projects
68
43%
Arbitration
15
27% / 60%
Overdue
1
1%
Working
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Working
20
Developer 20
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
21
Developer 21
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 3 codes
22
Developer 22
Rating
(41)
Projects
78
40%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(465)
Projects
815
49%
Arbitration
76
21% / 50%
Overdue
142
17%
Working
24
Developer 24
Rating
(268)
Projects
603
34%
Arbitration
65
22% / 57%
Overdue
146
24%
Working
Published: 1 article, 22 codes
25
Developer 25
Rating
(4)
Projects
10
60%
Arbitration
0
Overdue
0
Working
26
Developer 26
Rating
(402)
Projects
520
24%
Arbitration
61
57% / 25%
Overdue
60
12%
Busy
27
Developer 27
Rating
(30)
Projects
38
45%
Arbitration
4
50% / 50%
Overdue
3
8%
Working
28
Developer 28
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
1
50%
Free
29
Developer 29
Rating
(2)
Projects
3
33%
Arbitration
1
0% / 0%
Overdue
1
33%
Working
Published: 3 codes
30
Developer 30
Rating
(2678)
Projects
3424
68%
Arbitration
78
49% / 14%
Overdue
343
10%
Free
Published: 1 code
31
Developer 31
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 2 codes
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
33
Developer 33
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
34
Developer 34
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
35
Developer 35
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
36
Developer 36
Rating
(319)
Projects
574
35%
Arbitration
83
31% / 45%
Overdue
207
36%
Free
37
Developer 37
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
38
Developer 38
Rating
(370)
Projects
460
55%
Arbitration
24
58% / 17%
Overdue
31
7%
Free
39
Developer 39
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
40
Developer 40
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
41
Developer 41
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
42
Developer 42
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
43
Developer 43
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
44
Developer 44
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
45
Developer 45
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
46
Developer 46
Rating
(6)
Projects
8
38%
Arbitration
2
50% / 50%
Overdue
2
25%
Free
47
Developer 47
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
48
Developer 48
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
49
Developer 49
Rating
(852)
Projects
1470
72%
Arbitration
122
29% / 48%
Overdue
361
25%
Free
Published: 3 articles
50
Developer 50
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
51
Developer 51
Rating
(170)
Projects
203
47%
Arbitration
5
20% / 60%
Overdue
3
1%
Free
52
Developer 52
Rating
(4)
Projects
8
0%
Arbitration
3
33% / 67%
Overdue
4
50%
Free
53
Developer 53
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
54
Developer 54
Rating
(13)
Projects
21
38%
Arbitration
0
Overdue
1
5%
Working
55
Developer 55
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
56
Developer 56
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
57
Developer 57
Rating
(1)
Projects
1
100%
Arbitration
0
Overdue
0
Free
58
Developer 58
Rating
(515)
Projects
554
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
59
Developer 59
Rating
(60)
Projects
95
42%
Arbitration
4
0% / 100%
Overdue
4
4%
Free
60
Developer 60
Rating
(29)
Projects
36
39%
Arbitration
0
Overdue
2
6%
Free
61
Developer 61
Rating
(23)
Projects
32
41%
Arbitration
9
22% / 33%
Overdue
4
13%
Loaded
Published: 8 articles, 35 codes
62
Developer 62
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
63
Developer 63
Rating
(574)
Projects
945
47%
Arbitration
309
58% / 27%
Overdue
125
13%
Free
64
Developer 64
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
65
Developer 65
Rating
(1)
Projects
4
50%
Arbitration
3
0% / 100%
Overdue
2
50%
Free
Published: 4 codes
66
Developer 66
Rating
(10)
Projects
12
0%
Arbitration
3
33% / 33%
Overdue
0
Free
67
Developer 67
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
68
Developer 68
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
69
Developer 69
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
70
Developer 70
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
71
Developer 71
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
72
Developer 72
Rating
(561)
Projects
857
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
73
Developer 73
Rating
(1)
Projects
2
50%
Arbitration
0
Overdue
1
50%
Working
74
Developer 74
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
75
Developer 75
Rating
(57)
Projects
72
22%
Arbitration
13
46% / 15%
Overdue
5
7%
Free
76
Developer 76
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
77
Developer 77
Rating
(4)
Projects
7
57%
Arbitration
1
100% / 0%
Overdue
0
Free
78
Developer 78
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
79
Developer 79
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
80
Developer 80
Rating
(298)
Projects
478
40%
Arbitration
105
40% / 24%
Overdue
82
17%
Loaded
Published: 2 codes
Similar orders
// Meta Scalper EA - RSI + Breakout + Lot Management #property strict #include <Trade\Trade.mqh> CTrade trade; input int RSI_Period=14; input double RSI_Overbought=70; input double RSI_Oversold=30; input int Breakout_Period=20; input int ATR_Period=14; input double ATR_Multiplier_SL=1.5; input double ATR_Multiplier_TP=3.0; input bool UseRiskPercent=true; input double RiskPercent=2.0; input double FixedLot=0.1; input
BUDGET: 100-120 USD - FIXED - includes source code .mq5 + .ex5 I will test demo first on 100$ demo account. If good, I pay. WHAT I WANT: 1. SIGNAL STRENGTH LOGIC: - WEAK SIGNAL = 1 position only. - STRONG SIGNAL = 2,3,4,5 positions (more positions because signal is strong). - Signal strength calculated by indicators. 2. ADAPTIVE TO CAPITAL: - Lot auto = Balance / 100 * 0.01. Example 100$ = 0.01 lot, 300$ = 0.03 lot
I currently use nt8 trading platform. I trade with kelterband channel indicator and 80sma. Would like a custom indicator added to chart trader to get into trade manually when band crosses sma, 3 separate buttons for buy sell close of yellow band, mid band (blue) and 80 sma (purple). also need contract size button and tick offset button. when i enter a trade i want it to trail the band until price hits it and gets me
Hello lovies, I’m reaching out because I’m working on a specialized macroeconomic intelligence service focused on major economic releases and their potential impact on gold (XAUUSD), the US dollar, and the wider financial markets. My approach goes beyond simply following the economic calendar. I focus on understanding the information behind upcoming events, market expectations, and the potential implications for
Platform: MT5 only (no MT4 needed). Deliverable: an MT5 Expert Advisor with full source code (.mq5) that replicates the attached TradingView strategy (Pine Script v6, based on LuxAlgo's "ICT Killzones Toolkit" order blocks) as exactly as possible. Pasting the code into TradingView shows how it operates. I normally trade GBPUSD on the 5-minute chart Expected behavior: - Order block detection must match the Pine code
Requirements Specification: Debug & Error Fixing: Review the entire source code of the MQL expert advisor. Identify and fix all logical errors, bugs, and performance issues that cause trades to close prematurely or yield extremely low profits. Strategy Restructuring & Optimization: Fully analyze and optimize the current entry and exit strategy for USDJPY and GBPUSD. Modify, upgrade, or completely rewrite the entry
I am looking for an MQL5 developer to independently review an existing EA’s execution and position management logic. The review should focus on duplicate orders, trade isolation by symbol and magic number, broker price and volume constraints, error handling, and recovery after a terminal restart. This order is for an audit report. Please do not modify the source or change the trading strategy. For each finding
I have an existing compiled MetaTrader 5 Expert Advisor (EX5) designed for automated XAUUSD scalping. I want an experienced developer to assess and implement a solution to execute the EA’s original trading strategy through my broker’s FIX API. Requirements: Confirm the technical feasibility of connecting an existing MT5 EA to a broker FIX API. Explain how to obtain FIX API access and credentials from the broker
I’m looking for an experienced developer to build a fully automated XAUUSD scalping EA for MT5. Requirements: * Fast entries targeting small, profitable moves after trading costs. * Configurable fixed-target and trailing-stop modes. A $1 gold price move can trigger profit protection instead of closing the trade. * Once the profit trigger is reached, move the stop to cover costs and lock in a small net profit, then
Project Description: I need an MQL5 Expert Advisor built based on a precise Smart Money Concepts (SMC) multi-timeframe strategy. The bot must analyze the 1-Hour chart for institutional bias and execute trades on the 3-Minute chart following strict structural rules. 1. Inputs & Parameters (Customizable) - Risk Model: Fixed dollar risk of $20.00 for every $100.00 of account balance (20% per trade for personal capital

Project information

Budget
50 - 250 USD
Deadline
from 2 to 5 day(s)

Customer

Placed orders1
Arbitrage count0