Development of a Gold(XAUUSD) Grid EA for MT4 with Google Sheets Web Authentication and Korean Inputs

Tâche terminée

Temps d'exécution 3 jours
Commentaires du client
The first development was very successful. He knows MT4 MT5 very well. He is very good

Spécifications

Hello. I need an expert MQL4 developer to create a professional Gold (XAUUSD) Grid/Martingale EA for MetaTrader 4 (MT4). 

This project requires high reliability, a clean visual dashboard, strict web-based license security, and native language input configurations.

====================================================================
1. CORE TRADING LOGIC (XAUUSD, M1 Timeframe)
====================================================================
- The EA executes bi-directional (Buy/Sell) grid trading depending on input toggles.
- Initial Entry: Opens the first trade with 'StartLot' size.
- Grid Layering: If the market moves against the open position, the EA opens consecutive entries at fixed intervals defined by 'GridDistancePoints'.
- Lot Multiplier: The lot size multiplication factor is controlled by 'LotMultiplier'. (If set to 1.0, it operates as a standard fixed-lot grid).
- Max Protection: Open orders in a single direction are strictly limited by 'MaxOrdersPerDir'.
- Basket Take Profit: Once multiple orders are active, the EA calculates the combined break-even price and applies a unified Basket TP target in points ('TakeProfitPoints') from the average price matrix.
- Basket Stop Loss: If the cumulative floating drawdown reaches 'BasketSLAmount' in account currency ($), the EA must immediately hard-close all active positions to protect equity.

* SPECIAL NOTE FOR BACKTESTING/LOGIC ANALYSIS: 
Please ignore the manual over-trading anomaly observed between 10:14:42 and 10:20:00 on May 29, 2026, in any user-provided statement histories. It was a manual UI test error. The core algorithm must strictly follow the automated rules mentioned above.

====================================================================
2. SECURITY & LICENSE MANAGEMENT (Web Authentication)
====================================================================
I am running a subscription-based business. The EA must include a Web License Security layer using Google Sheets via WebRequest().
- On Initialization (OnInit), the EA must query a Google Sheet CSV export URL.
- The Google Sheet contains Authorized MT4 Account Numbers (Column A) and Expiry Dates (Column B).
- If the current terminal 'AccountNumber()' is NOT found in the sheet, or if the current time 'TimeCurrent()' has passed the Expiry Date, the EA must:
  a) Display a large red text on the chart screen: "LICENSE ERROR: Unauthorized Account or Subscription Expired!"
  b) Trigger an Alert popup dialog box.
  c) Forcefully unload itself from the chart using 'ExpertRemove()'.
- If the WebRequest fails entirely (e.g., no internet connection), the EA must lock itself and remove itself for safety.

====================================================================
3. USER INTERFACE (UI) & GRAPHICAL DASHBOARD
====================================================================
- The EA must draw a sleek, modern visual panel overlay on the chart screen.
- It must dynamically display: Account Balance, Equity, Margin Level, Open Buy/Sell Lots, Net Floating Profit/Loss, and Subscription Status.
- Dashboard position and text styling must be adjustable via input variables.

====================================================================
4. MANDATORY INPUT PARAMETERS (With Native Comments)
====================================================================
To allow customizable setups directly via the MT4 properties window, you must implement the inputs EXACTLY with the specific native Korean comments provided below. MT4 uses these comments as labels, which is mandatory for my operations.

input string   _heading0           = "======= GOLD GALE EA ======="; // [ GOLD GALE EA ]
input int      MagicNumber         = 123456;                         // 매직 넘버 (Magic Number)
input string   _heading1           = "--- [1] 거래 방향 설정 ---";
input bool     AllowLong           = true;                           // Buy(매수) 진입 허용
input bool     AllowShort          = true;                           // Sell(매도) 진입 허용
input bool     ShowDashboard       = true;                           // 차트 대시보드 표시 여부
input string   _heading2           = "--- [2] 초기 진입 설정 ---";
input double   StartLot            = 0.02;                           // 첫 번째 진입 랏사이즈 (Start Lot)
input string   _heading3           = "--- [3] 익절 설정 ---";
input double   TakeProfitPoints    = 200.0;                          // 목표 익절 포인트 (Points)
input string   _heading4           = "--- [4] 마틴게일 / 그리드 설정 ---";
input double   LotMultiplier       = 1.0;                            // 랏 증가 배수 (1.0 = 고정 랏 그리드)
input int      GridDistancePoints  = 700;                            // 추가 진입 간격 (Grid Distance Points)
input int      MaxOrdersPerDir     = 5;                              // 한 방향당 최대 진입 횟수 (Max Layers)
input string   _heading5           = "--- [5] 청산 모드 및 리스크 관리 ---";
input bool     UseBasketTP         = true;                           // 전체 평단가 기준 바스켓 익절 사용
input int      CooldownSeconds     = 0;                              // 바스켓 청산 후 재진입 대기 시간 (초)
input double   BasketSLAmount      = 200.0;                          // 계좌 통화 기준 강제 손절 금액 ($)
input string   _heading6           = "--- [6] 시장 분석 필터 (ADX/ATR) ---";
input int      ADX_Period          = 14;                             // ADX 기간 설정
input int      ATR_Period          = 14;                             // ATR 기간 설정
input double   ADX_Threshold       = 25.0;                           // 추세/횡보 판단 기준값
input string   _heading7           = "--- [7] 대시보드 UI 디자인 ---";
input string   PanelPosition       = "Bottom_Right";                 // 패널 위치 (우측하단 기본)
input int      Panel_X_Offset      = 50;                             // 가로 여백 (X 오프셋)
input int      Panel_Y_Offset      = 30;                             // 세로 여백 (Y 오프셋)
input int      FontSize            = 9;                              // 글자 크기
input string   FontName            = "Consolas";                     // 글꼴 이름

