MQL5 Developer

Tarea técnica


📄 وثيقة المواصفات الفنية لروبوت التداول (MQL5 EA Specification)
📌 1. ملخص المشروع والهدف
* اسم المشروع: Gold Cent Grid-Hedge EA
* المنصة: MetaTrader 5 (MQL5)
* أداة التداول: الذهب (XAUUSD)
* نوع الحساب: حساب سنت (Cent Account)
* فكرة الاستراتيجية: تداول شبكة هيدج متوازنة (Grid-Hedging) تفتح صفقات تعزيز كل مسافة محددة، وتغلق الطرف الأكثر ربحاً عند تحقيق هدف مالّي مجمع بالدولار/السنت لإعادة هيكلة التوازن.
⚙️ 2. مدخلات الروبوت (Input Parameters)
يجب أن تحتوي قائمة المدخلات (Inputs) على المتغيرات التالية لتمكين المستخدم من تعديلها بسهولة:
| اسم المتغير | النوع | القيمة الافتراضية | الوصف الفني |
|---|---|---|---|
| InpLotSize | double | 0.10 | حجم اللوت الثابت لكل صفقة (Cent Lot) |
| InpStepPoints | int | 1000 | مسافة الشبيكة بالنواقص/النقاط (1000 point = $10.0 في الذهب) |
| InpTargetProfit | double | 1000.0 | الهدف المالي المجمع بالسنت لإغلاق الطرف الرابح ($10.0 حقيقي = 1000 Cent) |
| InpMagicNumber | ulong | 888111 | الرقم السحري المخصص للروبوت لتمييز صفقاته |
🔄 3. شروط فتح الصفقات (Entry & Grid Rules)
* الصفقة الأولى (Initial Orders Setup):
   * عند تشغيل الروبوت لأول مرة على الشارت بدون صفقات مفتوحة تخص الـ Magic Number، يقوم فوراً بفتح صفقتي هيدج معاكسين بنفس الوقت:
     * 1 صفقة شراء (BUY) بحجم 0.10 لوت سنت بسعر الـ Ask الحالي.
     * 1 صفقة بيع (SELL) بحجم 0.10 لوت سنت بسعر الـ Bid الحالي.
* شبكة الشراء (Buy Grid Execution):
   * يفحص الروبوت أحدث صفقة شراء مفتوحة (Last Buy Open Price).
   * إذا هبط سعر الـ Ask بمقدار >= InpStepPoints (مثلاً 1000 نقطة) عن سعر أحدث صفقة شراء ⬅️ يفتح صفقة BUY جديدة بحجم 0.10.
* شبكة البيع (Sell Grid Execution):
   * يفحص الروبوت أحدث صفقة بيع مفتوحة (Last Sell Open Price).
   * إذا ارتفع سعر الـ Bid بمقدار >= InpStepPoints (مثلاً 1000 نقطة) عن سعر أحدث صفقة بيع ⬅️ يفتح صفقة SELL جديدة بحجم 0.10.
💰 4. إدارة جني الأرباح والتوازن (Basket Profit & Rebalancing)
* لا يتم وضع StopLoss أو TakeProfit فردي لكل صفقة.
* يعتمد التسكير على إجمالي الربح العائم (Floating Profit + Swap) الخاص بجميع الصفقات المفتوحة التي تحمل نفس الـ InpMagicNumber.
معيار الخروج وتصفية الأطراف (Exit Algorithm):
* يقوم الروبوت باستمرار بحساب:
   * مجموع أرباح جميع صفقات الشراء المفتوحة (Total_Buy_Profit).
   * مجموع أرباح جميع صفقات البيع المفتوحة (Total_Sell_Profit).
   * الربح الإجمالي المجمع: Total_Profit = Total_Buy_Profit + Total_Sell_Profit.
* شرط التحقق: عندما يصبح Total_Profit >= InpTargetProfit (أي يوصل مجموع الأرباح إلى $10 / 1000 سنت):
   * إذا كان Total_Buy_Profit > Total_Sell_Profit: يقوم الروبوت بإغلاق جميع صفقات الشراء المفتوحة فوراً (Close All Buy Positions) وتترك صفقات البيع مفتوحة.
   * إذا كان Total_Sell_Profit > Total_Buy_Profit: يقوم الروبوت بإغلاق جميع صفقات البيع المفتوحة فوراً (Close All Sell Positions) وتترك صفقات الشراء مفتوحة.
   * إذا تساوى الطرفان: يتم إغلاق جميع الصفقات بالكامل (Close All Positions).
🛡️ 5. الملاحظات الفنية للمبرمج (Technical Guidelines for Coder)
* التعامل مع النقاط (Point Calculation): يرجى التأكد من استخدام _Point بدقة بما يتوافق مع تسعير الذهب 2-Digit أو 3-Digit في المنصة.
* إدارة الأخطاء والتنفيذ: استدعاء دالة trade.PositionClose() للتأكد من إغلاق الصفقات بأمان دون مشاكل Re-quote.
* توليد السجلات (Logging): إضافة أمور Print() في المنصة عند إغلاق طرف رابح لتوضيح حجم الربح المحقق وسعر الإغلاق.

Han respondido

