Modify a part of the EA, No rebuild EA, I need professional developers because there are many bad developers who delay my progress. The previous developer went missing

İş Gereklilikleri

Modify a part of the EA, No rebuild EA, I need professional developers because there are many bad developers who delay my progress.

EAs have complex structures, consisting of many rules, and involve multi-dimensional and multi-rule trading systems.

Developers need to resolve the issue of the system not being able to see the data in the backtesting system.


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)



step price comment Price_Points_Steps
0 5181.399 1772617140-0 0
1 5186.119 1772617140-1 4000
2 5193.933 1772617140-2 8000
3 5202.292 1772617140-3 8000
4 5183.194 1772617140-4 -16000
5 5199.080 1772617140-5 16000 <------------   CURRENT STEP
6 5175.080 1772617140-6 -24000 <------------   NEXT STEP


5175.080 is 1772617140-6, but EA 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

-----------------------------------------------------------------------------------------------------------
Previously, a message to bad developers:
Why do you want to rebuild the EA? I need you to modify a part of the EA (add two conditional statements).

The first statement needs to be changed from "If the order retry fails, do not retry again" to "If the order retry fails, then retry again based on whether the price condition is met."

The second statement needs to be changed from "Blindly retrying every time" to "Checking whether the order meets the conditions before opening a position every time it retryes."

Furthermore, my EA has many functions, but you wrote a very simple EA that lacks many features.


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


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

Yanıtlandı

1
Geliştirici 1
Derecelendirme
(250)
Projeler
313
28%
Arabuluculuk
33
27% / 64%
Süresi dolmuş
10
3%
Serbest
2
Geliştirici 2
Derecelendirme
(3)
Projeler
3
0%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
0
Serbest
3
Geliştirici 3
Derecelendirme
Projeler
0
0%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
4
Geliştirici 4
Derecelendirme
(18)
Projeler
22
9%
Arabuluculuk
6
33% / 50%
Süresi dolmuş
1
5%
Çalışıyor
5
Geliştirici 5
Derecelendirme
(3)
Projeler
6
67%
Arabuluculuk
1
0% / 100%
Süresi dolmuş
1
17%
Serbest
6
Geliştirici 6
Derecelendirme
(1)
Projeler
1
100%
Arabuluculuk
0
Süresi dolmuş
0
Serbest
Benzer siparişler
Looking for an experienced MQL5 developer to design and develop a custom Expert Advisor (EA) for MetaTrader 5. The purpose of this EA is not just automated trading, but also to help me better structure, test, and refine my personal trading strategy
Data Integrity 500 - 1000 USD
The trading bot is an automated software system designed to monitor financial markets, execute trades, and manage risk based on predefined strategies. The bot aims to maximize profits while minimizing human intervention and emotional decision-making. Scope: Supports automated trading on selected exchanges (e.g., Binance, Bitget, Coinbase). Executes trades based on technical indicators, signals, or AI models. Provides

Proje bilgisi

Bütçe
30+ USD

Müşteri

(14)
Verilmiş siparişler50
Arabuluculuk sayısı1