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

MQL4 エキスパート その他

仕事が完了した

実行時間6 日
依頼者からのフィードバック
Excellent work
開発者からのフィードバック
Thank you

指定

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!

応答済み

1
開発者 1
評価
(97)
プロジェクト
135
52%
仲裁
4
50% / 50%
期限切れ
0
仕事中
2
開発者 2
評価
(376)
プロジェクト
475
40%
仲裁
83
36% / 33%
期限切れ
13
3%
取り込み中
3
開発者 3
評価
(132)
プロジェクト
170
18%
仲裁
17
47% / 18%
期限切れ
0
仕事中
4
開発者 4
評価
(36)
プロジェクト
45
2%
仲裁
6
33% / 17%
期限切れ
1
2%
5
開発者 5
評価
(58)
プロジェクト
83
53%
仲裁
9
33% / 33%
期限切れ
7
8%
仕事中
6
開発者 6
評価
(1)
プロジェクト
1
0%
仲裁
0
期限切れ
0
7
開発者 7
評価
(257)
プロジェクト
341
58%
仲裁
7
14% / 71%
期限切れ
9
3%
8
開発者 8
評価
(298)
プロジェクト
442
64%
仲裁
5
40% / 0%
期限切れ
4
1%
仕事中
9
開発者 9
評価
(56)
プロジェクト
65
29%
仲裁
5
0% / 60%
期限切れ
1
2%
仕事中
類似した注文
Dear Colleagues, I am currently seeking the assistance of an experienced professional who can help me integrate my TradingView alerts with Interactive Brokers in order to execute live trades automatically. If you have the expertise in setting up such an automation or know someone who does, I would greatly appreciate your support. Please feel free to reach out to me if you can assist with this project or if you need
I am in search of a driven and results-oriented individual to promote my forex trading signals under the "Elevated Tradinghub" brand. The perfect candidate will have a strong background in digital marketing, particularly within the finance and trading sectors. Your main goal will be to expand my follower base by effectively promoting my signals across a variety of platforms, such as social media, trading forums, and
Connect from Mt4 via binary derive account api. I have a bot. You need to convert the bot to an indicator. After converting I need to connect with my binary deriv through api. I want to trade my derivative binary account through mt4. If anyone can setup via API then contact me
I need a way of viewing Renko Charts in MT5. Only apply if you have experience with Renko Charts. And how you would tackle this project. Timeline is less than 5 days
Hey greetings. Am in need of a tradingview developer that can add a simple alert to my existing tradingview indicator with a simple conditions. Kindly bid for the project if it is what you can do for me and let proceed
Hello, ,I will briefly explain what I need, I would like to know if you can make me an indicator for cTrader, for the forex market, that can count the candles starting from the first candle starting at 00:00. Obviously in a 5 minute TF the candle count will be much higher than that of the H1 TF, also I use 250/500/1000 ticks charts, so this indicator should also count the candles of this type of charts I would like a
I have access to a paid/subscription TradingView Strategy but I'am unable to see the script/code. I'm looking for someone who is able to reverse engineer this Strategy and create a new version that I would have full access to. I believe this would be using PineScript. If you've done this sort of thing before, please message me. $400 is my budget for this project on completion
I need a professional who have the full knowledge in Ctrader and I want to add new idea for my ctrader https://ctrader.com/algos/indicators/show/3444/ Let me know if this is what you can do and the price to get it done. Thanks
We are looking for an experienced MQL5 developer to create a custom drawing tool for MetaTrader 5. The tool should include the following functionalities: - Creation of 4 equally spaced horizontal lines on the chart. - A trend-line that measures the price movement. - Interactive buttons to control the drawing of these objects. - The tool should be user-friendly and efficiently handle chart events. **Requirements:** -
Bid-ask spread trader 30 - 75 USD
I'm looking for bid, ask order buttons with plus and minus. Market order buy and sell buttons. Close sll, Reverse button. (Just the order button pad). The Platform I uses is R Trader Pro, Send a message if you can do it

プロジェクト情報

予算
30+ USD
開発者用
27 USD
締め切り
最低 1 最高 2 日