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

MQL5 Uzmanlar

İş tamamlandı

Tamamlanma süresi: 25 dakika
Geliştirici tarafından geri bildirim
Thank you!

Şartname

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.

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(636)
Projeler
1007
47%
Arabuluculuk
33
36% / 36%
Süresi dolmuş
99
10%
Çalışıyor
Yayınlandı: 6 kod
2
Geliştirici 2
Derecelendirme
(2)
Projeler
2
50%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
(329)
Projeler
515
19%
Arabuluculuk
35
46% / 31%
Süresi dolmuş
34
7%
Çalışıyor
4
Geliştirici 4
Derecelendirme
(258)
Projeler
269
29%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
3
1%
Çalışıyor
Yayınlandı: 2 kod
5
Geliştirici 5
Derecelendirme
(179)
Projeler
193
46%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
1
1%
Yüklendi
6
Geliştirici 6
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
7
Geliştirici 7
Derecelendirme
(369)
Projeler
453
55%
Arabuluculuk
24
54% / 17%
Süresi dolmuş
30
7%
Yüklendi
8
Geliştirici 8
Derecelendirme
(10)
Projeler
12
0%
Arabuluculuk
3
33% / 33%
Süresi dolmuş
0
Serbest
9
Geliştirici 9
Derecelendirme
(279)
Projeler
378
72%
Arabuluculuk
19
32% / 47%
Süresi dolmuş
16
4%
Serbest
Yayınlandı: 15 kod
10
Geliştirici 10
Derecelendirme
(553)
Projeler
844
61%
Arabuluculuk
33
27% / 45%
Süresi dolmuş
24
3%
Serbest
Yayınlandı: 1 kod
11
Geliştirici 11
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
12
Geliştirici 12
Derecelendirme
(25)
Projeler
31
13%
Arabuluculuk
14
0% / 79%
Süresi dolmuş
9
29%
Serbest
13
Geliştirici 13
Derecelendirme
(47)
Projeler
61
54%
Arabuluculuk
7
86% / 0%
Süresi dolmuş
2
3%
Çalışıyor
14
Geliştirici 14
Derecelendirme
(645)
Projeler
873
48%
Arabuluculuk
29
38% / 17%
Süresi dolmuş
63
7%
Serbest
15
Geliştirici 15
Derecelendirme
(62)
Projeler
90
29%
Arabuluculuk
24
13% / 58%
Süresi dolmuş
7
8%
Çalışıyor
16
Geliştirici 16
Derecelendirme
(8)
Projeler
8
0%
Arabuluculuk
2
50% / 0%
Süresi dolmuş
1
13%
Çalışıyor
17
Geliştirici 17
Derecelendirme
(2676)
Projeler
3414
68%
Arabuluculuk
77
48% / 14%
Süresi dolmuş
342
10%
Serbest
Yayınlandı: 1 kod
18
Geliştirici 18
Derecelendirme
(8)
Projeler
9
89%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
19
Geliştirici 19
Derecelendirme
(45)
Projeler
53
57%
Arabuluculuk
2
100% / 0%
Süresi dolmuş
1
2%
Serbest
Yayınlandı: 5 kod
20
Geliştirici 20
Derecelendirme
(162)
Projeler
289
35%
Arabuluculuk
18
22% / 61%
Süresi dolmuş
43
15%
Serbest
21
Geliştirici 21
Derecelendirme
(16)
Projeler
20
0%
Arabuluculuk
10
0% / 80%
Süresi dolmuş
6
30%
Serbest
22
Geliştirici 22
Derecelendirme
(13)
Projeler
20
40%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
5%
Serbest
23
Geliştirici 23
Derecelendirme
(24)
Projeler
32
38%
Arabuluculuk
4
50% / 25%
Süresi dolmuş
5
16%
Çalışıyor
24
Geliştirici 24
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
25
Geliştirici 25
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
26
Geliştirici 26
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
27
Geliştirici 27
Derecelendirme
(83)
Projeler
95
32%
Arabuluculuk
9
22% / 56%
Süresi dolmuş
5
5%
Çalışıyor
28
Geliştirici 28
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
29
Geliştirici 29
Derecelendirme
(260)
Projeler
305
76%
Arabuluculuk
13
77% / 0%
Süresi dolmuş
5
2%
Yüklendi
30
Geliştirici 30
Derecelendirme
(6)
Projeler
8
38%
Arabuluculuk
1
100% / 0%
Süresi dolmuş
2
25%
Serbest
31
Geliştirici 31
Derecelendirme
(1)
Projeler
1
0%
Arabuluculuk
2
0% / 0%
Süresi dolmuş
0
Çalışıyor
32
Geliştirici 32
Derecelendirme
(9)
Projeler
16
19%
Arabuluculuk
2
0% / 50%
Süresi dolmuş
3
19%
Yüklendi
33
Geliştirici 33
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
34
Geliştirici 34
Derecelendirme
(11)
Projeler
16
31%
Arabuluculuk
5
40% / 40%
Süresi dolmuş
4
25%
Serbest
35
Geliştirici 35
Derecelendirme
(14)
Projeler
15
40%
Arabuluculuk
2
50% / 50%
Süresi dolmuş
1
7%
Serbest
36
Geliştirici 36
Derecelendirme
(22)
Projeler
25
24%
Arabuluculuk
5
20% / 80%
Süresi dolmuş
1
4%
Serbest
Yayınlandı: 6 kod
37
Geliştirici 37
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
38
Geliştirici 38
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
39
Geliştirici 39
Derecelendirme
(28)
Projeler
34
35%
Arabuluculuk
0
Süresi dolmuş
2
6%
Çalışıyor
40
Geliştirici 40
Derecelendirme
(271)
Projeler
553
50%
Arabuluculuk
57
40% / 37%
Süresi dolmuş
227
41%
Çalışıyor
41
Geliştirici 41
Derecelendirme
(52)
Projeler
64
39%
Arabuluculuk
15
27% / 60%
Süresi dolmuş
1
2%
Çalışıyor
42
Geliştirici 42
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
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
I need EA Lil-MeProBot for MT5. Phone user, deliver .mq5 + .ex5. Symbols: XAUUSD EURUSD GBPUSD USDJPY BTCUSD, M15, Magic 777001 Strategy 6X Confluence score 4/6: 1. EMA 50/200 trend 2. Break of Structure 3. RSI 14 4. Strong body FVG/Order Block 5. Session 8am-9pm GMT+2 6. ATR filter Money Management LASTING: Lot 0.01 fixed, NO martingale, NO grid, Max 1 per symbol Max 2 total, SL ATR*2 TP ATR*3, Daily loss R40 stop
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

Proje bilgisi

Bütçe
80 - 150 USD
Son teslim tarihi
to 4 gün