1
Desarrollador 1
Evaluación
(282)
Proyectos
353
29%
Arbitraje
37
27% / 65%
Caducado
10
3%
Trabajando
2
Desarrollador 2
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(178)
Proyectos
191
46%
Arbitraje
4
25% / 25%
Caducado
1
1%
Ocupado
4
Desarrollador 4
Evaluación
(3)
Proyectos
9
67%
Arbitraje
0
Caducado
0
Trabaja
5
Desarrollador 5
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(8)
Proyectos
11
36%
Arbitraje
0
Caducado
1
9%
Trabajando
7
Desarrollador 7
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 2 ejemplos
8
Desarrollador 8
Evaluación
(19)
Proyectos
22
18%
Arbitraje
9
33% / 44%
Caducado
3
14%
Trabaja
Ha publicado: 1 ejemplo
9
Desarrollador 9
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
10
Desarrollador 10
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
11
Desarrollador 11
Evaluación
(260)
Proyectos
305
76%
Arbitraje
13
77% / 0%
Caducado
5
2%
Trabajando
12
Desarrollador 12
Evaluación
(211)
Proyectos
274
21%
Arbitraje
24
54% / 17%
Caducado
0
Libre
13
Desarrollador 13
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
14
Desarrollador 14
Evaluación
(87)
Proyectos
121
68%
Arbitraje
5
80% / 0%
Caducado
12
10%
Trabaja
15
Desarrollador 15
Evaluación
(52)
Proyectos
58
59%
Arbitraje
4
0% / 25%
Caducado
1
2%
Libre
16
Desarrollador 16
Evaluación
(83)
Proyectos
95
32%
Arbitraje
9
22% / 56%
Caducado
5
5%
Trabaja
17
Desarrollador 17
Evaluación
(20)
Proyectos
26
38%
Arbitraje
6
33% / 50%
Caducado
0
Libre
18
Desarrollador 18
Evaluación
(553)
Proyectos
844
61%
Arbitraje
33
27% / 45%
Caducado
24
3%
Libre
Ha publicado: 1 ejemplo
19
Desarrollador 19
Evaluación
(6)
Proyectos
8
38%
Arbitraje
1
100% / 0%
Caducado
2
25%
Libre
20
Desarrollador 20
Evaluación
(2)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
1
50%
Libre
21
Desarrollador 21
Evaluación
(2)
Proyectos
2
50%
Arbitraje
0
Caducado
0
Libre
22
Desarrollador 22
Evaluación
(1)
Proyectos
1
0%
Arbitraje
0
Caducado
0
Libre
Ha publicado: 1 ejemplo
Solicitudes similares
Most of the expert is already coded . Create a panel to show the Ratio for the Range . Trigger is based on ratio . Show Distribution / project starts after we clear Distribution
Expert Advisors 300+ USD
double CRiskManager::CalculateLotSize(double slPoints) { double balance = AccountInfoDouble(ACCOUNT_BALANCE); double riskMoney = balance * (m_riskPercent / 100.0); double tickValue = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_VALUE); double tickSize = SymbolInfoDouble(_Symbol, SYMBOL_TRADE_TICK_SIZE); double pointValue = tickValue / tickSize; double lot = riskMoney / (slPoints * pointValue);
i share my strategy i need a bot trending bot fo mt5 . i attached the photo with this it help to make bot. it basicly 1 hours time frame base. i try but failed to make it
Title: Simple background trading bot for my Oanda account (v20 REST API) Overview Hi, I need a simple, lightweight event based standalone trading bot that connects directly to my Oanda account using broker’s standard REST API (V20 account) via VPS The bot just needs to look at group of 5 currency pairs (manually selectable and adjustable) in different 4 baskets, do some basic percentage math every period, and place
Hi developer I want to convert my mt4 EA to mt5 EA . I have a mt4 ea with source code. i want developer to copy same mt4 code and create mt5 EA
Gold hunter v5 30+ USD
*TITLE:* 5 Trades EA - EMA20/50 + RSI - Safe for Small Account *SPECIFICATION:* I need MT5 EA - Source Code .mq5 *Logic:* Buy: EMA20 > EMA50 and RSI(14) 45-70 Sell: EMA20 < EMA50 and RSI(14) 30-55 Timeframe M15, Symbol XAUUSD and all Forex *Trade Management:* Max 5 trades at same time. Fixed lot 0.01. No martingale. No lot increase. Distance between trades 150 points. Do not open all 5 at same price. Max 5 total
I need an Expert Advisor (EA) developed for MetaTrader 5 (MT5) tailored for trading on Exness accounts. Account & Server Details: Trading Platform: MetaTrader 5 (MT5) Broker: Exness Execution Type: Market / Pending Orders Account Type: [Specify: Standard / Pro / Raw Spread / Zero] Target Instruments: [Specify pairs, e.g., XAUUSD, EURUSD, BTCUSD] Strategy Requirements: Entry Rules: [Insert your buy/sell entry
Monthly Report: August 2026 World PEACE Multi FX Algo generated a total realized profit of approximately 31,966 JPY during August. The provider account is normally operated with approximately 200,000 JPY of capital. Compared with this standard operating amount, the realized profit for August was approximately 15.98%. Please note that this is not a compounded monthly return. Realized profits are withdrawn regularly
I’m looking for an experienced developer who can build a Martingale trading bot. I’m willing to pay a fair price for the right developer. I have an example trading account that demonstrates exactly how I want the bot to operate. The strategy is straightforward: the bot trades continuously using a Martingale system. The only exception is that it should automatically pause trading during high-impact news events or
This is a Tradingview project. Would you be able to make this? With a win rate and profit factor and percentage made and profit made and max dd reached. How many modifications would I be able to do? Could there be a table that shows win percentage profit factor and trading window where trades shouldn’t be placed and follows the rules of the pdf How long would it take and would it work on ninjatrader also

Información sobre el proyecto

Presupuesto
30+ USD

Cliente

Encargos realizados1
Número de arbitrajes0