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

Trabajo finalizado

Plazo de ejecución 3 días
Comentario del Cliente
The first development was very successful. He knows MT4 MT5 very well. He is very good

Tarea técnica

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.

Han respondido

1
Desarrollador 1
Evaluación
(264)
Proyectos
330
29%
Arbitraje
36
25% / 64%
Caducado
10
3%
Trabaja
2
Desarrollador 2
Evaluación
(3)
Proyectos
3
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(169)
Proyectos
179
46%
Arbitraje
3
33% / 33%
Caducado
1
1%
Trabaja
4
Desarrollador 4
Evaluación
(1304)
Proyectos
1732
49%
Arbitraje
55
67% / 16%
Caducado
38
2%
Libre
5
Desarrollador 5
Evaluación
(635)
Proyectos
1005
47%
Arbitraje
33
36% / 36%
Caducado
99
10%
Trabaja
Ha publicado: 6 ejemplos
6
Desarrollador 6
Evaluación
(12)
Proyectos
15
33%
Arbitraje
5
40% / 20%
Caducado
1
7%
Trabaja
Ha publicado: 6 artículos, 34 ejemplos
7
Desarrollador 7
Evaluación
(268)
Proyectos
602
34%
Arbitraje
64
20% / 58%
Caducado
147
24%
Trabaja
Ha publicado: 1 artículo, 22 ejemplos
8
Desarrollador 8
Evaluación
(252)
Proyectos
462
26%
Arbitraje
139
20% / 60%
Caducado
100
22%
Libre
9
Desarrollador 9
Evaluación
(9)
Proyectos
14
43%
Arbitraje
1
100% / 0%
Caducado
2
14%
Trabaja
10
Desarrollador 10
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(21)
Proyectos
28
32%
Arbitraje
4
50% / 25%
Caducado
4
14%
Trabaja
12
Desarrollador 12
Evaluación
(255)
Proyectos
299
76%
Arbitraje
13
77% / 0%
Caducado
4
1%
Trabaja
13
Desarrollador 13
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
15
Desarrollador 15
Evaluación
(8)
Proyectos
14
21%
Arbitraje
2
0% / 50%
Caducado
3
21%
Trabaja
16
Desarrollador 16
Evaluación
(548)
Proyectos
834
62%
Arbitraje
33
27% / 45%
Caducado
24
3%
Libre
Ha publicado: 1 ejemplo
17
Desarrollador 17
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(2672)
Proyectos
3407
68%
Arbitraje
77
48% / 14%
Caducado
342
10%
Libre
Ha publicado: 1 ejemplo
20
Desarrollador 20
Evaluación
(7)
Proyectos
6
0%
Arbitraje
4
25% / 75%
Caducado
2
33%
Libre
21
Desarrollador 21
Evaluación
(6)
Proyectos
7
43%
Arbitraje
1
0% / 100%
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(258)
Proyectos
396
28%
Arbitraje
69
19% / 49%
Caducado
121
31%
Trabaja
23
Desarrollador 23
Evaluación
(279)
Proyectos
377
72%
Arbitraje
19
32% / 47%
Caducado
15
4%
Trabaja
Ha publicado: 15 ejemplos
24
Desarrollador 24
Evaluación
(12)
Proyectos
13
23%
Arbitraje
7
0% / 71%
Caducado
3
23%
Trabaja
25
Desarrollador 25
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
26
Desarrollador 26
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Solicitudes similares
I have a High-Frequency Trading (HFT) Expert Advisor for both MT4 and MT5 designed primarily for US30 (Dow Jones Index) . The EA performs consistently and profitably on demo accounts, but when I run it on an IC Markets Raw or Standard live account, it starts generating losses under what appear to be the same trading conditions. At this time, I cannot provide the source code (.mq4/.mq5). I can only provide the
Version document : 1.0 Plateforme : TradingView Langage : Pine Script v6 Type : Indicateur d'analyse et d'aide à la décision (non-exécutant) 1. Présentation du projet Nom du produit ONYX SR V2 — Intelligent Support & Resistance Scalping System Objectif Créer un indicateur TradingView capable d'identifier automatiquement des opportunités de scalping basées sur : supports et résistances dynamiques ; action du prix ;
EA Crafter 500+ USD
Act as a professional Quantitative Developer and Risk Manager. I want to build a systematic trading strategy rulebook that prioritizes capital preservation and statistical edge over raw performance. Please generate a structured trading strategy using the following framework: 1. ASSET CLASS & TIMEFRAME: - Asset: [e.g., Apple (AAPL), Bitcoin (BTC), or EUR/USD] - Timeframe: [e.g., 5-minute, 1-hour, Daily] 2. CORE
Part 1: Project setup Input settings (risk, stop loss, take profit, EMA periods) Indicator initialization Trade management framework Part 2: Trading logic EMA crossover detection Buy/Sell entry rules One-trade-per-symbol check Part 3: Risk management Automatic lot size calculation Stop-loss and take-profit placement Trade execution and error handling Part 4: Final touches On-screen information Optimization
# H4 Zone Retest EA (MQL5) An automated trading Expert Advisor (EA) for MetaTrader 5, developed in MQL5. The EA trades gold (XAUUSD) using a multi-timeframe breakout and retest strategy: it defines the first H4 candle of each day as a trading zone, detects breakouts on the M5 chart, waits for a retest, and executes trades with risk management, trailing stops, and optional news filtering. --- ## Features - H4 → M5
I require a custom EA and an accompanying custom indicator built in MQL5 for Meta Trader 4/5. The EA must be fully automated (Algo Trading); Telegram-Signal-Linked and named 'AMK Fx'

Información sobre el proyecto

Presupuesto
50 - 150 USD
Plazo límite de ejecución
de 2 a 7 día(s)