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

MQL5 エキスパート

仕事が完了した

実行時間25 分
開発者からのフィードバック
Thank you!

指定

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.

応答済み

1
開発者 1
評価
(635)
プロジェクト
1005
47%
仲裁
33
36% / 36%
期限切れ
99
10%
仕事中
パブリッシュした人: 6 codes
2
開発者 2
評価
(2)
プロジェクト
2
50%
仲裁
0
期限切れ
0
3
開発者 3
評価
(328)
プロジェクト
514
19%
仲裁
35
46% / 31%
期限切れ
34
7%
仕事中
4
開発者 4
評価
(258)
プロジェクト
267
30%
仲裁
0
期限切れ
3
1%
仕事中
パブリッシュした人: 2 codes
5
開発者 5
評価
(169)
プロジェクト
180
46%
仲裁
3
33% / 33%
期限切れ
1
1%
仕事中
6
開発者 6
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
7
開発者 7
評価
(365)
プロジェクト
442
55%
仲裁
22
50% / 14%
期限切れ
30
7%
多忙
8
開発者 8
評価
(10)
プロジェクト
12
0%
仲裁
3
33% / 33%
期限切れ
1
8%
9
開発者 9
評価
(279)
プロジェクト
378
72%
仲裁
19
32% / 47%
期限切れ
16
4%
パブリッシュした人: 15 codes
10
開発者 10
評価
(549)
プロジェクト
836
61%
仲裁
33
27% / 45%
期限切れ
24
3%
仕事中
パブリッシュした人: 1 code
11
開発者 11
評価
(1)
プロジェクト
1
0%
仲裁
1
0% / 100%
期限切れ
0
12
開発者 12
評価
(25)
プロジェクト
31
13%
仲裁
13
0% / 77%
期限切れ
9
29%
13
開発者 13
評価
(46)
プロジェクト
60
53%
仲裁
7
86% / 0%
期限切れ
2
3%
14
開発者 14
評価
(645)
プロジェクト
872
48%
仲裁
29
38% / 17%
期限切れ
63
7%
15
開発者 15
評価
(62)
プロジェクト
90
29%
仲裁
24
13% / 58%
期限切れ
7
8%
仕事中
16
開発者 16
評価
(8)
プロジェクト
8
0%
仲裁
2
50% / 0%
期限切れ
1
13%
仕事中
17
開発者 17
評価
(2672)
プロジェクト
3408
68%
仲裁
77
48% / 14%
期限切れ
342
10%
パブリッシュした人: 1 code
18
開発者 18
評価
(8)
プロジェクト
9
89%
仲裁
0
期限切れ
0
19
開発者 19
評価
(44)
プロジェクト
51
59%
仲裁
2
100% / 0%
期限切れ
1
2%
パブリッシュした人: 5 codes
20
開発者 20
評価
(162)
プロジェクト
289
35%
仲裁
18
22% / 61%
期限切れ
43
15%
21
開発者 21
評価
(16)
プロジェクト
20
0%
仲裁
10
0% / 80%
期限切れ
6
30%
22
開発者 22
評価
(13)
プロジェクト
20
40%
仲裁
1
0% / 100%
期限切れ
1
5%
23
開発者 23
評価
(22)
プロジェクト
29
34%
仲裁
4
50% / 25%
期限切れ
5
17%
仕事中
24
開発者 24
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
25
開発者 25
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
26
開発者 26
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
27
開発者 27
評価
(81)
プロジェクト
93
31%
仲裁
9
22% / 56%
期限切れ
5
5%
仕事中
28
開発者 28
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
29
開発者 29
評価
(256)
プロジェクト
300
76%
仲裁
13
77% / 0%
期限切れ
4
1%
仕事中
30
開発者 30
評価
(6)
プロジェクト
8
38%
仲裁
1
100% / 0%
期限切れ
2
25%
31
開発者 31
評価
(1)
プロジェクト
1
0%
仲裁
2
0% / 0%
期限切れ
0
仕事中
32
開発者 32
評価
(8)
プロジェクト
14
21%
仲裁
2
0% / 50%
期限切れ
3
21%
仕事中
33
開発者 33
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
34
開発者 34
評価
(11)
プロジェクト
16
31%
仲裁
5
40% / 40%
期限切れ
4
25%
35
開発者 35
評価
(14)
プロジェクト
15
40%
仲裁
2
50% / 50%
期限切れ
1
7%
36
開発者 36
評価
(22)
プロジェクト
24
21%
仲裁
5
20% / 80%
期限切れ
1
4%
パブリッシュした人: 6 codes
37
開発者 37
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
38
開発者 38
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
39
開発者 39
評価
(28)
プロジェクト
34
35%
仲裁
0
期限切れ
2
6%
40
開発者 40
評価
(271)
プロジェクト
553
50%
仲裁
57
40% / 37%
期限切れ
227
41%
仕事中
41
開発者 41
評価
(48)
プロジェクト
58
34%
仲裁
15
27% / 60%
期限切れ
1
2%
仕事中
42
開発者 42
評価
プロジェクト
0
0%
仲裁
0
期限切れ
0
類似した注文
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

プロジェクト情報

予算
80 - 150 USD
締め切り
最高 4 日