PROJECT TITLE: MT5 Semi-Auto EA - Dynamic Volume Exhaustion & Time-Delayed Entry (UI Panel)

Specification

PROJECT TITLE: MT5 Semi-Auto EA - Dynamic Volume Exhaustion & Time-Delayed Entry (UI Panel)

1. GENERAL OVERVIEW

·    Platform: MetaTrader 5 (MT5). Must enforce Hedging account. The EA must check ACCOUNT_MARGIN_MODE at OnInit and refuse to load if placed on a Netting account.

·    Symbol: Any (Dynamic based on the active chart via _Symbol). I will trade both XAUUSD (Mon-Fri) and BTCUSD (24/7 including weekends). The EA must handle weekend data and timer logic flawlessly.

·    Language Requirement: English strictly for both source code and UI.

·    Timeframe: Adjustable via Inputs. EA must calculate all logic based ONLY on the timeframe selected in the settings.

·    Core Strategy: Dynamic volume drop tracking, instant position exit, and a 50% time-delayed Limit Entry based on intra-candle dynamic High/Low.

2. ON-CHART UI & STATE PERSISTENCE (CRUCIAL) Custom UI Panel drawn on the chart. It must include:

·    HUD - ACCOUNT & PROFIT DASHBOARD: A clean, real-time display at the top of the panel showing:

1.    Account Balance

2.    Total Floating P/L (Currency/USD)

3.    Total Floating P/L (%)

·    Button 1 - "ON / OFF BOT" (Green = ON, Red = OFF).

·    Button 2 - "PANIC CLOSE ALL": With a Yes/No confirmation dialog. If "Yes", it unconditionally closes ALL open positions and pending orders for that symbol (completely ignoring all checkbox exclusions).

·    Checkbox 1 - "Auto Stop Loss" & Checkbox 2 - "Auto Take Profit": Apply Input % to new trades if checked.

·    Panel 3 - "ORDER MANAGEMENT PANEL": A visual table listing every currently open order with a Checkbox next to each.

o    Logic: If checked, the EA COMPLETELY IGNORES that specific position (no automated SL/TP, no automated exits). Unticked orders remain managed.

o    State Persistence (Mandatory): I turn my PC/MT5 off daily. The ticked/unticked state of each position, as well as the running High/Low data mid-candle, MUST survive terminal restarts and timeframe changes using Persistent Storage (e.g., GlobalVariables or file-backed storage).

3. INPUT PARAMETERS

·    Operation Mode: ["Full Auto" / "Manage Manual Only"]

·    Calculation Timeframe: [ENUM_TIMEFRAMES]

·    Lot Size: [Default: 0.1]

·    Stop Loss (% of Entry) & Take Profit (% of Entry): Computed strictly from the limit price (MidPrice), not the market price at placement time.

·    Enable Hard Take Profit: [True/False]

·    Hard Take Profit Price: [Default: 0.0] (Logic: Close absolutely EVERYTHING when Bid/Ask price reaches this exact level. Note: EA should only act on a fresh crossing after initialization to avoid unexpected mass closures upon startup).

·    Volume Drop Threshold (%): [Default: 30] ((V_Prev - V_Closed) / V_Prev) * 100. (I will optimize this dynamically for XAU vs BTC).

