MT5 Expert Advisor – Manual Entry with Auto Hedge and Dynamic Lot Sequence

Job finished

Execution time 9 days
Feedback from customer
Professional, reliable, and fast. Everything works as expected. Highly recommended. I truly appreciate the effort and would gladly collaborate again on future projects. ✊👍👍👍

Specification

MetaTrader 5 Expert Advisor

Manual Start – Auto Hedge – Dynamic Lot Sequence – Price-Based SL/TP


1. Platform & Account

- Platform: MetaTrader 5

- Account type: Hedging

- Broker: Exness

- Must work on Cent and Standard accounts

- Symbol: XAUUSD

- Must support different symbol digits automatically


2. First Trade (Manual Only)

- EA must NOT open the first trade

- First trade is opened manually by the trader

- Direction: Buy or Sell

- Lot size: chosen manually by the trader

- EA starts only after detecting this manual trade


3. Lot Sequence (Input Parameter Only)

Example:

LotSequence = "0.01,0.02,0.03,0.04,0.05,0.06,0.07,0.08,0.09,0.10,0.11,0.12,0.13"


Rules:

- EA detects which lot from LotSequence was used manually

- EA continues from the next lot in sequence

- Each Stop Loss -> next lot

- Any Take Profit -> reset to first lot

- If last lot is used and TP not hit -> stop opening new trades

- No martingale formulas

- No x2 / 4-3 logic

- No balance-based lot calculation


4. Stop Loss & Take Profit (Price-Based)

For XAUUSD:

- Take Profit = +4.00 USD price movement

- Stop Loss = -3.00 USD price movement


Must work on:

- Cent accounts (~4000 / 3000 points)

- Standard accounts (~400 / 300 points)


Use:

- SYMBOL_POINT

- SYMBOL_DIGITS

- SYMBOL_TRADE_TICK_SIZE

Do NOT hardcode points.


5. Core Trading Logic

- Manual trade gets TP +4.00 and SL -3.00

- At SL price place opposite pending order

  Buy -> Sell Stop

  Sell -> Buy Stop

- Pending order lot = next LotSequence value

- Pending order also has TP +4.00 and SL -3.00

- SL price is always the same as next pending order price


6. Stop Loss Continuation

- If SL is hit, pending order becomes market order

- EA moves to next lot

- EA sets TP/SL

- EA places next opposite pending order at SL price

- Continue until TP hit or LotSequence ends


7. Take Profit Reset

- If any trade hits TP:

  Close all open and pending orders

  Reset lot index to first lot

  Open new trade in TP direction with first lot


8. General Settings

- Magic Number input

- Slippage input

- Max Spread optional

- Enable/Disable EA


9. Technical Requirements

- Pure MQL5

- Clean, commented code

- No DLL

- No indicators

- No hidden logic


Responded

