MT5 Grid EA with Advanced Restart Recovery & No Duplicate Logic (Professional Project)”

MQL5 Asesores Expertos

Tarea técnica

📌 EXPERT ADVISOR (EA) DEVELOPMENT
COMPLETE A–Z FINAL REQUIREMENT DOCUMENT (FINAL VERSION)
1. 🔐 SECURITY SYSTEM (MANDATORY)

The EA must include strict security checks.
If any security condition fails, EA must immediately STOP trading.

1.1 Account Lock
#define ALLOWED_ACCOUNT 5047656761
EA must run ONLY on this account number
If account does not match:
❌ EA stops trading
🚨 Alert message
📲 Telegram notification to owner
1.2 Hardware / PC Lock
#define ALLOWED_PC_ID "XXXXXXXXXXXX"
EA must verify the hardware / PC ID
If PC ID does not match:
❌ EA stops trading
🚨 Alert message
📲 Telegram notification to owner
1.3 Unauthorized Access Handling

If any of the following occurs:

Account mismatch
PC ID mismatch
EA copied or moved

👉 EA must:

Immediately stop all trading actions
Send Telegram alert
Display terminal alert
Prevent further execution
2. ⚙️ GLOBAL SETTINGS (ONLY #define, NO INPUT PARAMETERS)

⚠️ No input parameters are allowed
⚠️ All settings must be via #define only

#define CLIENT_NAME        "Aakash"
#define BOT_TOKEN          "8694370443:AAG4Ml6OSPdsDC-Ji4S1utJlI7IgrZxWVyQ"
#define OWNER_CHAT_ID      "1390975665"
#define PROFIT_SHARE       25   // Percentage
Rules:
❌ No input variables allowed
❌ No runtime modification
✅ These values must be readable across the EA
✅ Used for Telegram messages, logs, and identification
3. ABSOLUTE & NON-NEGOTIABLE DEVELOPMENT RULES

These rules must be followed strictly:

❌ Do NOT modify the existing grid logic
❌ Do NOT touch or change OnTradeTransaction()
❌ Do NOT modify any existing functions
✅ All new logic must be added ONLY at the TOP of the code
✅ All controls must be via #define only
❌ No new input parameters allowed
✅ When the advanced system is OFF, the EA must behave 100% exactly like the original EA
❌ No workaround, shortcut, or logic replacement allowed
4. MASTER ON / OFF SYSTEM
#define ADVANCED_COOLDOWN_SYSTEM   true   // true = ON, false = OFF
Behavior:
OFF
EA works exactly like the original EA
No restriction, no filter, no cooldown
ON
All advanced rules apply
Security, Telegram, panel must remain active
5. DAILY FIXED PRICE-BASED COOLDOWN (CRITICAL)
Core Rule:
Cooldown is NOT rolling
Cooldown is checked ONLY within the same trading day
Logic:
At the start of a new trading day:
Lock a daily reference price
If during the same day price drops by defined cooldown distance:
Cooldown = ON
If price does not drop that much:
Cooldown must NOT activate
Next day:
Reference price resets
Previous day movement ignored
6. COOLDOWN MODE BEHAVIOR

When Cooldown = ON:

❌ No NEW grid orders allowed
❌ Skipped grids must be recorded as MISSED GRIDS
✅ Existing trades continue normally:
Partial closing
Trade management
Sell logic
7. COOLDOWN OFF → MISSED GRID RECOVERY
Missed grids must be placed ONLY when price reaches exact grid level
❌ No blind market orders
❌ No batch placement
❌ No overlapping orders
8. DAILY GREEN CANDLE FILTER (50%+ BODY)

(Only when Advanced System is ON)

Conditions:

Previous daily candle must be GREEN
Body size ≥ 50% (50–100 allowed)
Candle HIGH must be broken

If conditions fail:

❌ No new grids
✅ Existing trades unaffected
9. FAST MARKET MOVEMENT – ORDER SKIP HANDLING
Detect skipped orders
❌ Never force execution
❌ Never place blind market orders
✅ Put skipped orders in WAIT MODE
✅ Execute only when price reaches exact required level
10. 🚨 CRITICAL RULE – PARTIAL CLOSE MUST NEVER STOP

Partial closing must NEVER stop under any circumstances.

Includes:

Cooldown ON
Advanced system ON
Fast market
Order skipped
EA restart
VPS crash

Rules:

❌ Partial close must not be blocked by any filter
❌ Partial close logic must not be changed
✅ Original behavior must remain intact
✅ If skipped → wait → execute at correct price
11. 🔁 EA STOP / RESTART / CRASH RECOVERY

If EA is stopped, MT5 closed, or VPS restarted:
ing{variant="chat_message" id="99127"}
PROJECT: MT5 GRID EA – STABLE VERSION WITH RESTART RECOVERY

IMPORTANT: Read everything carefully before accepting. No changes or extra charges will be accepted later.

------------------------
1. CORE REQUIREMENT
------------------------
The EA must work exactly like a grid trading system with partial closing.

The MOST IMPORTANT requirement:
👉 If EA is stopped, removed, MT5 closed, or VPS restarted,
👉 It MUST continue from existing trades
👉 It must behave as if it was NEVER stopped

------------------------
2. RESTART / RECOVERY LOGIC (CRITICAL)
------------------------
On every start:
- Scan all open trades
- Scan all pending orders
- Detect current grid level
- Detect missed grid levels
- Detect missed partial closes

Rules:
❌ Do NOT start a new grid
❌ Do NOT place duplicate orders
❌ Do NOT assume fresh start

✅ Continue from existing trades only
✅ Place only missing orders at correct levels
✅ Maintain same lot sequence

------------------------
3. PARTIAL CLOSE (VERY IMPORTANT)
------------------------
- Partial closing must NEVER stop
- Must work in all conditions:
  - EA restart
  - VPS crash
  - fast market movement

If price already crossed levels:
👉 Execute all missed partial closes immediately

------------------------
4. DUPLICATE ORDER PROTECTION
------------------------
Before placing any order:
- Check if order already exists at that level

If exists:
❌ DO NOT place duplicate

------------------------
5. MISSED GRID HANDLING
------------------------
If EA was OFF and levels were missed:
- DO NOT place market orders blindly
- Place orders only at exact grid levels when price reaches them

------------------------
6. TESTING REQUIREMENT
------------------------
- Developer must test restart multiple times
- Stop → Start → Verify logic
- No duplicate orders
- Partial close must work perfectly

------------------------
7. DELIVERY CONDITIONS
------------------------
- Only working version must be sent
- No half-complete work
- No trial versions

------------------------
8. PAYMENT CONDITION (VERY IMPORTANT)
------------------------
- Fixed budget: XXX USD (no changes later)
- No extra payment requests allowed
- Payment ONLY after:
  - Full testing on my side
  - 100% working system

------------------------
9. FORWARD TEST (3 MONTHS)
------------------------
- I will do forward testing for 3 months
- If major bugs are found:
  - Developer must fix them
  - No extra charges

------------------------
FINAL CONDITION:
If you accept this project, it means:
✔️ You agree to ALL conditions
✔️ You will NOT ask for extra money later
✔️ You will deliver a COMPLETE working EA

If you do not 
Scan existing open trades
Scan pending orders
Detect current grid level
Detect missed grids and partial closes
❌ Do NOT start a fresh grid
❌ Do NOT assume clean start
✅ Continue strictly from existing trades
✅ Behave as if EA was never stopped
12. PANEL & TELEGRAM (MUST REMAIN ACTIVE)
Panel:
Cooldown status (ON/OFF)
Advanced system status (ON/OFF)
Active grid count
Telegram:
EA start / stop
Unauthorized access alerts
Margin alerts
13. STRICT DELIVERY, TESTING & PAYMENT CONDITIONS
✅ Minimum 3 months back-test + forward test
✅ Full MQ5 source code required
❌ EX5-only delivery not allowed
❌ No hidden costs
❌ No extra conditions later
💰 Payment only after full approval
FINAL STATEMENT TO DEVELOPER (SEND AS IS)

This EA must include strict account and hardware locking.
If the EA is stopped or restarted, it must continue trading based on existing trades only.
Partial closing must NEVER stop under any condition.
Skipped orders must wait for the exact price and must never be executed blindly.
Full MQ5 source code is mandatory after 3 months of successful testing.
No hidden costs or logic changes are acceptable.

Archivos adjuntos:

Han respondido

1
Desarrollador 1
Evaluación
(394)
Proyectos
552
41%
Arbitraje
30
57% / 3%
Caducado
57
10%
Trabaja
Ha publicado: 11 ejemplos
2
Desarrollador 2
Evaluación
(210)
Proyectos
283
46%
Arbitraje
27
59% / 37%
Caducado
36
13%
Trabaja
3
Desarrollador 3
Evaluación
(3)
Proyectos
3
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
4
Desarrollador 4
Evaluación
(8)
Proyectos
8
38%
Arbitraje
0
Caducado
0
Trabaja
5
Desarrollador 5
Evaluación
(104)
Proyectos
127
24%
Arbitraje
23
30% / 52%
Caducado
8
6%
Libre
6
Desarrollador 6
Evaluación
(576)
Proyectos
668
32%
Arbitraje
42
45% / 45%
Caducado
12
2%
Ocupado
7
Desarrollador 7
Evaluación
(12)
Proyectos
13
23%
Arbitraje
7
0% / 71%
Caducado
3
23%
Trabaja
8
Desarrollador 8
Evaluación
(1)
Proyectos
2
0%
Arbitraje
1
0% / 0%
Caducado
0
Libre
Ha publicado: 1 artículo
9
Desarrollador 9
Evaluación
(10)
Proyectos
17
18%
Arbitraje
3
33% / 67%
Caducado
3
18%
Libre
10
Desarrollador 10
Evaluación
(258)
Proyectos
265
29%
Arbitraje
0
Caducado
3
1%
Libre
Ha publicado: 2 ejemplos
11
Desarrollador 11
Evaluación
(2)
Proyectos
2
0%
Arbitraje
0
Caducado
0
Libre
12
Desarrollador 12
Evaluación
(75)
Proyectos
85
28%
Arbitraje
8
13% / 63%
Caducado
4
5%
Trabaja
13
Desarrollador 13
Evaluación
(16)
Proyectos
20
0%
Arbitraje
10
0% / 80%
Caducado
6
30%
Libre
14
Desarrollador 14
Evaluación
(16)
Proyectos
23
17%
Arbitraje
4
50% / 25%
Caducado
4
17%
Trabajando
15
Desarrollador 15
Evaluación
(4)
Proyectos
9
56%
Arbitraje
1
0% / 100%
Caducado
1
11%
Trabaja
16
Desarrollador 16
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
17
Desarrollador 17
Evaluación
(46)
Proyectos
59
53%
Arbitraje
7
86% / 0%
Caducado
2
3%
Trabaja
18
Desarrollador 18
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
19
Desarrollador 19
Evaluación
(1)
Proyectos
1
100%
Arbitraje
0
Caducado
0
Libre
20
Desarrollador 20
Evaluación
(19)
Proyectos
24
8%
Arbitraje
9
33% / 33%
Caducado
1
4%
Trabajando
21
Desarrollador 21
Evaluación
(5)
Proyectos
6
50%
Arbitraje
0
Caducado
1
17%
Libre
22
Desarrollador 22
Evaluación
(5)
Proyectos
10
20%
Arbitraje
1
0% / 100%
Caducado
1
10%
Trabaja
23
Desarrollador 23
Evaluación
(198)
Proyectos
255
21%
Arbitraje
22
50% / 18%
Caducado
0
Trabaja
24
Desarrollador 24
Evaluación
(26)
Proyectos
29
38%
Arbitraje
0
Caducado
3
10%
Libre
25
Desarrollador 25
Evaluación
(5)
Proyectos
8
13%
Arbitraje
4
50% / 0%
Caducado
0
Trabaja
Ha publicado: 3 artículos, 31 ejemplos
26
Desarrollador 26
Evaluación
(298)
Proyectos
477
40%
Arbitraje
105
40% / 24%
Caducado
81
17%
Trabajando
Ha publicado: 2 ejemplos
27
Desarrollador 27
Evaluación
(5)
Proyectos
9
11%
Arbitraje
2
0% / 50%
Caducado
2
22%
Trabaja
28
Desarrollador 28
Evaluación
Proyectos
0
0%
Arbitraje
0
Caducado
0
Libre
29
Desarrollador 29
Evaluación
(6)
Proyectos
5
0%
Arbitraje
4
25% / 75%
Caducado
2
40%
Libre
30
Desarrollador 30
Evaluación
(21)
Proyectos
23
17%
Arbitraje
5
20% / 80%
Caducado
1
4%
Libre
Ha publicado: 4 ejemplos
Solicitudes similares
Labouchere System has many series and can transfer the Units to any other Series when needed (this function is very important). The coders who really knows this cancellation sytem can apply. Also the coder should have practical usage of phyton language to translate this strategy into phyton to use it in crypto markets. No indicator or chart issues , but it has many mathematical functions and calculations . the code
Hello everyone, I’m looking for someone who can help me develop an Expert Advisor (EA) for Boom and Crash markets. I need a developer who has proven experience and has already developed at least 10–15 EAs for Boom and Crash. This will help save both your time and my time when filtering developers. The EA will include: EMA crossover strategy Different time filters Additional custom conditions and logic I’m also
I want to find a Developer to perform this work and settle payments in this Application. I undertake not to communicate with Applicants anywhere else except this Application, including third-party messengers, personal correspondence or emails. I understand that violators will be banned from publishing Orders in the Freelance service. I have read the Rules of using the Freelance service and accept them. I agree with
Overview: I would like to create a robot in MT5 (what I use) that when the price or candle touches a moving average it auto- matically gets me into a trade. Details or features I need: 1 a way to tell it how much to trade 0.10 or ten cents per pip or more or do I set this in MT5? 2 a way to limit the number of trades per candle or set it to two or three trades (if the price crosses over the moving average ten times I
Candle bot 30+ USD
A dual-direction breakout stacking EA using previous candle highs/lows as triggers with rolling pending orders and fixed micro take profits. It is suitable for: automation EA development trend capture with repeated entries recovery-style trade management
Szukam doświadczonego programisty do stworzenia dedykowanego doradcy eksperckiego (EA) do tradingu. Programista powinien posiadać solidną wiedzę z zakresu MT5, logiki strategii, wskaźników, zarządzania ryzykiem i backtestingu. Doświadczenie w tworzeniu niezawodnych i profesjonalnych robotów handlowych będzie dodatkowym atutem. Proszę o kontakt, jeśli zrealizowałeś już podobne projekty. wszystkie szczeguły podam w
I am looking to buy a ready-made automated trading robot / EA that works on the Tradovate platform and is proven to pass prop firm challenges for Apex Trader Funding, Tradeify, and Lucid Trading.Key Requirements (must be ready-made or very close to plug-and-play):Fully functional on Tradovate (native or via stable bridge/copier/webhook/API integration – MT5 EA + Tradovate bridge is acceptable if it works reliably)
Alex 1000+ USD
Нужен бот для скальпинга именно на Python. Работа напрямую через API биржи (без привязки к TradingView и MetaTrader). Бот будет запускаться локально на ноутбуке / VPS. Критически важна скорость (использование асинхронности, WebSockets
Looking for an experienced programmer to create a fully automated trading system. The EA must be able to detect SPECIFIC H&Shoulder patterns, identify entry point and open a position. Parameters: Candle Count : EX: 50 - meaning the max amount of candle history to look for a pattern. (user adjustable) RISK: EG "2" Meaning the position that must be opened must be 2% of the Balance of the account (user adjustable). The
I’m looking for an experienced MetaTrader 4 (MT4) developer to analyze, repair, and live-test an existing .EX4 Expert Advisor. Project Details Existing file: GannMadeEasy_pro.ex4 Platform: MetaTrader 4 Issue: EA is not loading properly on charts in newer MT4 builds Goal: Make the EA fully functional and compatible with current MT4 versions Requirements The developer must: Analyze the existing EX4 file Identify

Información sobre el proyecto

Presupuesto
100+ USD
Plazo límite de ejecución
de 1 a 3 día(s)