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

Termos de Referência

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.

 


Arquivos anexados:

TXT
MT5.txt
5.5 Kb

Respondido

1
Desenvolvedor 1
Classificação
(108)
Projetos
179
25%
Arbitragem
24
17% / 75%
Expirado
16
9%
Livre
2
Desenvolvedor 2
Classificação
(434)
Projetos
640
53%
Arbitragem
34
62% / 21%
Expirado
6
1%
Trabalhando
3
Desenvolvedor 3
Classificação
(106)
Projetos
129
25%
Arbitragem
24
29% / 54%
Expirado
8
6%
Livre
4
Desenvolvedor 4
Classificação
(62)
Projetos
90
29%
Arbitragem
24
13% / 58%
Expirado
7
8%
Trabalhando
5
Desenvolvedor 5
Classificação
(5)
Projetos
5
0%
Arbitragem
5
0% / 40%
Expirado
0
Livre
6
Desenvolvedor 6
Classificação
(2)
Projetos
2
50%
Arbitragem
0
Expirado
0
Trabalhando
Publicou: 1 código
7
Desenvolvedor 7
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
8
Desenvolvedor 8
Classificação
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
9
Desenvolvedor 9
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(389)
Projetos
501
23%
Arbitragem
60
55% / 25%
Expirado
59
12%
Trabalhando
11
Desenvolvedor 11
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
12
Desenvolvedor 12
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
13
Desenvolvedor 13
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
14
Desenvolvedor 14
Classificação
(28)
Projetos
34
35%
Arbitragem
0
Expirado
2
6%
Livre
15
Desenvolvedor 15
Classificação
(14)
Projetos
20
25%
Arbitragem
0
Expirado
2
10%
Livre
Publicou: 3 códigos
16
Desenvolvedor 16
Classificação
(13)
Projetos
22
41%
Arbitragem
8
0% / 50%
Expirado
3
14%
Livre
17
Desenvolvedor 17
Classificação
(9)
Projetos
14
43%
Arbitragem
1
100% / 0%
Expirado
2
14%
Trabalhando
18
Desenvolvedor 18
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
19
Desenvolvedor 19
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
20
Desenvolvedor 20
Classificação
(25)
Projetos
31
13%
Arbitragem
13
0% / 77%
Expirado
9
29%
Livre
21
Desenvolvedor 21
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
22
Desenvolvedor 22
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
23
Desenvolvedor 23
Classificação
(258)
Projetos
267
30%
Arbitragem
0
Expirado
3
1%
Trabalhando
Publicou: 2 códigos
24
Desenvolvedor 24
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
25
Desenvolvedor 25
Classificação
(160)
Projetos
205
60%
Arbitragem
10
80% / 0%
Expirado
0
Trabalhando
Publicou: 1 código
26
Desenvolvedor 26
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
27
Desenvolvedor 27
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
28
Desenvolvedor 28
Classificação
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
29
Desenvolvedor 29
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
30
Desenvolvedor 30
Classificação
(3)
Projetos
3
100%
Arbitragem
0
Expirado
0
Trabalhando
31
Desenvolvedor 31
Classificação
(27)
Projetos
43
7%
Arbitragem
18
6% / 78%
Expirado
26
60%
Livre
32
Desenvolvedor 32
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 1 código
33
Desenvolvedor 33
Classificação
(14)
Projetos
15
40%
Arbitragem
2
50% / 50%
Expirado
1
7%
Livre
34
Desenvolvedor 34
Classificação
(4)
Projetos
6
17%
Arbitragem
3
0% / 67%
Expirado
0
Livre
35
Desenvolvedor 35
Classificação
(202)
Projetos
263
22%
Arbitragem
23
52% / 17%
Expirado
0
Carregado
36
Desenvolvedor 36
Classificação
(365)
Projetos
442
55%
Arbitragem
22
50% / 14%
Expirado
30
7%
Ocupado
37
Desenvolvedor 37
Classificação
(2672)
Projetos
3408
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
38
Desenvolvedor 38
Classificação
(14)
Projetos
27
41%
Arbitragem
3
0% / 67%
Expirado
6
22%
Trabalhando
39
Desenvolvedor 39
Classificação
(59)
Projetos
91
43%
Arbitragem
4
0% / 100%
Expirado
3
3%
Trabalhando
40
Desenvolvedor 40
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
41
Desenvolvedor 41
Classificação
(4)
Projetos
5
0%
Arbitragem
0
Expirado
0
Livre
42
Desenvolvedor 42
Classificação
(61)
Projetos
83
45%
Arbitragem
27
11% / 70%
Expirado
8
10%
Livre
Pedidos semelhantes
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
8 cap prop firm passing 30 - 3000 USD
I am looking for an experienced MQL4/MQL5 HFT developer to build or optimize a High-Frequency Trading (HFT) Expert Advisor that can successfully pass proprietary trading firm challenges and perform consistently under live trading conditions with brokers such as 8cap or BlackBull Markets . The developer should have proven experience with HFT execution, ultra-low-latency trading, broker execution, slippage, spreads
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
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
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
Part 1: Project setup Input settings (risk, stop loss, take profit, EMA periods) Indicator initialization Trade management framework Part 2: Trading logic EMA crossover detection Buy/Sell entry rules One-trade-per-symbol check Part 3: Risk management Automatic lot size calculation Stop-loss and take-profit placement Trade execution and error handling Part 4: Final touches On-screen information Optimization

Informações sobre o projeto

Orçamento
120 - 250 USD
Prazo
de 1 para 10 dias

Cliente

Pedidos postados1
Número de arbitragens0