·    MidPrice Unreachable Action: [Dropdown: Skip / Market / Stop Order]. Default: Skip. (Determines the EA's action if the market price has already passed the calculated MidPrice, making a Limit order invalid).

4. CORE LOGIC: EXHAUSTION & TIME-DELAYED LIMIT ENTRY Let C_Closed be the most recently closed candle. Let C_Prev be the candle before it. Let C_Current be the currently forming candle. (Max 1 automated open trade or pending order at a time).

A. THE TRIGGER & FLAT STATE DIRECTION

·    Condition: Tick Volume of C_Closed drops by at least [Volume Drop Threshold %] compared to C_Prev.

·    Direction Logic:

o    If holding a BUY -> Trigger SELL setup.

o    If holding a SELL -> Trigger BUY setup.

o    If Flat (No positions): Take direction from C_Closed. If Bearish -> SELL setup. If Bullish -> BUY setup.

B. THE EXECUTION (Intra-Candle Time Delay) If triggered, execute the following fully automated sequence on C_Current:

1.    Instant Exit: At the exact open tick of C_Current, instantly CLOSE the existing automated position.

2.    The 50% Time Wait (OnTimer): Do NOT use OnTick() for this. Drive the timing with OnTimer() at 1-second resolution to wait until exactly 50% of the timeframe's duration has passed.

3.    Dynamic Price Calculation: At that exact 50% mark, calculate: MidPrice = (Highest of 1st half + Lowest of 1st half) / 2.

4.    Order Validation & Fallback: Before sending the order, check if it respects SYMBOL_TRADE_STOPS_LEVEL to prevent silent server rejections. If the price is unreachable or too close, execute the MidPriceUnreachableAction (default: silently log and Skip this candle, then resume scanning).

5.    Order Placement: Place a LIMIT order exactly at MidPrice.

6.    Pending Expiration: If unfilled by the exact open of the next candle, DELETE the pending order.

5. SECURITY & LICENSING (HARDCODED)

·    Hardcode at the very top of .mq5: long AllowedAccountNumber = 0; and datetime ExpirationDate = D'2099.01.01';

·    If AllowedAccountNumber != 0 and doesn't match the active account -> EA fails to load.

·    If current broker time > ExpirationDate -> Stop trading, delete pending, alert "License Expired".

6. DELIVERY & DEMONSTRATION

·    Tester Reports: MUST provide TWO MT5 Strategy Tester Reports (One for XAUUSD, One for BTCUSD including weekend data) covering 6 months, using "Every tick based on real ticks".

·    Visual Proof: Provide a short screen recording on a Demo account proving that Checkboxes correctly isolate trades, and that State Persistence works flawlessly after an MT5 restart.

·    Delivery: Open-source code (.mq5) and compiled file (.ex5).

 

-         require a 1-day trial period before payment to verify:

Portfolio or previous work to demonstrate your expertise.

Ability to build a professional custom solution from scratch.

Commitment to quality, clean code, and post-delivery support.

 


Files:

TXT
MT5.txt
5.5 Kb

Responded

1
Developer 1
Rating
(108)
Projects
179
25%
Arbitration
24
17% / 75%
Overdue
16
9%
Free
2
Developer 2
Rating
(434)
Projects
640
53%
Arbitration
34
62% / 21%
Overdue
6
1%
Working
3
Developer 3
Rating
(106)
Projects
129
25%
Arbitration
24
29% / 54%
Overdue
8
6%
Free
4
Developer 4
Rating
(62)
Projects
90
29%
Arbitration
24
13% / 58%
Overdue
7
8%
Working
5
Developer 5
Rating
(5)
Projects
5
0%
Arbitration
5
0% / 40%
Overdue
0
Free
6
Developer 6
Rating
(2)
Projects
2
50%
Arbitration
0
Overdue
0
Working
Published: 1 code
7
Developer 7
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
8
Developer 8
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
9
Developer 9
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(389)
Projects
501
23%
Arbitration
60
55% / 25%
Overdue
59
12%
Working
11
Developer 11
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
12
Developer 12
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
(28)
Projects
34
35%
Arbitration
0
Overdue
2
6%
Free
15
Developer 15
Rating
(14)
Projects
20
25%
Arbitration
0
Overdue
2
10%
Free
Published: 3 codes
16
Developer 16
Rating
(13)
Projects
22
41%
Arbitration
8
0% / 50%
Overdue
3
14%
Free
17
Developer 17
Rating
(9)
Projects
14
43%
Arbitration
1
100% / 0%
Overdue
2
14%
Working
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
20
Developer 20
Rating
(25)
Projects
31
13%
Arbitration
13
0% / 77%
Overdue
9
29%
Free
21
Developer 21
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
22
Developer 22
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
23
Developer 23
Rating
(258)
Projects
267
30%
Arbitration
0
Overdue
3
1%
Working
Published: 2 codes
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(160)
Projects
205
60%
Arbitration
10
80% / 0%
Overdue
0
Working
Published: 1 code
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
27
Developer 27
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
28
Developer 28
Rating
Projects
1
0%
Arbitration
0
Overdue
0
Free
29
Developer 29
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
30
Developer 30
Rating
(3)
Projects
3
100%
Arbitration
0
Overdue
0
Working
31
Developer 31
Rating
(27)
Projects
43
7%
Arbitration
18
6% / 78%
Overdue
26
60%
Free
32
Developer 32
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Published: 1 code
33
Developer 33
Rating
(14)
Projects
15
40%
Arbitration
2
50% / 50%
Overdue
1
7%
Free
34
Developer 34
Rating
(4)
Projects
6
17%
Arbitration
3
0% / 67%
Overdue
0
Free
35
Developer 35
Rating
(202)
Projects
263
22%
Arbitration
23
52% / 17%
Overdue
0
Loaded
36
Developer 36
Rating
(365)
Projects
442
55%
Arbitration
22
50% / 14%
Overdue
30
7%
Busy
37
Developer 37
Rating
(2672)
Projects
3408
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
38
Developer 38
Rating
(14)
Projects
27
41%
Arbitration
3
0% / 67%
Overdue
6
22%
Working
39
Developer 39
Rating
(59)
Projects
91
43%
Arbitration
4
0% / 100%
Overdue
3
3%
Working
40
Developer 40
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
41
Developer 41
Rating
(4)
Projects
5
0%
Arbitration
0
Overdue
0
Free
42
Developer 42
Rating
(61)
Projects
83
45%
Arbitration
27
11% / 70%
Overdue
8
10%
Free
43
Developer 43
Rating
(6)
Projects
7
43%
Arbitration
1
0% / 100%
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
Similar orders
Iconic Boy 300 - 400 USD
Am looking for a bot to trade .so that I can be able to trade and become very successful and make some profit so that I cannot sleep on a empty stomach
Hello Traders and Investors, I am a professional algorithmic trading developer specialized in building high-quality Expert Advisors (EAs), Indicators, Scripts, and Trade Management Tools for MetaTrader 4 and MetaTrader 5. With extensive experience in financial markets and trading automation, I can transform your trading ideas into reliable and efficient solutions with clean, optimized, and well-structured code. My
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
MT4/MT5 HFT EA us30 30 - 3000 USD
Hello everybody, I'm looking for an experienced MQL4/MQL5 developer to optimize a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5. The EA performs consistently and profitably on demo accounts, but when it is run on Raw and Standard live accounts under what appear to be the same trading conditions, it begins generating losses. I do not have the original source code (.mq4/.mq5); I only have the
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
I am looking for an experienced MQL5 developer to build a high-frequency (HFT) latency arbitrage Expert Advisor for Pepperstone MT5 , using LMAX as the leading price feed. The initial focus will be on US30 (Dow Jones) , and if the strategy proves successful, I want the EA to be easily expandable to additional symbols such as NAS100, GER40, XAUUSD, major forex pairs, and other supported instruments. The EA should
QUIERO CONSEGUIR EL CODIGO FUENTE DE ESTE INDICADOR QUE ME GUSTA MUCHO TAMBIEN TIENE EL NOMBRE DE ET BANDS O ENTRY EXIT TIMING . no se los componentes pero estas son las imagenes. que mejor lo describen
Hello Developers, I want to build a custom Expert Advisor (EA) for MetaTrader 5 (MT5) to trade Gold (XAUUSD) and Bitcoin (BTCUSD). This will be based on my own custom strategy. Here are the project requirements: 1. Platform: MetaTrader 5 (MQL5) 2. Trading Assets: Gold (XAUUSD) and Bitcoin (BTCUSD) 3. Timeframe: Suitable for multi-timeframe execution (I will specify the exact timeframes in private chat) 4. Core
Standby Description . Prop Firm Environment . ( Monitor Execution and Handling Environment Changes as Required ) . Technical Issues . Delete extra lines of code (Clean Code , Folder) . Asset related translation , no need for Logic Alteration
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE

Project information

Budget
120 - 250 USD
Deadline
from 1 to 10 day(s)

Customer

Placed orders1
Arbitrage count0