Deleted the job already

MQL5 专家 脚本

指定


Deleted the job already

I need someone to help me modify the code; the EA has a problem and needs fixing.


I believe EA encountered "Return Codes of the Trade Server," which sometimes prevented it from opening orders, and it will not try again.

Problem: Return Codes of the Trade Server (10004 to10046)

https://www.mql5.com/en/docs/constants/errorswarnings/enum_trade_return_codes




price comment Price_Points_Steps


5181.399 1772617140-0 0


5186.119 1772617140-1 4000


5193.933 1772617140-2 8000


5202.292 1772617140-3 8000


5183.194 1772617140-4 -16000


5199.080 1772617140-5 16000 CURRENT STEP


5175. 1772617140-24000 NEXT STEP


5175.08 is 1772617140-6, but no sell order has been opened. Why? It's currently at 5069.


The above is one example of a failed attempt.


The fundamental problem is...


EA sometimes fails to open at a certain step.


Therefore, the following needs to be added.


Adding this feature isn't to suggest your Expert Advisor (EA) has a problem, but rather to prevent issues.


Please add the following logic to handle unexpected situations:


If the EA opens a position, it checks if the position opening status has failed. If it has, it checks again if the opening conditions are met. If so, it opens the position. The purpose is to prevent potential position opening failures from hindering subsequent trading.


If the EA closes a position, it checks if the closing status has failed. If it has, it checks again if the order closing conditions are met. If so, it closes the order. The purpose is to prevent positions from being held for too long or hindering subsequent trading due to failed closing.


The scenario is closing the EA.


After the EA closes all orders, it checks if the closing status has failed, then closes the EA. If so, the EA closes all orders again. The purpose is to prevent positions from being held indefinitely due to failed closing.


However, in most cases, EAs can enable step 6 (random), while in a small number they cannot, leading to significant account losses.

However, in most cases, EAs can enable step 8 (random), while in a small number they cannot, leading to significant account losses.

However, in most cases, EAs can enable step 4 (random), while in a small number they cannot, leading to significant account losses.



----------------------------------------------


Modification 9:

Adding this feature isn't to suggest your Expert Advisor (EA) has a problem, but rather to prevent issues.


Please add the following logic to handle unexpected situations:


If the EA opens a position, it checks if the position opening status has failed. If it has, it checks again if the opening conditions are met. If so, it opens the position. The purpose is to prevent potential position opening failures from hindering subsequent trading.


If the EA closes a position, it checks if the closing status has failed. If it has, it checks again if the order closing conditions are met. If so, it closes the order. The purpose is to prevent positions from being held for too long or hindering subsequent trading due to failed closing.


The scenario is closing the EA.


After the EA closes all orders, it checks if the closing status has failed, then closes the EA. If so, the EA closes all orders again. The purpose is to prevent positions from being held indefinitely due to failed closing.


Remark: EA logic

-----------------------------------------------------------------------------------------------------------

Modification 10:


int NumRetry = 1;


I saw the AI ​​say that this code doesn't re-check the order opening conditions, but instead blindly opens a position.


If so, please remove it for me. This code is completely useless and a trap. Even without it, EA will loop back and re-check the order opening conditions before opening a position. One blind opening is unnecessary.


because NumRetry = 1; 

The account was not liquidated because it did not enter the market at nearly the same price level.


because NumRetry = 999999; 

The account was liquidated because it entered the market at nearly the same price level.




Remark: EA logic

-----------------------------------------------------------------------------------------------------------

Modification 11:

If you do your best to help me identify and correct all the potential risks in the EA, I will add $100 as extra pay for your work.


Remark: Potential risks


反馈

