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

MQL5 Experts

Tâche terminée

Temps d'exécution 25 minutes
Commentaires de l'employé
Thank you!

Spécifications

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.

Répondu

1
Développeur 1
Évaluation
(635)
Projets
1005
47%
Arbitrage
33
36% / 36%
En retard
99
10%
Travail
Publié : 6 codes
2
Développeur 2
Évaluation
(2)
Projets
2
50%
Arbitrage
0
En retard
0
Gratuit
3
Développeur 3
Évaluation
(328)
Projets
514
19%
Arbitrage
35
46% / 31%
En retard
34
7%
Travail
4
Développeur 4
Évaluation
(258)
Projets
267
30%
Arbitrage
0
En retard
3
1%
Travail
Publié : 2 codes
5
Développeur 5
Évaluation
(169)
Projets
180
46%
Arbitrage
3
33% / 33%
En retard
1
1%
Travail
6
Développeur 6
Évaluation
(1)
Projets
1
0%
Arbitrage
0
En retard
0
Gratuit
7
Développeur 7
Évaluation
(365)
Projets
442
55%
Arbitrage
22
50% / 14%
En retard
30
7%
Occupé
8
Développeur 8
Évaluation
(10)
Projets
12
0%
Arbitrage
3
33% / 33%
En retard
1
8%
Gratuit
9
Développeur 9
Évaluation
(279)
Projets
378
72%
Arbitrage
19
32% / 47%
En retard
16
4%
Gratuit
Publié : 15 codes
10
Développeur 10
Évaluation
(549)
Projets
836
61%
Arbitrage
33
27% / 45%
En retard
24
3%
Travail
Publié : 1 code
11
Développeur 11
Évaluation
(1)
Projets
1
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
12
Développeur 12
Évaluation
(25)
Projets
31
13%
Arbitrage
13
0% / 77%
En retard
9
29%
Gratuit
13
Développeur 13
Évaluation
(46)
Projets
60
53%
Arbitrage
7
86% / 0%
En retard
2
3%
Gratuit
14
Développeur 14
Évaluation
(645)
Projets
872
48%
Arbitrage
29
38% / 17%
En retard
63
7%
Gratuit
15
Développeur 15
Évaluation
(62)
Projets
90
29%
Arbitrage
24
13% / 58%
En retard
7
8%
Travail
16
Développeur 16
Évaluation
(8)
Projets
8
0%
Arbitrage
2
50% / 0%
En retard
1
13%
Travail
17
Développeur 17
Évaluation
(2672)
Projets
3408
68%
Arbitrage
77
48% / 14%
En retard
342
10%
Gratuit
Publié : 1 code
18
Développeur 18
Évaluation
(8)
Projets
9
89%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(44)
Projets
51
59%
Arbitrage
2
100% / 0%
En retard
1
2%
Gratuit
Publié : 5 codes
20
Développeur 20
Évaluation
(162)
Projets
289
35%
Arbitrage
18
22% / 61%
En retard
43
15%
Gratuit
21
Développeur 21
Évaluation
(16)
Projets
20
0%
Arbitrage
10
0% / 80%
En retard
6
30%
Gratuit
22
Développeur 22
Évaluation
(13)
Projets
20
40%
Arbitrage
1
0% / 100%
En retard
1
5%
Gratuit
23
Développeur 23
Évaluation
(22)
Projets
29
34%
Arbitrage
4
50% / 25%
En retard
5
17%
Travail
24
Développeur 24
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
25
Développeur 25
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
26
Développeur 26
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
27
Développeur 27
Évaluation
(81)
Projets
93
31%
Arbitrage
9
22% / 56%
En retard
5
5%
Travail
28
Développeur 28
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
29
Développeur 29
Évaluation
(256)
Projets
300
76%
Arbitrage
13
77% / 0%
En retard
4
1%
Travail
30
Développeur 30
Évaluation
(6)
Projets
8
38%
Arbitrage
1
100% / 0%
En retard
2
25%
Gratuit
31
Développeur 31
Évaluation
(1)
Projets
1
0%
Arbitrage
2
0% / 0%
En retard
0
Travail
32
Développeur 32
Évaluation
(8)
Projets
14
21%
Arbitrage
2
0% / 50%
En retard
3
21%
Travail
33
Développeur 33
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
34
Développeur 34
Évaluation
(11)
Projets
16
31%
Arbitrage
5
40% / 40%
En retard
4
25%
Gratuit
35
Développeur 35
Évaluation
(14)
Projets
15
40%
Arbitrage
2
50% / 50%
En retard
1
7%
Gratuit
36
Développeur 36
Évaluation
(22)
Projets
24
21%
Arbitrage
5
20% / 80%
En retard
1
4%
Gratuit
Publié : 6 codes
37
Développeur 37
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
38
Développeur 38
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
39
Développeur 39
Évaluation
(28)
Projets
34
35%
Arbitrage
0
En retard
2
6%
Gratuit
40
Développeur 40
Évaluation
(271)
Projets
553
50%
Arbitrage
57
40% / 37%
En retard
227
41%
Travail
41
Développeur 41
Évaluation
(48)
Projets
58
34%
Arbitrage
15
27% / 60%
En retard
1
2%
Travail
42
Développeur 42
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
Commandes similaires
I need a developer that can make my trading strategies into a working perfect EA Robot working on Mt5. Candlestick pattern confirmation through PDH, PDL, PWH, PWL, Liquidities, HTF OB
I need a trading bot specially for XAU, high profit gain. Requirements bot analyzes the market places trades closes with 2 to 3 profit per trades daily profit should be 50 to 100 dollars
We are looking for an experienced MQL5 developer to provide a stable, consistently profitable Forex Expert Advisor (EA) capable of generating 10–15% average monthly returns while maintaining the lowest possible drawdown . Our Requirements The EA must have a proven track record of consistent performance. A long-term trading history (live or verified) will be considered a significant advantage. Before final selection
I am looking for a professional MQL5/MT5 Expert Advisor developer to build a fully automated trading bot based on my custom strategy. Requirements: Strong experience in MQL5 (MetaTrader 5) Previous experience developing Forex/Gold Expert Advisors Ability to convert a trading strategy into a fully automated EA Clean, well-structured, and optimized code Good communication and willingness to provide updates during
Only programmers with experience with orderflow please, it's not the easiest project, I don't want to have arbitration etc. I am not expert in orderflow yet, if you have suggestion about strategy it would be very nice. Source of code required, I am searching a programmer for a longer co-operation
Hi, I am looking for an already made profitable EA. It can be an indicator but then it must be possible to make an EA from the indicator. Will need to test before payment (this can be in demo or limited time test). I will pay up to $6000. Do not apply if you want an upfront payment. I need to test for a few times first. Mostly only pips matters. I look much the risk safety, money management, risk reward, and overall
Привіт. Шукаю когось, хто б застосував мій код як бота . Я торгую індексом Aus_200 SFE (не XJO). Бот базується на MACD входу/виходу, RSI, стохастиці та vwap. Як тільки роботу приймуть, мені потрібно внести кілька коректив; однак, нічого суттєвого. Дякую
SMC Martingale Pro is an advanced MetaTrader 5 Expert Advisor designed for high-volatility markets like XAU/USD. It combines institutional Smart Money Concepts with a dynamic risk recovery system. Key Features Dual FVG Engine: Automatically identifies and renders both bullish and bearish Fair Value Gaps in real time. Multi-Timeframe Flexibility: Operates independently of the active chart timeframe to target
I am looking for an experienced Sierra Chart ACSIL (C++) developer to create a custom indicator that measures the average Prior Day High-Low range over a configurable number of trading days (default: 7 days) using a 23-hour trading session
I have a technical specification ready for a custom alert indicator in NinjaTrader 8 (NinjaScript / C#). Important clarification: it is NOT an automatic trading bot, it is solely a visual indicator (arrows/lines on the chart) and sound alerts (notifications) based on EMA crossovers and range breakouts (ORB 15m) on lower timeframes for futures (MES). I already have the exact rules written out unambiguously

Informations sur le projet

Budget
80 - 150 USD
Délais
à 4 jour(s)