Adjustments and cleaning of EA code

MQL4 Indicators Experts

Job finished

Execution time 1 hour
Feedback from customer
Incredibly fast and professional.
Feedback from employee
awesome customer!! i hope to work for him another time!!

Specification

Hello,

i have an EA, that does not seem to work properly when enabling some settings.

The settings I speak of are the following (see attached screenshot)

-close all orders once Equity hits this $ amount and stop trade

-close all orders once DrawdownPercent and stop trades


I think these settings do not work properly.

What I like to be adjusted is the following.


On the first setting -close all orders once Equity hits this $ amount and stop trade, when the amount is set to 1500 for example. The EA seems to not putting in new orders at all.

I would like to change that to the following: The EA closes all orders and stops for 24 hours once the amount is reached and starts trading again after 24 hours.


On the second setting -close all orders once DrawdownPercent and stop trades

I have the feeling when backtesting this option does not work at all.

Maybe you can figure out why.

I would like to change that to the following: The EA closes all trades once the equity reaches the drawndown percentage of the current balance and stops trading for 24 hours. It starts trading again after 24 hours.


Besides that, the EA gives a lot of warning when compiling, maybe you can look into that issue and clean the code.




Files:

EX4
RoboD.ex4
116.4 Kb
MQ4
RoboD.mq4
256.3 Kb
JPG
Options.JPG
137.3 Kb

Responded

1
Developer 1
Rating
(647)
Projects
1295
67%
Arbitration
84
26% / 49%
Overdue
338
26%
Free
2
Developer 2
Rating
(23)
Projects
45
20%
Arbitration
25
28% / 48%
Overdue
12
27%
Free
3
Developer 3
Rating
(33)
Projects
49
12%
Arbitration
16
0% / 88%
Overdue
10
20%
Free
Similar orders
I am looking for an experienced MQL5 developer to build a professional-grade Expert Advisor (EA) for MetaTrader 5. The strategy is based on liquidity sweeps, market structure (Break of Structure), and institutional concepts (order blocks), specifically optimized for XAUUSD (Gold). This is not a basic bot. I need a structured, optimized, and reliable system suitable for live trading after testing
I need an Ai trading bot for Binance and BTC on MT5 that also uses order flow data. It should also make use of TSI- Temporal indicator sampling and also it should make use of fundamental analysis in the process of signal generation
Looking for an experienced NinjaScript Indicator Developer Required Skills: • Custom Indicator Development • NinjaScript Programming • Strategy Development • Third-Party Indicator Integration I am looking for a developer with strong experience building custom NinjaTrader indicators and strategies. Experience working with third-party indicators such as VBO, Kalman, Waddah, or similar tools is highly desirable. The
Hi,I am looking for an experienced developer specializing in the creation of Expert Advisors (EAs) for trading platforms. I would like to commission the development of an EA based on the open-source LuxAlgo code. The entry strategy will be based, among other things, on Martingale and Grid trading concepts. A detailed specification covering trade management, position sizing, and risk management rules will be provided
Hi! I’m looking for someone to make TPO Market profile, volume profile, footprint, delta for Sierra charts I need it to be set up to give me these for Nasdaq, ES/NQ and also the minii’s. Is this something you can help me with
Hello, I need a MetaTrader 5 Expert Advisor (EA) for XAUUSD. Place Buy Stop orders above current price every 0.300 distance Place Sell Stop orders below current price every 0.300 distance 10 levels up and 10 levels down Lot size fixed 0.01 No TP/SL required, manual close only No duplicate orders on restart Please confirm if you can build this and your final price and delivery time
I need a ready made profitable system with live account trade or demo that can be back-tested for 2 years with good profits. Pls consider drawdown to be low , source code will be provided at the end. Very important sending 10 days demo before negociation , thank you
I am looking for an experienced MQL5 developer to convert my existing trading strategy into a fully automated MetaTrader 5 Expert Advisor (EA). Requirements: Develop a robust and efficient MQL5 Expert Advisor based on my EMA trading strategy. I will provide the complete trading logic, including entry, exit, risk management, and trade management rules. The EA should execute trades automatically without manual
I have a EA for XAUUSD which works awesome in sideways and trending market as well, capital requirement is only 2000USd and weekly profit is around 1500-2000 USD. I am using this bot from 3 months and getting continuous good result
Советник. Открываю сделку вручную. Советник закрывает эту сделку по окончании установленного количества свечей...то есть советник по таймеру окончания свечи. Например; установил время свечи равное 2 ( 2 свечи ), открыл позицию вручную и по окончании второй свечи советник закроет сделку

Project information

Budget
90+ USD
Deadline
to 1 day(s)