1
Developer 1
Rating
(13)
Projects
20
40%
Arbitration
1
0% / 100%
Overdue
1
5%
Free
2
Developer 2
Rating
(283)
Projects
354
29%
Arbitration
37
27% / 65%
Overdue
10
3%
Loaded
3
Developer 3
Rating
(22)
Projects
28
7%
Arbitration
9
33% / 33%
Overdue
1
4%
Working
4
Developer 4
Rating
(395)
Projects
556
41%
Arbitration
30
57% / 3%
Overdue
57
10%
Free
Published: 11 codes
5
Developer 5
Rating
(436)
Projects
643
53%
Arbitration
35
63% / 20%
Overdue
6
1%
Working
6
Developer 6
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
7
Developer 7
Rating
(329)
Projects
515
19%
Arbitration
35
46% / 31%
Overdue
34
7%
Working
8
Developer 8
Rating
(22)
Projects
29
3%
Arbitration
4
25% / 0%
Overdue
3
10%
Free
9
Developer 9
Rating
(111)
Projects
183
25%
Arbitration
25
16% / 76%
Overdue
16
9%
Free
10
Developer 10
Rating
(16)
Projects
35
23%
Arbitration
4
0% / 50%
Overdue
2
6%
Working
11
Developer 11
Rating
(6)
Projects
13
62%
Arbitration
1
0% / 100%
Overdue
2
15%
Working
12
Developer 12
Rating
(268)
Projects
603
34%
Arbitration
65
22% / 57%
Overdue
146
24%
Working
Published: 1 article, 22 codes
13
Developer 13
Rating
(45)
Projects
53
57%
Arbitration
2
100% / 0%
Overdue
1
2%
Free
Published: 5 codes
14
Developer 14
Rating
(619)
Projects
722
33%
Arbitration
46
48% / 41%
Overdue
14
2%
Busy
15
Developer 15
Rating
(7)
Projects
5
0%
Arbitration
5
0% / 80%
Overdue
1
20%
Working
16
Developer 16
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
17
Developer 17
Rating
Projects
0
0%
Arbitration
1
0% / 100%
Overdue
0
Free
18
Developer 18
Rating
(59)
Projects
92
42%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
19
Developer 19
Rating
(9)
Projects
10
10%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(9)
Projects
16
19%
Arbitration
2
0% / 50%
Overdue
3
19%
Loaded
21
Developer 21
Rating
(515)
Projects
554
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
22
Developer 22
Rating
(2676)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
23
Developer 23
Rating
(3)
Projects
3
100%
Arbitration
0
Overdue
0
Working
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
(369)
Projects
454
55%
Arbitration
24
54% / 17%
Overdue
30
7%
Loaded
27
Developer 27
Rating
(24)
Projects
32
38%
Arbitration
4
50% / 25%
Overdue
5
16%
Working
28
Developer 28
Rating
(271)
Projects
553
50%
Arbitration
57
40% / 37%
Overdue
227
41%
Working
29
Developer 29
Rating
(49)
Projects
74
18%
Arbitration
30
17% / 53%
Overdue
31
42%
Free
Similar orders
Hi, I need an experienced NinjaTrader 8/NinjaScript developer to finish or rebuild an automated futures strategy, ideally by the end of this week. I already have the complete TradingView Pine Script reference strategy, an existing ~2,000-line NinjaScript implementation, Playback logs, and known historical benchmark trades. MOST IMPORTANT REQUIREMENT: TRADINGVIEW ↔ NINJATRADER PARITY. The Pine Script is the reference
I am looking for a developer experienced in EAs, MT5 and trade management optimization to help me add an intelligent early-exit system to my existing XAUUSD trading robot. The EA is already fully functional and performs best on the M15 timeframe. The entry strategy, BUY/SELL logic, sessions and core structure are already implemented. The work should focus exclusively on adding early exits for trades that are
I need a custom MQL5 indicator for MetaTrader 5. The indicator must automatically print entry, stop loss, and take profit zones on the chart using dots. A critical requirement is that these dots must be non-lagging and absolutely non-repainting. Additionally, the indicator needs to identify and display current supply and demand zones. Please provide the mq5 source code and the ex5 file upon completion
PHANTOM PROTOCOL V1 35 - 150 USD
PHANTOM PROTOCOL V1 – MT5 EXPERT ADVISOR SPECIFICATION Develop a professional MetaTrader 5 (MT5) Expert Advisor named “PHANTOM PROTOCOL V1”. PRIMARY MARKET: - XAUUSD (Gold) - Designed primarily for M15 and H1 timeframes. - The EA must work with both 3-digit and 2-digit gold pricing where applicable. TRADING LOGIC: Use pure price-action and market-structure analysis rather than relying on a single indicator. The EA
I need an experienced trading-data specialist who can help me obtain 3–4 years of historical market data compatible with NinjaTrader 8 . The data will be used for trading strategy development, backtesting, and analysis
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total

Project information

Budget
100 - 200 USD
Deadline
from 5 to 10 day(s)