Use an array function to perform a task in my code (Fixed budget $30)

MQL4 Experts Other

Job finished

Execution time 6 days
Feedback from customer
Excellent work
Feedback from employee
Thank you

Specification

Hello, I need someone to help solve a shortfall in my code using (Array). It should be simple and I'll be happy if you can get it done in a few hrs.

THE ISSUE:

I have coded a Partial Closure function that is expected to close (x% lots) off every trade running on the account having a specified Magic No. only when the net profit of these trades hit a stated max DD of Account Balance. (Symbol of trades doesn't matter).


I have observed that the function sometimes closes a ticket by the (x% lots) and the before loop finishes, it again closes (x% lots) off the resultant position from the initial one probably because it sees this new resultant ticket just as one of the old trades. This makes everything random and I want a solution....


My solution:

Developer should create an Array so that when maxDD is hit, this Array is populated with all existing tickets. If the partial closure function starts, the loop should then handle only the tickets found in the Array. This way, I believe the problem could be solved.

I'll share my code with the selected dev. and am also open to any other ideas or solutions....thanks!

Responded

1
Developer 1
Rating
(97)
Projects
135
52%
Arbitration
4
50% / 50%
Overdue
0
Working
2
Developer 2
Rating
(376)
Projects
475
40%
Arbitration
83
36% / 33%
Overdue
13
3%
Loaded
3
Developer 3
Rating
(132)
Projects
170
18%
Arbitration
17
47% / 18%
Overdue
0
Working
4
Developer 4
Rating
(36)
Projects
45
2%
Arbitration
6
33% / 17%
Overdue
1
2%
Free
5
Developer 5
Rating
(58)
Projects
83
53%
Arbitration
9
33% / 33%
Overdue
7
8%
Working
6
Developer 6
Rating
(1)
Projects
1
0%
Arbitration
0
Overdue
0
Free
7
Developer 7
Rating
(257)
Projects
341
58%
Arbitration
7
14% / 71%
Overdue
9
3%
Free
8
Developer 8
Rating
(298)
Projects
442
64%
Arbitration
5
40% / 0%
Overdue
4
1%
Working
9
Developer 9
Rating
(56)
Projects
65
29%
Arbitration
5
0% / 60%
Overdue
1
2%
Working
Similar orders
a coder is required to add an indicator to existing ea The new indicator will work as 1. option to combine with exiting indicator to open trade 2. it will be used as alternative BE point 3. It can also be used to close order or combine with other to close trade The second Job is telegram bot to get alert fr news trade and others Details when you apply i will test the ea work on live market and all bug is fixed before
Hello, I want to make an EA based on SMC and a developer that is familiar with the concept and full understanding of this. Must have done similar jobs before and be able show it. I only want to work with developer that has good track record and is precise. Further information will be handed when contact is made. Developers that has zero rating will not be considered. Listed price is a base point. The project can also
EA DEJA FABRIQUE ? MODIFIER QUELQUE LIGNE POUR LE RENDRE RENTABLE /////////////////////++++++++++++++++++++++++++++++++++ EA AVEC UN SYTEME SIMPLE ; SEULEMENT A MODIFIER %%%%%%%%%%%%%%%%%% SI PERSONNE SACHANT CODER CORRECTEMENT , CE TRAVAIL EST POUR TOI
Trade methodology based on Red and Green lines entering Overbought / Oversold zone. Using confluence of Higher time frame, Moving Average a trade can enter when there is a strong slope angle. Market Base Line is used to determine overall market sentiment. This is designed to be an established trend scalping strategy on lower time frames. To be used initially on demo then real account when settings have been fine
There are six conditions in total . source code from an existing expert will be provided to aid the completion of this job . - Install the following by the Panel (copy paste form my existing Expert ) 1. Pips Lost : number of pips lost ( monthly reset ) 2. Pips Gained : number of pips gained ( monthly reset ) 3. Have a black background to avoid the
:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: function (A) Add Transform combine the 4 Expert Advisors into just 1 Expert Advisor, maintaining the individuality of each one Leave in extern (false) or (true)
Description: I am seeking an experienced MQL5 developer to create a custom Expert Advisor (EA) for MetaTrader 5 based on a specific trend-following strategy. The strategy includes precise risk management, advanced trade management features, and additional risk management tools. The EA should be adaptable to any timeframe on which it is attached. Below are the detailed requirements and parameters for the EA: Strategy
I need an EA trading frequently (HFT or something like), and it sould have some features below: 1、Have a clear trading logic 2、Have a good backtest result 3、Have a demonstrated benefitable result in a live account trading 4、Can avoid the news time period or not sensitive to news
Tenho um EA mql4 que está com funcionalidades funcionando e outras com funcionalidades sem funcionar. Tenho um vídeo do EA funcionando como deve funcionar perfeitamente. O meu não consegue seguir o mesmo programa pois quando coloca os pontos de parada e retirada são bem diferentes. Não tenho pressa para tempo, só queria que conseguisse renovar o EA. O arquivo do grafico anexo é como ele se encontra agora. O certo é
New york session based strategy 9:30 open Price takes out buy side or sell side liquidity Usually using 15min high and lows 5m entry Price takes out that high/low and price must close strongly back into the zone Is price is above price we have a sell bias vis versa for buys Sl is at the high or low with option for “offset” for cushion Tp is usually the opposite High or low. Would like the option for set pips-points &

Project information

Budget
30+ USD
For the developer
27 USD
Deadline
from 1 to 2 day(s)