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

Lavoro terminato

Tempo di esecuzione 1 giorno

Specifiche

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.

 


File:

TXT
MT5.txt
5.5 Kb

Con risposta

1
Sviluppatore 1
Valutazioni
(111)
Progetti
184
25%
Arbitraggio
25
16% / 76%
In ritardo
16
9%
Gratuito
2
Sviluppatore 2
Valutazioni
(438)
Progetti
649
53%
Arbitraggio
35
63% / 20%
In ritardo
7
1%
In elaborazione
3
Sviluppatore 3
Valutazioni
(106)
Progetti
129
25%
Arbitraggio
25
28% / 56%
In ritardo
8
6%
Gratuito
4
Sviluppatore 4
Valutazioni
(62)
Progetti
90
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
5
Sviluppatore 5
Valutazioni
(5)
Progetti
5
0%
Arbitraggio
5
0% / 40%
In ritardo
0
Gratuito
6
Sviluppatore 6
Valutazioni
(10)
Progetti
12
33%
Arbitraggio
0
In ritardo
2
17%
In elaborazione
Pubblicati: 1 codice
7
Sviluppatore 7
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
8
Sviluppatore 8
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 4 codici
9
Sviluppatore 9
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
10
Sviluppatore 10
Valutazioni
(404)
Progetti
523
24%
Arbitraggio
62
58% / 24%
In ritardo
60
11%
Caricato
11
Sviluppatore 11
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
13
Sviluppatore 13
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
14
Sviluppatore 14
Valutazioni
(29)
Progetti
36
39%
Arbitraggio
0
In ritardo
2
6%
Gratuito
15
Sviluppatore 15
Valutazioni
(14)
Progetti
21
24%
Arbitraggio
0
In ritardo
2
10%
Gratuito
Pubblicati: 3 codici
16
Sviluppatore 16
Valutazioni
(13)
Progetti
23
39%
Arbitraggio
8
0% / 50%
In ritardo
4
17%
Gratuito
17
Sviluppatore 17
Valutazioni
(11)
Progetti
16
50%
Arbitraggio
1
100% / 0%
In ritardo
4
25%
Gratuito
18
Sviluppatore 18
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
19
Sviluppatore 19
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
20
Sviluppatore 20
Valutazioni
(25)
Progetti
31
13%
Arbitraggio
14
0% / 79%
In ritardo
9
29%
Gratuito
21
Sviluppatore 21
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
22
Sviluppatore 22
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
23
Sviluppatore 23
Valutazioni
(258)
Progetti
269
29%
Arbitraggio
2
50% / 0%
In ritardo
3
1%
In elaborazione
Pubblicati: 2 codici
24
Sviluppatore 24
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
25
Sviluppatore 25
Valutazioni
(162)
Progetti
210
61%
Arbitraggio
10
80% / 0%
In ritardo
0
Gratuito
Pubblicati: 1 codice
26
Sviluppatore 26
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
27
Sviluppatore 27
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
28
Sviluppatore 28
Valutazioni
(4)
Progetti
10
60%
Arbitraggio
0
In ritardo
0
In elaborazione
29
Sviluppatore 29
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
30
Sviluppatore 30
Valutazioni
(4)
Progetti
4
100%
Arbitraggio
0
In ritardo
0
Gratuito
31
Sviluppatore 31
Valutazioni
(27)
Progetti
43
7%
Arbitraggio
18
6% / 78%
In ritardo
26
60%
Gratuito
32
Sviluppatore 32
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
Pubblicati: 4 codici
33
Sviluppatore 33
Valutazioni
(14)
Progetti
15
40%
Arbitraggio
2
50% / 50%
In ritardo
1
7%
Gratuito
34
Sviluppatore 34
Valutazioni
(4)
Progetti
6
17%
Arbitraggio
3
0% / 67%
In ritardo
0
Gratuito
35
Sviluppatore 35
Valutazioni
(215)
Progetti
282
21%
Arbitraggio
28
57% / 14%
In ritardo
0
In elaborazione
36
Sviluppatore 36
Valutazioni
(370)
Progetti
460
55%
Arbitraggio
24
58% / 17%
In ritardo
31
7%
In elaborazione
37
Sviluppatore 37
Valutazioni
(2678)
Progetti
3426
68%
Arbitraggio
78
49% / 14%
In ritardo
343
10%
In elaborazione
Pubblicati: 1 codice
38
Sviluppatore 38
Valutazioni
(16)
Progetti
30
40%
Arbitraggio
3
33% / 67%
In ritardo
7
23%
In elaborazione
39
Sviluppatore 39
Valutazioni
(60)
Progetti
95
42%
Arbitraggio
4
0% / 100%
In ritardo
4
4%
Gratuito
40
Sviluppatore 40
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
41
Sviluppatore 41
Valutazioni
(4)
Progetti
5
0%
Arbitraggio
0
In ritardo
0
Gratuito
42
Sviluppatore 42
Valutazioni
(61)
Progetti
83
45%
Arbitraggio
27
11% / 70%
In ritardo
8
10%
Gratuito
43
Sviluppatore 43
Valutazioni
(6)
Progetti
8
38%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
44
Sviluppatore 44
Valutazioni
(13)
Progetti
22
36%
Arbitraggio
0
In ritardo
2
9%
Gratuito
45
Sviluppatore 45
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
46
Sviluppatore 46
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
AI Forex Trading Bot for MT4 and MT5 I need an advanced Forex trading robot (Expert Advisor) that works on both MetaTrader 4 and MetaTrader 5. The robot should automatically analyse the Forex market, identify BUY and SELL opportunities, and execute trades when the trading conditions are met. It should support GBPUSD, EURUSD, USDJPY and GBPJPY. The robot should use EMA, RSI, MACD, price action and trend analysis
Hi there great developers I need someone who will test the ea from real account because it must cover up the spread first by calculating the next price movement points if it can cover up the spread cost using an atr, adx , if the next price movement is more then the spread after calculate it must place an order this is how the ea must work,, message me if you can , don't waste my time if you don't have an solution
Gold robot 30 - 300 USD
أكيد، إذا كنت تقصد مشروع بوت الذهب والمحلل، فهذا يحدث لنا اللي بنينا عليه إلى الآن : وال الماكانه رومان التركيز على الذهب XAUUSD فقط أولًا ، والبيتكوين بعد استقرار نسخة الذهب شيطاني بوت أصلي بلغ MQL5 على MT5 ، ويتم تنفيذه لدى Exness أيام السكالبينج، مع التقاط عدة احتمالات صحيحة يوميا دون إجبار البوت على الدخول سي آلي بالكامل بعد الإعداد: تحليل، دخول، وقف، إدارة أندرويد وخروج الفريمات البداية كانت M3 تعطيل وM15
Aziz Toure 50 - 400 USD
I am an independent trader and entrepreneur based in Côte d’Ivoire. I work in financial markets, analyze trading opportunities, and provide digital financial services. I am also interested in international trade, online business, and developing long-term business activities
SMC Bot Creation 350 - 550 USD
Hello, I am interested in developing a professional MT5 Expert Advisor similar in functionality and technical sophistication to your reference product, Institutional SMC Robot: https://www.mql5.com/en/market/product/187011 I want to develop my own independent EA based on advanced Smart Money Concepts (SMC), with a strong focus on institutional price action, liquidity and market structure. The key functionalities I
Specify your Requirements Specification here point by point. Try to describe your requirements briefly and clearly, so that your potential developer is able to correctly assess its complexity and cost, as well as the required execution time. A bad or too generic description will result in your order being ignored, or you will spend a lot of time negotiating the details with each applicant. Remember: It is better to
Phixfx 30 - 150 USD
Project Brief: Multi-Asset EA/Indicator Optimization, Debugging, and Futures Strategy Refinement ​1. Project Overview & Objective ​I am looking for an experienced algorithmic developer to inspect, debug, optimize, and enhance an existing automated trading system. The system combines custom indicators and execution logic across Forex and Futures markets. ​The primary goals of this project are: ​Debug existing logic
​I am looking for an experienced MQL5 developer to build a fully automated MetaTrader 5 Expert Advisor (EA) optimized primarily for XAUUSD (Gold), featuring a clean Tkinter-style telemetry dashboard control concept or customizable input parameters. ​1. Core Strategy Rules (Full-Body Engulfing) ​Signal Identification: The EA must scan completed candles across multiple selectable timeframes (e.g., 1M, 5M, 15M, 30M, 1H)
I want NinjaTrader to behave like Tradovate. When I hover over a candlestick, the cursor should automatically snap to the center of that candle across all open charts. For example, when I hover over a 30-minute candle, the cursor should align with the center of the corresponding candles on the 15-minute and other chart timeframes. I also want vertical lines drawn on one chart to automatically align with the center of
I am commissioning the development and reverse-engineering of a commercial-grade, multi-strategy quantitative trading portfolio modeled on proven institutional frameworks (Reference methodology: https://whop.com/the-agent-algo/products/ ). The goal is to develop a standalone, fully owned commercial trading system covering Nasdaq (NQ) and Gold (XAUUSD) with an integrated licensing engine ready for commercial

Informazioni sul progetto

Budget
120 - 250 USD
Scadenze
da 1 a 10 giorno(i)