Build a Bi-Directional Grid Hedge EA with Dynamic ATR Spacing & Strict Safety Filters

MQL5 Esperti

Lavoro terminato

Tempo di esecuzione 25 minuti
Feedback del dipendente
Thank you!

Specifiche

Hello, I am looking for a highly skilled MQL5 developer to code a complex "Bi-directional Grid Hedge" EA. I have the reference settings from a previous EA, but I need to upgrade the static grid distance to a Dynamic ATR-based distance and implement strict account protection features.

Crucial Requirement: ALL variables, limits, and settings MUST be fully adjustable manually (Inputs) via the EA's properties window.

1. Core Logic (The Bi-Directional Grid System):
* Initial Trade: The EA opens a single initial directional trade.
* If it hits Target: Trade closes, wait for next setup.
* Recovery & Hedging (When in Drawdown): If the initial trade goes into DD, the EA activates a dual-grid system:
  - It opens Averaging trades for the losing direction (e.g., more Buys) using a Multiplier (e.g., 1.08).
  - Simultaneously, it opens a Counter-trade (e.g., Sell) to capture the trend reversal.
  - Crucial Rule: If the price reverses again, the counter-trades will also go into DD. The EA must then average those counter-trades as well. Essentially, it manages an independent "Buy Grid" and an independent "Sell Grid" simultaneously based on price movement.

2. The Core Upgrade: Dynamic ATR Spacing (NO STATIC DISTANCE):
* Do not use a static distance (like 100 pips).
* The distance for opening ANY new grid/hedge trade MUST be calculated dynamically using the ATR indicator.
* Logic: Grid Step Distance = Current ATR Value * ATR_Multiplier.
* The EA must recalculate this distance dynamically as volatility changes.

3. Basket Closure & Critical Safety Limits:
* Basket TP (Lock Minimum Profit): Close ALL open trades (both grids) when the combined total profit reaches a specific dollar amount (e.g., $500).
* Equity Stop Loss (Lock Drawdown %): If the combined floating drawdown hits a set percentage of the account (e.g., 10%), close ALL trades immediately.
* The "Cooldown" Timer: If the Equity SL (10% DD) is triggered, the EA MUST pause all trading activities for a user-defined number of minutes (Cooldown Input). This prevents instant re-entry during a market crash.
* One Trade Per Bar: To avoid rapid-fire order execution during spikes, the EA must only open a maximum of ONE trade per candle (per direction).

4. News Filter:
* Standard News Filter (stop trading X mins before/after Medium/High impact news).
* Exception Rule: If the EA is already in an active Grid/Hedge cycle (Recovery Mode), it must ignore the news filter and continue managing the open grids to resolve the cycle.

Required Inputs for the User Interface (Must be fully customizable):
* Start Lot / Multiplier / Max Buy Orders / Max Sell Orders.
* ATR Period / ATR Multiplier.
* Lock Minimum Profit (in USD).
* Lock Drawdown (%) / Cooldown Timer (in Minutes).
* News Filter settings (True/False, Mins before/after, URL setup).
* Magic Number / Slippage.

Important Notes:* The EA must be fully compatible and optimized for highly volatile assets, specifically Gold (XAUUSD) and Bitcoin (BTCUSD). 
* The code must dynamically handle different point/pip calculations perfectly for both symbols.
* I test exclusively on 'Every tick based on real ticks'. The logic must be flawless with zero execution errors, margin errors, or order spamming.
* The raw .mq5 source code must be provided upon completion.

Con risposta

