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

MQL4 Esperti Altro

Lavoro terminato

Tempo di esecuzione 6 giorni
Feedback del cliente
Excellent work
Feedback del dipendente
Thank you

Specifiche

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!

Con risposta

1
Sviluppatore 1
Valutazioni
(97)
Progetti
135
52%
Arbitraggio
4
50% / 50%
In ritardo
0
In elaborazione
2
Sviluppatore 2
Valutazioni
(394)
Progetti
498
39%
Arbitraggio
84
37% / 32%
In ritardo
13
3%
Occupato
3
Sviluppatore 3
Valutazioni
(133)
Progetti
172
19%
Arbitraggio
17
47% / 18%
In ritardo
0
In elaborazione
4
Sviluppatore 4
Valutazioni
(36)
Progetti
45
2%
Arbitraggio
6
33% / 17%
In ritardo
1
2%
Gratuito
5
Sviluppatore 5
Valutazioni
(63)
Progetti
90
52%
Arbitraggio
10
40% / 30%
In ritardo
8
9%
Gratuito
6
Sviluppatore 6
Valutazioni
(1)
Progetti
1
0%
Arbitraggio
0
In ritardo
0
Gratuito
7
Sviluppatore 7
Valutazioni
(257)
Progetti
341
58%
Arbitraggio
7
14% / 71%
In ritardo
9
3%
Gratuito
8
Sviluppatore 8
Valutazioni
(300)
Progetti
448
65%
Arbitraggio
5
40% / 0%
In ritardo
4
1%
In elaborazione
9
Sviluppatore 9
Valutazioni
(58)
Progetti
67
28%
Arbitraggio
5
0% / 60%
In ritardo
2
3%
In elaborazione
Ordini simili
hello, I need quick help with ninjatrader tool, market replay is not updating candles on chart, even though time is updating on playback window. I need someone who can help remotely to see what is issue. are you available
I am looking for an experienced programmer who can convert my existing MetaTrader 4 (MT4) Expert Advisor (EA) into a fully functional version compatible with the TradeLocker platform. The goal is to maintain the EA's performance and functionality while ensuring full compatibility with the TradeLocker API and environment
I want a profitable NIJATRADER 8 (NT8) BOT with a proven results and test results. Demo and strategy is also an advantage if available. kindly message me if it you have one. thanks
hi, I have a strategy coded in Python on Jupiter but I have trouble converting it to Quantconnect. Could you do that? The strategy is based on trading with 10 most liquid crypto coins on Binance rebalanced each month and tracking when the price break 20 day high or low plus some other indicators
To create a cbot for Ctrader using the macd. When the macd crosses the stated oversold area / undersold area and the macd line crosses back over the the oversold / undersold line then a trade is triggered at close of the current renko block. Ability to trade between certain times. I'm trading renko blocks , so the ability to choose renko blocks and the choose the size of the renko block. Ability to choose all forex
Hello, I have a strategy in Tradingview that I would like to automate. About the strategy: At the opening of the trade, two fractals are to be waited for. One long, one short. As soon as these are formed, everything else is calculated with the corresponding price. A range is calculated from the two prices and adjusted with an offset. Fractal long price minus fractal short price + offset = range. Take profit is x
I need an expert to decrypt my itf file using on prorealtime. I forgot my password, so I need to generate the source code. I need someone that can help me to derive source code from the itf file I have
Hello, How are you doing? I need a developer who can help me with crypto api because i need a crypto aPi. Kindly bid if this is what you can do Thanks
Hi, I am looking for somebody who can develop a Tradingview indicator that sends notifications based on a simple rule as follows: - When the same Moving Average (for example the 100 SMA) trades around the same price (within a range of 10 pips or so) on at least 2 different timeframes AND Price moves to that range then a notification should be sent. - The Moving averages, the timeframes and the price range where the
Hello, How are you doing? I need a developer to automate my trading strategy in my Interactive Brokers account during premarket hours. Specifically, I am interested in scanning different stocks that change every day using a scanner. Bid if this is what you can do. Thanks

Informazioni sul progetto

Budget
30+ USD
Per lo sviluppatore
27 USD
Scadenze
da 1 a 2 giorno(i)