====================================================================
5. INTELLECTUAL PROPERTY & DELIVERY TERMS
====================================================================
- 100% Full Source Code Delivery Required: You must provide both the compiled file (.ex4) and the fully unencrypted source code file (.mq4) with all comments preserved. Deliveries with only the .ex4 file will be rejected immediately.
- Clean Code Practices: Ensure proper decimal and point-digit tracking automatically for Gold spot symbols (e.g., auto-detecting 2-digit or 3-digit quote environments).
- Absolute Confidentiality: You are strictly prohibited from reselling, redistributing, or reusing this code or logic for other commercial projects.

Thank you. I look forward to working with a skilled professional. Please provide your realistic cost estimation and delivery timeline.

Répondu

1
Développeur 1
Évaluation
(291)
Projets
363
30%
Arbitrage
37
27% / 65%
En retard
10
3%
Occupé
Publié : 10 codes
2
Développeur 2
Évaluation
(3)
Projets
3
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
3
Développeur 3
Évaluation
(185)
Projets
199
47%
Arbitrage
4
50% / 25%
En retard
1
1%
Travail
4
Développeur 4
Évaluation
(1305)
Projets
1735
49%
Arbitrage
55
67% / 16%
En retard
38
2%
Gratuit
5
Développeur 5
Évaluation
(636)
Projets
1008
47%
Arbitrage
33
36% / 36%
En retard
99
10%
Travail
Publié : 6 codes
6
Développeur 6
Évaluation
(23)
Projets
32
41%
Arbitrage
9
22% / 33%
En retard
4
13%
Chargé
Publié : 8 articles, 35 codes
7
Développeur 7
Évaluation
(268)
Projets
603
34%
Arbitrage
65
22% / 57%
En retard
146
24%
Travail
Publié : 1 article, 22 codes
8
Développeur 8
Évaluation
(252)
Projets
462
26%
Arbitrage
139
20% / 60%
En retard
100
22%
Gratuit
9
Développeur 9
Évaluation
(11)
Projets
16
50%
Arbitrage
1
100% / 0%
En retard
4
25%
Gratuit
10
Développeur 10
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
11
Développeur 11
Évaluation
(24)
Projets
32
38%
Arbitrage
4
50% / 25%
En retard
5
16%
Travail
12
Développeur 12
Évaluation
(264)
Projets
310
75%
Arbitrage
15
67% / 0%
En retard
6
2%
Travail
13
Développeur 13
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
14
Développeur 14
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
15
Développeur 15
Évaluation
(10)
Projets
17
18%
Arbitrage
2
0% / 50%
En retard
3
18%
Chargé
16
Développeur 16
Évaluation
(560)
Projets
855
61%
Arbitrage
33
27% / 45%
En retard
24
3%
Gratuit
Publié : 1 code
17
Développeur 17
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
18
Développeur 18
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(2676)
Projets
3420
68%
Arbitrage
77
48% / 14%
En retard
343
10%
Travail
Publié : 1 code
20
Développeur 20
Évaluation
(7)
Projets
6
0%
Arbitrage
4
25% / 75%
En retard
2
33%
Gratuit
21
Développeur 21
Évaluation
(6)
Projets
8
38%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
22
Développeur 22
Évaluation
(258)
Projets
396
28%
Arbitrage
70
19% / 49%
En retard
121
31%
Gratuit
23
Développeur 23
Évaluation
(279)
Projets
378
72%
Arbitrage
19
32% / 47%
En retard
16
4%
Gratuit
Publié : 15 codes
24
Développeur 24
Évaluation
(12)
Projets
13
23%
Arbitrage
7
0% / 71%
En retard
3
23%
Travail
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
Commandes similaires
a { text-decoration: none; color: #464feb; } tr th, tr td { border: 1px solid #e6e6e6; } tr th { background-color: #f5f5f5; } Project Description I need an Expert Advisor (EA) for MetaTrader 5 (MT5) that can automatically trade Gold (XAUUSD) and major Forex pairs. The EA must analyze market conditions, open and close trades automatically, manage risk effectively, and be fully compatible with the MT5 Strategy Tester

Informations sur le projet

Budget
50 - 150 USD
Délais
de 2 à 7 jour(s)