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

MQL5 Experts

Spécifications

📌 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.

Dossiers :

Répondu

1
Développeur 1
Évaluation
(393)
Projets
549
40%
Arbitrage
30
57% / 3%
En retard
57
10%
Travail
Publié : 11 codes
2
Développeur 2
Évaluation
(210)
Projets
282
46%
Arbitrage
27
59% / 37%
En retard
36
13%
Gratuit
3
Développeur 3
Évaluation
(3)
Projets
3
0%
Arbitrage
1
0% / 100%
En retard
0
Gratuit
4
Développeur 4
Évaluation
(8)
Projets
8
38%
Arbitrage
0
En retard
0
Travail
5
Développeur 5
Évaluation
(101)
Projets
122
24%
Arbitrage
22
27% / 50%
En retard
8
7%
Travail
6
Développeur 6
Évaluation
(565)
Projets
655
33%
Arbitrage
42
40% / 45%
En retard
11
2%
Occupé
7
Développeur 7
Évaluation
(12)
Projets
13
23%
Arbitrage
7
0% / 71%
En retard
3
23%
Travail
8
Développeur 8
Évaluation
Projets
1
0%
Arbitrage
1
0% / 0%
En retard
0
Gratuit
9
Développeur 9
Évaluation
(9)
Projets
14
7%
Arbitrage
3
33% / 67%
En retard
1
7%
Travail
10
Développeur 10
Évaluation
(255)
Projets
262
30%
Arbitrage
0
En retard
3
1%
Gratuit
Publié : 2 codes
11
Développeur 11
Évaluation
(2)
Projets
2
0%
Arbitrage
0
En retard
0
Gratuit
12
Développeur 12
Évaluation
(69)
Projets
79
29%
Arbitrage
8
13% / 63%
En retard
4
5%
Gratuit
13
Développeur 13
Évaluation
(16)
Projets
20
0%
Arbitrage
10
0% / 80%
En retard
6
30%
Gratuit
14
Développeur 14
Évaluation
(12)
Projets
17
12%
Arbitrage
4
50% / 25%
En retard
4
24%
Chargé
15
Développeur 15
Évaluation
(4)
Projets
8
50%
Arbitrage
1
0% / 100%
En retard
1
13%
Gratuit
16
Développeur 16
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
17
Développeur 17
Évaluation
(45)
Projets
57
51%
Arbitrage
6
83% / 0%
En retard
1
2%
Gratuit
18
Développeur 18
Évaluation
Projets
0
0%
Arbitrage
0
En retard
0
Gratuit
19
Développeur 19
Évaluation
(1)
Projets
1
100%
Arbitrage
0
En retard
0
Gratuit
20
Développeur 20
Évaluation
(19)
Projets
23
9%
Arbitrage
6
33% / 50%
En retard
1
4%
Chargé
21
Développeur 21
Évaluation
(1)
Projets
2
50%
Arbitrage
0
En retard
0
Gratuit
22
Développeur 22
Évaluation
(5)
Projets
10
20%
Arbitrage
1
0% / 100%
En retard
1
10%
Travail
23
Développeur 23
Évaluation
(187)
Projets
244
20%
Arbitrage
22
50% / 18%
En retard
0
Travail
24
Développeur 24
Évaluation
(16)
Projets
18
28%
Arbitrage
0
En retard
3
17%
Gratuit
25
Développeur 25
Évaluation
(3)
Projets
5
20%
Arbitrage
2
50% / 0%
En retard
0
Travail
Publié : 1 article, 24 codes
26
Développeur 26
Évaluation
(296)
Projets
475
40%
Arbitrage
105
40% / 24%
En retard
80
17%
Occupé
Publié : 2 codes
27
Développeur 27
Évaluation
(3)
Projets
7
14%
Arbitrage
1
0% / 0%
En retard
2
29%
Travail
Commandes similaires
Description: I need an MQL5 Expert Advisor for Gold (XAUUSD). I am a developer myself — I will read your code and I will know if it is a template. Do not apply if your proposal includes: Generic descriptions ("it will have TP, SL, trailing stop") — I already know that AI-generated code Copy-paste from existing free EAs Apply only if you can answer these before we start: What is the entry logic? Describe the exact
Hi, Im looking to purchase or build an EA that can open many trades or big lot size to churn out IB commission, it doesnt have to be super profitable but will need to have the number of trades on going in order to earn IB commission. If you have any EA or strategy that are gearing towards this, let me know and i would be glad to purchase it
looking for a highly experienced mql5 developer to build a professional trading ea based on multi timeframe top down analysis and market structure concepts the system should combine higher timeframe context with lower timeframe execution and provide both precise logic and clean visual representation on chart ⸻ core requirements • implementation of multi timeframe logic higher timeframe bias combined with lower
I need an Expert Advisor (EA) for XAUUSD using a Grid + Martingale + Hedging strategy. Main features: • Open Buy & Sell at start (hedging) • Grid system with adjustable step (price-based levels) • Lot multiplier (martingale-style) • Fixed TP per trade + basket TP (close all in profit) • Continuous re-entry after TP • Risk management (max trades, max lot, equity stop) Additional requirements: • EA must include access
1. Trade Execution Timing The EA must execute trades exactly at 7:00 PM IST (Indian Standard Time) every trading day. Time conversion must be handled internally if the broker server time differs from IST. Execution should trigger only once per day (no duplicate trades). 2. Trade Type At 7:00 PM IST, the EA must: Open 1 Buy/Sell (Long/Short) position (configurable) 3. Order Execution Method Orders must be placed
I need for an EA for XAUUSD using a grid + Martingle + hedging strategy developer Main features: • Open Buy & Sell at start (hedging) • Grid system with adjustable step (price-based levels) • Lot multiplier (martingale-style) • Fixed TP per trade + basket TP (close all in profit) • Continuous re-entry after TP • Risk management (max trades, max lot, equity stop) EA should be stable, error-free, and work with
Mkiheme elite Bots 50 - 150 USD
I need a fully automated strategies trading futures, that works with pine scripts on tradingview.com . I need a fully automated trading robot designed to generate consistent profits while strictly controlling risk and minimizing losses. The robot should use a combination of strategies, including trend-following, scalping, and price action, and must be able to adapt to different market conditions such as trending and
​Entry Rules: > * Open BUY when a Bullish Fair Value Gap (FVG) forms. ​Open SELL when a Bearish Fair Value Gap (FVG) forms. ​Risk Management: ​Every trade must have a Stop Loss and Take Profit. ​I want to be able to change these numbers in the settings. ​Mobile Features: ​The bot must send a "Push Notification" to my phone app for every trade. ​Assets: ​Must work on WTI Oil and Bitcoin
I am looking for a reliable and well-developed Expert Advisor (EA) that demonstrates low drawdown and consistent profitability on a real trading account . If you have already built such an EA, I would be interested in evaluating it. I would require: Verified backtest results Forward testing performance (demo or real account preferred) Ideally, a live track record (Myfxbook / FXBlue or similar) I am serious about
🏆 HIRING: Quantitative Gold (XAU/USD) Trading Strategy Developer ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 📌 PROJECT OVERVIEW ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ I am building a professional trading signal platform (xtraderlab.com) and need an experienced quant trader or algo developer to design, code, and backtest a high-performance intraday Gold (XAU/USD) trading strategy. The strategy will be integrated into an existing

Informations sur le projet

Budget
100+ USD
Délais
de 1 à 3 jour(s)

Client

Commandes passées2
Nombre d'arbitrages0