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

Job finished

Execution time 3 days
Feedback from customer
The first development was very successful. He knows MT4 MT5 very well. He is very good

Specification

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.

Responded

1
Developer 1
Rating
(291)
Projects
363
30%
Arbitration
37
27% / 65%
Overdue
10
3%
Loaded
Published: 10 codes
2
Developer 2
Rating
(3)
Projects
3
0%
Arbitration
1
0% / 100%
Overdue
0
Free
3
Developer 3
Rating
(184)
Projects
198
46%
Arbitration
4
50% / 25%
Overdue
1
1%
Working
4
Developer 4
Rating
(1305)
Projects
1735
49%
Arbitration
55
67% / 16%
Overdue
38
2%
Free
5
Developer 5
Rating
(636)
Projects
1008
47%
Arbitration
33
36% / 36%
Overdue
99
10%
Working
Published: 6 codes
6
Developer 6
Rating
(23)
Projects
31
42%
Arbitration
9
22% / 33%
Overdue
3
10%
Loaded
Published: 8 articles, 35 codes
7
Developer 7
Rating
(268)
Projects
603
34%
Arbitration
65
22% / 57%
Overdue
146
24%
Working
Published: 1 article, 22 codes
8
Developer 8
Rating
(252)
Projects
462
26%
Arbitration
139
20% / 60%
Overdue
100
22%
Free
9
Developer 9
Rating
(11)
Projects
16
50%
Arbitration
1
100% / 0%
Overdue
4
25%
Free
10
Developer 10
Rating
(2)
Projects
2
0%
Arbitration
0
Overdue
0
Free
11
Developer 11
Rating
(24)
Projects
32
38%
Arbitration
4
50% / 25%
Overdue
5
16%
Working
12
Developer 12
Rating
(264)
Projects
310
75%
Arbitration
15
67% / 0%
Overdue
6
2%
Working
13
Developer 13
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
14
Developer 14
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
15
Developer 15
Rating
(10)
Projects
17
18%
Arbitration
2
0% / 50%
Overdue
3
18%
Loaded
16
Developer 16
Rating
(560)
Projects
855
61%
Arbitration
33
27% / 45%
Overdue
24
3%
Free
Published: 1 code
17
Developer 17
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
18
Developer 18
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
19
Developer 19
Rating
(2676)
Projects
3420
68%
Arbitration
77
48% / 14%
Overdue
343
10%
Working
Published: 1 code
20
Developer 20
Rating
(7)
Projects
6
0%
Arbitration
4
25% / 75%
Overdue
2
33%
Free
21
Developer 21
Rating
(6)
Projects
8
38%
Arbitration
1
0% / 100%
Overdue
0
Free
22
Developer 22
Rating
(258)
Projects
396
28%
Arbitration
70
19% / 49%
Overdue
121
31%
Free
23
Developer 23
Rating
(279)
Projects
378
72%
Arbitration
19
32% / 47%
Overdue
16
4%
Free
Published: 15 codes
24
Developer 24
Rating
(12)
Projects
13
23%
Arbitration
7
0% / 71%
Overdue
3
23%
Working
25
Developer 25
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
26
Developer 26
Rating
Projects
0
0%
Arbitration
0
Overdue
0
Free
Similar orders
Thujkkds 30 - 200 USD
Me and I will be there thank you for your help and sub and sub and sub in the morning to get the season and the screen is on the way home now and I will motho
Hi, I need NinjaTrader 8 Strategy Analyzer backtests on two of my strategies, each over 1 year AND 3 years of data. Please quote the full job. Common settings: NT8 Strategy Analyzer, MCL (Micro WTI Crude Oil) continuous front-month contract (MCL ##-##), 5-minute bars, 1yr + 3yr of the most recent data, $2.50 round-turn commission per contract. Deliverables per run: full Strategy Analyzer summary (net profit, profit
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
To create a unique description that meets the freelance site's requirements, you can type the following: "I am looking for an experienced MQL5 developer to create a custom Forex Expert Advisor. The trading strategy should be based on a moving average crossover system, filtered by the Relative Strength Index indicator. The expert advisor needs to feature distinct strategy modules with adjustable settings for the
Scalping bort 30+ USD
GOLD SCALPING BOT STRATEGY Symbol: XAUUSD (Gold vs USD) Broker: Exness Account: Standard Starting Balance: $20 1. TIMEFRAME - Trend analysis: M15. - Entry timeframe: M5. - Trade only when the market has a clear direction. 2. INDICATORS - EMA 50 - EMA 200 - RSI 14 - Support and Resistance 3. BUY RULES The bot must open a BUY trade only when all these conditions are met: 1. EMA 50 is above EMA 200 on M15. 2. Price is
Request for an Existing Automated Trading System (Expert Advisor) I am looking to acquire an existing, fully functional Expert Advisor (EA) that trades Forex CFDs, with the option of trading other CFDs if the strategy supports them safely. Performance objectives Target average net monthly return: 1.5%. A consistent 1.0% monthly return may be considered if the system demonstrates strong risk control and credible
Are you able to build one bot for stock and one for ninja trader and tell me the win rate on it. I need ninja trader bot that enter buy and exit according the move to do not stay long in the market in each entry . That can follow the smart money concept or other if you have a good one
I need a fully automated custom Expert Advisor for MetaTrader 5 (MQL5). The EA is intended for use on a The5ers $100,000 2-Step prop-firm account. IMPORTANT DELIVERY REQUIREMENT: I must receive the complete editable .mq5 source code as well as the compiled .ex5 file. Compiled-only delivery is NOT acceptable. The EA must be coded specifically for this project and must not copy trades, use external trading signals or
I need a professional XAUUSD signal indicator for MetaTrader 5, written entirely in MQL5 (.mq5). IMPORTANT: This is NOT an auto-trading EA. It must never open, close or modify trades. It only analyzes XAUUSD and generates signals + MT5 push notifications. 1. Multi-timeframe analysis: H4 → H1 → M30 → M15 → M10 → M5 → M1. 2. Detect market structure: - Swing High / Swing Low - BOS - MSS - CHOCH - Bullish/Bearish HTF
i have indicator for Trading View, also copy for NT, i need someone to improve and check the NT version (indicator is simple is volume density koncept)…. when i put same settings on TV version and NT version i have diffrerent results, but this can be because diffrent market data or fact that TV sending tick info in blocks , not tick by tick like NT8 on both. I(ndicator base on counting volume) so besied that is it

Project information

Budget
50 - 150 USD
Deadline
from 2 to 7 day(s)