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

MQL5 专家

工作已完成

执行时间48 天
员工反馈
Excellent client to work with. Clear requirements, professional communication, and smooth collaboration throughout the project

指定

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

附加的文件:

反馈

1
开发者 1
等级
(395)
项目
556
41%
仲裁
30
57% / 3%
逾期
57
10%
空闲
发布者: 11 代码
2
开发者 2
等级
(213)
项目
286
47%
仲裁
27
59% / 37%
逾期
36
13%
空闲
3
开发者 3
等级
(3)
项目
3
0%
仲裁
1
0% / 100%
逾期
0
空闲
4
开发者 4
等级
(8)
项目
9
33%
仲裁
1
100% / 0%
逾期
0
空闲
5
开发者 5
等级
(106)
项目
129
25%
仲裁
25
28% / 56%
逾期
8
6%
空闲
6
开发者 6
等级
(619)
项目
722
33%
仲裁
46
48% / 41%
逾期
14
2%
已载入
7
开发者 7
等级
(12)
项目
13
23%
仲裁
7
0% / 71%
逾期
3
23%
工作中
8
开发者 8
等级
(1)
项目
2
0%
仲裁
1
0% / 0%
逾期
0
空闲
发布者: 2 文章
9
开发者 9
等级
(19)
项目
25
36%
仲裁
3
33% / 67%
逾期
3
12%
工作中
10
开发者 10
等级
(258)
项目
269
29%
仲裁
2
50% / 0%
逾期
3
1%
工作中
发布者: 2 代码
11
开发者 11
等级
(2)
项目
2
0%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
(83)
项目
96
31%
仲裁
9
22% / 56%
逾期
5
5%
工作中
13
开发者 13
等级
(16)
项目
20
0%
仲裁
10
0% / 80%
逾期
6
30%
空闲
14
开发者 14
等级
(24)
项目
32
38%
仲裁
4
50% / 25%
逾期
5
16%
工作中
15
开发者 15
等级
(6)
项目
13
62%
仲裁
1
0% / 100%
逾期
2
15%
工作中
16
开发者 16
等级
项目
0
0%
仲裁
0
逾期
0
空闲
17
开发者 17
等级
(47)
项目
61
54%
仲裁
7
86% / 0%
逾期
2
3%
工作中
18
开发者 18
等级
项目
0
0%
仲裁
0
逾期
0
空闲
19
开发者 19
等级
(1)
项目
1
100%
仲裁
0
逾期
0
空闲
20
开发者 20
等级
(22)
项目
28
7%
仲裁
9
33% / 33%
逾期
1
4%
工作中
21
开发者 21
等级
(5)
项目
6
50%
仲裁
0
逾期
1
17%
空闲
22
开发者 22
等级
(6)
项目
11
18%
仲裁
1
0% / 100%
逾期
1
9%
空闲
23
开发者 23
等级
(211)
项目
274
21%
仲裁
24
54% / 17%
逾期
0
空闲
24
开发者 24
等级
(34)
项目
35
40%
仲裁
0
逾期
3
9%
空闲
25
开发者 25
等级
(16)
项目
23
48%
仲裁
8
25% / 38%
逾期
2
9%
已载入
发布者: 7 文章, 35 代码
26
开发者 26
等级
(298)
项目
478
40%
仲裁
105
40% / 24%
逾期
82
17%
已载入
发布者: 2 代码
27
开发者 27
等级
(9)
项目
16
19%
仲裁
2
0% / 50%
逾期
3
19%
已载入
28
开发者 28
等级
项目
0
0%
仲裁
0
逾期
0
空闲
29
开发者 29
等级
(7)
项目
6
0%
仲裁
4
25% / 75%
逾期
2
33%
空闲
30
开发者 30
等级
(22)
项目
25
24%
仲裁
5
20% / 80%
逾期
1
4%
空闲
发布者: 6 代码
相似订单
Need aggressive M1 gold scalper rewrite of Dev3 + 8 strategies. INPUTS: RiskPercent=3, TP=400, SL=300, MaxTrades=6, Mode=BOTH, DailyProfit 15%, DailyLoss -10% LOT = Balance * RiskPercent / 1000 - works for Cent R350 and $1000. 8 STRATEGIES any true = open instantly, check 1 sec: 1 EMA8/21 cross 2 RSI14 30/70 + engulf 3 Engulfing candle 4 BB 20,2 breakout 5 FVG grab M1 6 M5 trend + M1 entry 7 Wick rejection >2 8
Hi, I want to develop a custom SMC (Smart Money Concepts) EA for MT5. My budget is $100. Here are the strategy requirements: 1. Auto identification of BOS, CHoCH, Order Blocks (OB), and FVG. 2. Auto entry when price returns to OB/FVG. 3. Auto SL above/below OB and TP based on Risk-to-Reward ratio (1:2, 1:3). 4. Risk Management (Risk % per trade or fixed lot size), Trailing Stop, Break-Even, and Max Spread filter. 5
I need an experienced MQL5 developer to build a prototype MT5 Expert Advisor called RiskLock. The software should enforce user-defined trading risk rules before trades are executed. It should support risk percentage or fixed monetary risk, calculate position size using account equity, entry price, stop loss, tick value and contract specifications, block or reduce oversized trades, and include daily loss limits
I need EA Lil-MeProBot for MT5. Phone user, deliver .mq5 + .ex5. Symbols: XAUUSD EURUSD GBPUSD USDJPY BTCUSD, M15, Magic 777001 Strategy 6X Confluence score 4/6: 1. EMA 50/200 trend 2. Break of Structure 3. RSI 14 4. Strong body FVG/Order Block 5. Session 8am-9pm GMT+2 6. ATR filter Money Management LASTING: Lot 0.01 fixed, NO martingale, NO grid, Max 1 per symbol Max 2 total, SL ATR*2 TP ATR*3, Daily loss R40 stop
Project Overview I have an existing MT5 Expert Advisor (EA) written in MQL5. The source code ( .mq5 ) will be provided. The underlying strategy is a trend-following system that performs well during trending market conditions, but requires professional quantitative research to improve its ability to identify and avoid highly sideways/range-bound market conditions. The objective of this project is not to build a new EA
I am looking for an experienced MQL5 Expert Advisor (EA) developer to analyze an existing trading setup and develop a similar automated trading robot. Project Overview I have access to a demo trading account where trades are being executed automatically. The trading results look very promising, but I do not know exactly what strategy, logic, indicators, or trade-management rules are being used. I will provide access
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
Modification of existing ea …. Add ema filter, add risk percentage per trade, and modify the pips per day filter. I already have the ea code I just need these things added and modifified
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

项目信息

预算
100+ USD
截止日期
 1  3 天