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

Trabalho concluído

Tempo de execução 1 dia

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
(111)
Projetos
183
25%
Arbitragem
25
16% / 76%
Expirado
16
9%
Livre
2
Desenvolvedor 2
Classificação
(436)
Projetos
643
53%
Arbitragem
35
63% / 20%
Expirado
6
1%
Trabalhando
3
Desenvolvedor 3
Classificação
(106)
Projetos
129
25%
Arbitragem
25
28% / 56%
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
(9)
Projetos
11
27%
Arbitragem
0
Expirado
2
18%
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
Publicou: 1 código
9
Desenvolvedor 9
Classificação
(1)
Projetos
1
0%
Arbitragem
1
0% / 100%
Expirado
0
Livre
10
Desenvolvedor 10
Classificação
(398)
Projetos
515
23%
Arbitragem
60
57% / 25%
Expirado
60
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%
Trabalhando
15
Desenvolvedor 15
Classificação
(14)
Projetos
21
24%
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
(10)
Projetos
16
50%
Arbitragem
1
100% / 0%
Expirado
4
25%
Livre
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
14
0% / 79%
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
269
29%
Arbitragem
2
50% / 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
(161)
Projetos
208
61%
Arbitragem
10
80% / 0%
Expirado
0
Livre
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
(3)
Projetos
9
67%
Arbitragem
0
Expirado
0
Trabalhando
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
(1)
Projetos
1
0%
Arbitragem
0
Expirado
0
Livre
Publicou: 4 códigos
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
(211)
Projetos
274
21%
Arbitragem
24
54% / 17%
Expirado
0
Livre
36
Desenvolvedor 36
Classificação
(369)
Projetos
453
55%
Arbitragem
24
54% / 17%
Expirado
30
7%
Carregado
37
Desenvolvedor 37
Classificação
(2676)
Projetos
3414
68%
Arbitragem
77
48% / 14%
Expirado
342
10%
Livre
Publicou: 1 código
38
Desenvolvedor 38
Classificação
(16)
Projetos
30
40%
Arbitragem
3
33% / 67%
Expirado
7
23%
Trabalhando
39
Desenvolvedor 39
Classificação
(59)
Projetos
92
42%
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
43
Desenvolvedor 43
Classificação
(6)
Projetos
8
38%
Arbitragem
1
0% / 100%
Expirado
0
Livre
44
Desenvolvedor 44
Classificação
(8)
Projetos
13
38%
Arbitragem
0
Expirado
1
8%
Trabalhando
45
Desenvolvedor 45
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
46
Desenvolvedor 46
Classificação
Projetos
0
0%
Arbitragem
0
Expirado
0
Livre
Pedidos semelhantes
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
Wanna Create A Trading Robot That Uses Liquidity Sweep And Smart Money Concept EA That Works On PC. I want A Developer Who Can Program Exactly My Strategy That Will Be Shared on A Video Upon The Selection. it Should Follow My Rules .It has To be able To Read Price Action, followed By Liquidity Sweep Areas And Combine with Smart Money Concept Knowledge. We Will Talk about Parameters later on . The robot should be able
1. Overview: I need an Expert Advisor (EA) for MT5 called "Gold Sniper" specifically optimized for XAUUSD (Gold). The EA should be a sniper scalper that takes high-probability trades on M5 and M15. It must work on any broker with low spread. 2. Strategy Logic: The EA should combine 3 confirmations: a) Trend Filter: EMA 50 & EMA 200. Only Buy if EMA 50 > EMA 200, only Sell if EMA 50 < EMA 200. Sniper Entry: Use RSI
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
Need aggressive M1 gold scalper rewrite of Dev3 + 8 strategies. INPUTS: RiskPercent=3, TP=400, SL=300, MaxTrades=6, Mode=BOTH, DailyProfit 15%, DailyLoss -10% LOT = Balance * RiskPercent / 1000 - works for Cent R350 and $1000. 8 STRATEGIES any true = open instantly, check 1 sec: 1 EMA8/21 cross 2 RSI14 30/70 + engulf 3 Engulfing candle 4 BB 20,2 breakout 5 FVG grab M1 6 M5 trend + M1 entry 7 Wick rejection >2 8
I need an experienced MQL5 developer to build a prototype MT5 Expert Advisor called RiskLock. The software should enforce user-defined trading risk rules before trades are executed. It should support risk percentage or fixed monetary risk, calculate position size using account equity, entry price, stop loss, tick value and contract specifications, block or reduce oversized trades, and include daily loss limits
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

Informações sobre o projeto

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