1
开发者 1
等级
(21)
项目
27
7%
仲裁
9
33% / 33%
逾期
1
4%
工作中
2
开发者 2
等级
(33)
项目
34
41%
仲裁
0
逾期
3
9%
空闲
3
开发者 3
等级
(50)
项目
64
20%
仲裁
11
27% / 55%
逾期
5
8%
空闲
4
开发者 4
等级
(70)
项目
87
57%
仲裁
6
67% / 17%
逾期
2
2%
已载入
5
开发者 5
等级
(13)
项目
18
11%
仲裁
6
33% / 67%
逾期
1
6%
空闲
发布者: 1 代码
6
开发者 6
等级
(319)
项目
568
35%
仲裁
82
30% / 45%
逾期
206
36%
工作中
7
开发者 7
等级
项目
0
0%
仲裁
0
逾期
0
空闲
8
开发者 8
等级
(616)
项目
719
33%
仲裁
46
48% / 41%
逾期
14
2%
已载入
9
开发者 9
等级
(6)
项目
8
38%
仲裁
1
100% / 0%
逾期
2
25%
空闲
10
开发者 10
等级
(2)
项目
2
50%
仲裁
1
0% / 100%
逾期
0
空闲
11
开发者 11
等级
(3)
项目
3
33%
仲裁
0
逾期
0
空闲
12
开发者 12
等级
项目
0
0%
仲裁
0
逾期
0
空闲
13
开发者 13
等级
(16)
项目
35
23%
仲裁
4
0% / 50%
逾期
2
6%
工作中
14
开发者 14
等级
项目
0
0%
仲裁
0
逾期
0
空闲
15
开发者 15
等级
(29)
项目
33
27%
仲裁
20
10% / 50%
逾期
11
33%
空闲
16
开发者 16
等级
(1)
项目
2
0%
仲裁
0
逾期
0
空闲
17
开发者 17
等级
(12)
项目
13
62%
仲裁
0
逾期
0
空闲
18
开发者 18
等级
项目
0
0%
仲裁
0
逾期
0
空闲
相似订单
Looking to Purchase a High-Risk, High-Return Gold Trading EA 9 minutes ago MQL5 Experts Specification EN I’m looking to purchase an existing MT5 Gold / XAUUSD trading EA. I’m open to any trading strategy as long as the system is designed for higher returns. It can be scalping, grid, martingale, recovery, breakout, trend-following, hedging, or any other approach. I fully understand that high-risk, high-return
I’m looking to purchase an existing MT5 Gold / XAUUSD trading EA . I’m open to any trading strategy as long as the system is designed for higher returns. It can be scalping, grid, martingale, recovery, breakout, trend-following, hedging, or any other approach. I fully understand that high-risk, high-return strategies can experience very large drawdowns and may potentially blow the account . I’m aware of the risks
MT5 EA DEVELOPMENT SPECIFICATION CHANNEL + RSI REVERSAL STRATEGY I need a professional MetaTrader 5 Expert Advisor based on the following exact strategy. 1. Core Strategy The EA must automatically identify a valid price channel using confirmed swing highs and swing lows. The strategy trades reversals from the channel extremes: SELL: Upper channel + RSI above 70 + bearish rejection. BUY: Lower channel + RSI below 40 +
MetaTrader 5 (MT5) Price-Level Monitoring & Automated Phone Call Alert System Developer Needed Project Overview I am looking for an experienced developer to build a custom trading assistant for MetaTrader 5 (MT5) that monitors important price levels I manually mark on my charts and immediately calls my phone when the market reaches or interacts with those levels. This is Phase 1 of a larger trading assistant project
============================================================== MT5 XAUUSD GRID / AVERAGING EA FINAL DEVELOPMENT SPECIFICATION ============================================================== IMPORTANT: Please read the complete specification before development. The EA must follow the exact logic below. If any requirement is technically unclear or conflicts with another requirement, please clarify it BEFORE coding. Do
Create an MT5 Expert Advisor (EA) for trading Gold (XAUUSD). The EA should provide BUY and SELL signals based on trend direction, market momentum, and price action. It should automatically place trades only when the entry conditions are met. Risk management: Use a small adjustable lot size. Include Stop Loss (SL) and Take Profit (TP). Include a maximum daily loss limit. Include a maximum number of open trades. Do not
Looking for an MQL5 programmer to develop an Expert Advisor for MetaTrader 5 targeting Forex currency pairs. Core Logic: Multi-timeframe trend following using Heikin Ashi candles (4H trend filter + 1H execution trigger on new bars, strict anti-repainting logic). Risk & Trade Management: ATR-based initial stop loss with pip normalization, dynamic trailing stop, and partial close functionality. Protections: Includes
I want trading robot bults on top down analysi where the robot can analyse and trading only in the direction of the higher time frame chosen eg 1Month,1Daily,4Hr and 1hr. I want a situation when i plug the robot on the chat the bot must be plug and play where it analyse quickly and fast and with highest precision since its combined win an AI to obtain an acurate signals and quick it starts to open trades use top down
Senior MQL5 Developer Required — XAUUSD & BTCUSD Algorithmic EA I am looking for an experienced MQL5 developer to design and build a robust MT5 Expert Advisor for XAUUSD (Gold) and BTCUSD . This is not a request for a basic RSI/EMA EA, martingale, grid, or recovery system . I want a properly engineered algorithmic trading system with a demonstrable trading rationale, robust risk management, reliable execution and
العنوان: برمجة اكسبيرت MT4 (روبوت تداول) مخصص للذهب يعتمد على RSI والزيجزاج بدون مضاعفات الوصف: السلام عليكم ورحمة الله وبركاته، مطلوب مبرمج محترف بلغة MQL4 لتطوير اكسبيرت (روبوت تداول آلي) مخصص لمنصة ميتاتريدر 4 بناءً على الشروط والمواصفات الفنية الصارمة التالية، لتداول معدن الذهب (XAUUSD) على إطار الخمس دقائق (M5): 1. المتغيرات الخارجية (External Inputs - قابلة للتعديل يدوياً من الإعدادات): إدارة المخاطر (إدارة

项目信息

预算
30+ USD