1
Sviluppatore 1
Valutazioni
(636)
Progetti
1007
47%
Arbitraggio
33
36% / 36%
In ritardo
99
10%
In elaborazione
Pubblicati: 6 codici
2
Sviluppatore 2
Valutazioni
(2)
Progetti
2
50%
Arbitraggio
0
In ritardo
0
Gratuito
3
Sviluppatore 3
Valutazioni
(329)
Progetti
515
19%
Arbitraggio
35
46% / 31%
In ritardo
34
7%
In elaborazione
4
Sviluppatore 4
Valutazioni
(258)
Progetti
269
29%
Arbitraggio
2
50% / 0%
In ritardo
3
1%
In elaborazione
Pubblicati: 2 codici
5
Sviluppatore 5
Valutazioni
(179)
Progetti
193
46%
Arbitraggio
4
50% / 25%
In ritardo
1
1%
Caricato
6
Sviluppatore 6
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
(369)
Progetti
453
55%
Arbitraggio
24
54% / 17%
In ritardo
30
7%
Caricato
8
Sviluppatore 8
Valutazioni
(10)
Progetti
12
0%
Arbitraggio
3
33% / 33%
In ritardo
0
Gratuito
9
Sviluppatore 9
Valutazioni
(279)
Progetti
378
72%
Arbitraggio
19
32% / 47%
In ritardo
16
4%
Gratuito
Pubblicati: 15 codici
10
Sviluppatore 10
Valutazioni
(553)
Progetti
844
61%
Arbitraggio
33
27% / 45%
In ritardo
24
3%
Gratuito
Pubblicati: 1 codice
11
Sviluppatore 11
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
1
0% / 100%
In ritardo
0
Gratuito
12
Sviluppatore 12
Valutazioni
(25)
Progetti
31
13%
Arbitraggio
14
0% / 79%
In ritardo
9
29%
Gratuito
13
Sviluppatore 13
Valutazioni
(47)
Progetti
61
54%
Arbitraggio
7
86% / 0%
In ritardo
2
3%
In elaborazione
14
Sviluppatore 14
Valutazioni
(645)
Progetti
873
48%
Arbitraggio
29
38% / 17%
In ritardo
63
7%
Gratuito
15
Sviluppatore 15
Valutazioni
(62)
Progetti
90
29%
Arbitraggio
24
13% / 58%
In ritardo
7
8%
In elaborazione
16
Sviluppatore 16
Valutazioni
(8)
Progetti
8
0%
Arbitraggio
2
50% / 0%
In ritardo
1
13%
In elaborazione
17
Sviluppatore 17
Valutazioni
(2676)
Progetti
3414
68%
Arbitraggio
77
48% / 14%
In ritardo
342
10%
Gratuito
Pubblicati: 1 codice
18
Sviluppatore 18
Valutazioni
(8)
Progetti
9
89%
Arbitraggio
0
In ritardo
0
Gratuito
19
Sviluppatore 19
Valutazioni
(45)
Progetti
53
57%
Arbitraggio
2
100% / 0%
In ritardo
1
2%
Gratuito
Pubblicati: 5 codici
20
Sviluppatore 20
Valutazioni
(162)
Progetti
289
35%
Arbitraggio
18
22% / 61%
In ritardo
43
15%
Gratuito
21
Sviluppatore 21
Valutazioni
(16)
Progetti
20
0%
Arbitraggio
10
0% / 80%
In ritardo
6
30%
Gratuito
22
Sviluppatore 22
Valutazioni
(13)
Progetti
20
40%
Arbitraggio
1
0% / 100%
In ritardo
1
5%
Gratuito
23
Sviluppatore 23
Valutazioni
(24)
Progetti
32
38%
Arbitraggio
4
50% / 25%
In ritardo
5
16%
In elaborazione
24
Sviluppatore 24
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
25
Sviluppatore 25
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
26
Sviluppatore 26
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
27
Sviluppatore 27
Valutazioni
(83)
Progetti
95
32%
Arbitraggio
9
22% / 56%
In ritardo
5
5%
In elaborazione
28
Sviluppatore 28
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
29
Sviluppatore 29
Valutazioni
(260)
Progetti
305
76%
Arbitraggio
13
77% / 0%
In ritardo
5
2%
Caricato
30
Sviluppatore 30
Valutazioni
(6)
Progetti
8
38%
Arbitraggio
1
100% / 0%
In ritardo
2
25%
Gratuito
31
Sviluppatore 31
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
2
0% / 0%
In ritardo
0
In elaborazione
32
Sviluppatore 32
Valutazioni
(9)
Progetti
16
19%
Arbitraggio
2
0% / 50%
In ritardo
3
19%
Caricato
33
Sviluppatore 33
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
34
Sviluppatore 34
Valutazioni
(11)
Progetti
16
31%
Arbitraggio
5
40% / 40%
In ritardo
4
25%
Gratuito
35
Sviluppatore 35
Valutazioni
(14)
Progetti
15
40%
Arbitraggio
2
50% / 50%
In ritardo
1
7%
Gratuito
36
Sviluppatore 36
Valutazioni
(22)
Progetti
25
24%
Arbitraggio
5
20% / 80%
In ritardo
1
4%
Gratuito
Pubblicati: 6 codici
37
Sviluppatore 37
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
38
Sviluppatore 38
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
39
Sviluppatore 39
Valutazioni
(28)
Progetti
34
35%
Arbitraggio
0
In ritardo
2
6%
In elaborazione
40
Sviluppatore 40
Valutazioni
(271)
Progetti
553
50%
Arbitraggio
57
40% / 37%
In ritardo
227
41%
In elaborazione
41
Sviluppatore 41
Valutazioni
(52)
Progetti
64
39%
Arbitraggio
15
27% / 60%
In ritardo
1
2%
In elaborazione
42
Sviluppatore 42
Valutazioni
Progetti
0
0%
Arbitraggio
0
In ritardo
0
Gratuito
Ordini simili
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
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Modification of existing ea …. Add ema filter, add risk percentage per trade, and modify the pips per day filter. I already have the ea code I just need these things added and modifified
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
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
MQL5 Developer 30+ USD
📄 وثيقة المواصفات الفنية لروبوت التداول (MQL5 EA Specification) 📌 1. ملخص المشروع والهدف * اسم المشروع: Gold Cent Grid-Hedge EA * المنصة: MetaTrader 5 (MQL5) * أداة التداول: الذهب (XAUUSD) * نوع الحساب: حساب سنت (Cent Account) * فكرة الاستراتيجية: تداول شبكة هيدج متوازنة (Grid-Hedging) تفتح صفقات تعزيز كل مسافة محددة، وتغلق الطرف الأكثر ربحاً عند تحقيق هدف مالّي مجمع بالدولار/السنت لإعادة هيكلة التوازن. ⚙️ 2
I need a developer who also understands trading. I have a Telegram copy-trading bot that reads signals from a Telegram channel via a Python script and converts them into trading orders. I want to create a program that analyzes Gold (XAUUSD) charts specifically and sends signals in this exact format: #XAUUSD BUY 4324-4321 TP 4327 TP 4330 TP 4334 TP 4339 TP 4344 TP 4354 TP 4364 SL 4311 If the # symbol is missing at the
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA

Informazioni sul progetto

Budget
80 - 150 USD
Scadenze
a 4 giorno(i)