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

Job finished

Execution time 1 day

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
(111)
Projects
183
25%
Arbitration
25
16% / 76%
Overdue
16
9%
Free
2
Developer 2
Rating
(436)
Projects
643
53%
Arbitration
35
63% / 20%
Overdue
6
1%
Working
3
Developer 3
Rating
(106)
Projects
129
25%
Arbitration
25
28% / 56%
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
(9)
Projects
11
27%
Arbitration
0
Overdue
2
18%
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
Published: 1 code
9
Developer 9
Rating
(1)
Projects
1
0%
Arbitration
1
0% / 100%
Overdue
0
Free
10
Developer 10
Rating
(398)
Projects
515
23%
Arbitration
60
57% / 25%
Overdue
60
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%
Working
15
Developer 15
Rating
(14)
Projects
21
24%
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
(10)
Projects
16
50%
Arbitration
1
100% / 0%
Overdue
4
25%
Free
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
14
0% / 79%
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
269
29%
Arbitration
2
50% / 0%
Overdue
3
1%
Working
Published: 2 codes
24
Developer 24
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
25
Developer 25
Rating
(161)
Projects
208
61%
Arbitration
10
80% / 0%
Overdue
0
Free
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
(3)
Projects
9
67%
Arbitration
0
Overdue
0
Working
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
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
Published: 4 codes
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
(211)
Projects
274
21%
Arbitration
24
54% / 17%
Overdue
0
Free
36
Developer 36
Rating
(369)
Projects
453
55%
Arbitration
24
54% / 17%
Overdue
30
7%
Loaded
37
Developer 37
Rating
(2676)
Projects
3414
68%
Arbitration
77
48% / 14%
Overdue
342
10%
Free
Published: 1 code
38
Developer 38
Rating
(16)
Projects
30
40%
Arbitration
3
33% / 67%
Overdue
7
23%
Working
39
Developer 39
Rating
(59)
Projects
92
42%
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
8
38%
Arbitration
1
0% / 100%
Overdue
0
Free
44
Developer 44
Rating
(8)
Projects
13
38%
Arbitration
0
Overdue
1
8%
Working
45
Developer 45
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
46
Developer 46
Rating
Projects
0
0%
Arbitration
0
Overdue
0
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
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
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
i need some tradingview strategy that i want to use as a tester, i have something that i am working on currently and i need someone that can provide me with tradingview strategies that doesn't have a win rate, the one with 1:1 RR it need to have low win rate like 10% or 5% profitability, i am not paying $30 for,i dont have up to that for this cause i only want to use it as a test, if anyone have any to send me please
An expert trading bot 250 - 350 USD
I have a working MetaTrader 5 Expert Advisor already coded and running -- this is not a "build from scratch" job. The EA trades a smart-money-concepts style model (structure breaks, liquidity sweeps, order blocks, fair value gaps, optimal trade entry retracement). Exact parameters and the rest of the underlying logic are proprietary and will only be shared once we're under a working agreement. To check you actually
I have 2 trading view indicators by GainzAlgo that I want code to mt5 , could u advise? I need you to give me response if you can convert This
I am looking to acquire an EXISTING and PROVEN MetaTrader 5 Expert Advisor. I am NOT looking for someone to develop a random new strategy from scratch. The objective is to find a robust EA with an existing track record, verify its performance and robustness, and purchase the MQL5 source code together with clearly defined commercial rights. MAIN REQUIREMENTS The EA should meet most or all of the following
Project Description I am looking for an experienced MQL5/MT5 Expert Advisor developer to develop an automated trading EA for XAUUSD on the M3 timeframe , running on an Exness account . The EA will automate a manual strategy based on SNR/GAP zones , using two setup types: Price Rejection Price Correction The EA should identify valid BUY/SELL setups around predefined SNR/GAP areas, apply configurable RSI, SMA, EMA and
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I need to build one from scratch . Experience with Sierra Chart, ACSIL
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no

Project information

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