Identify Partially Closed Orders for a Floating Profit Function

MQL5 Indikatoren Experten C++ Forex

Auftrag beendet

Ausführungszeit 6 Tage
Bewertung des Kunden
Great developer, very patient, skilled and able to complete complex requests
Bewertung des Entwicklers
Great & honest Customer.. good luck

Spezifikation

I had some code converted from MT4 to MT5.


The main function of the EA is that when a certain level of floating drawdown is hit e.g. -$500, the total lot size of those positions are reduced by a specified level e.g. 40% and all the trades in that sequence are modified to breakeven. To achieve this I used the following function (OrderClose()), which also adjusts the trade comment to "to #Order Ticket" or "from #Order Ticket" (e.g. "to #197639979"). So what I have left after running these function is a bunch of trades at Break Even with a trade comment like "to #19639979". In addition to this I have a dynamic take profit function that takes the profit a specified symbol sequence (e.g. EURUSD sells).

After the floating loss has been triggered, I have a grid EA which may open new trades these new trades will have a certain comment and the modified orders will have a "to #19639979" comment. What I have been able to do is separate the take profit for the modified and unmodified orders by specifying a specific trade comment. This is because I take profit for all the orders apart from the following: StringSubstr(OrderComment(),0,4)!="to #" || StringSubstr(OrderComment(),0,4)!="from #".


Here is an explanatory video to demonstrate why this is important: https://drive.google.com/file/d/12IYFl5dcxLObdoQAEGJW10iIx4nVCwxw/view


############# REASON FOR REQUEST ####################### For MT5 it is not possible to modify the trade comment of an order, as a result the solution stated above does not work for it. What I need is a solution to identify the modified and unmodified orders without looking at a specific trade comment.


Please read this description, watch the video.


Code will then be provided.


Thanks

Bewerbungen

1
Entwickler 1
Bewertung
(176)
Projekte
236
45%
Schlichtung
17
82% / 12%
Frist nicht eingehalten
35
15%
Arbeitet
2
Entwickler 2
Bewertung
(298)
Projekte
427
26%
Schlichtung
18
61% / 33%
Frist nicht eingehalten
26
6%
Frei
3
Entwickler 3
Bewertung
(140)
Projekte
205
80%
Schlichtung
18
33% / 44%
Frist nicht eingehalten
10
5%
Arbeitet
Ähnliche Aufträge
Title : Looking for MQL5 Developer for EA to Lose Trades Description: We need an MQL5 developer to create an Expert Advisor (EA) that consistently loses trades on a demo account. This will help us profit using a reverse trading system on a funded account. Project Overview : • Account Size : $15,000 • Daily Loss Target: $1,000 or more • No Winning Trades : The EA should not generate any wins . • Market Instruments
Hello The EA will work on particular zone choose by the user and can mark it on any TF and with some rules can open trades and mange the trade by some unique rules. the EA need to check the difference by RSI as well and with some extra rules . developer should have good attitude and good communication (englsih) with high performence and knowledge with coding EA
I am looking for an MT4 coder who can help me build a fast trade execution EA/ programme. This programme should be able to execute market and pending orders at the highest speed possible. When applied to the chart it should print two horizontal lines (with price tags) on the chart, one is an entry price line, and the other is a stoploss price line. The user should be able to drag the lines up and down to set accurate
1. The Trading View indicator code needs to be converted into and adapted for Ninja Trader 8 2. An indicator and Automated Trading Strategy needs to be developed. 3. Any parts of the Trading View Indicator that can't be replicated needs to be discussed with me and agreed before excluding. (there should not be any) 4. Trailing stop and Trailing Draw Down options need to be implemented 5. Risk needs to be in % of
Create mt4 ea 50+ USD
To convert the provided MT4 indicator script into an Expert Advisor (EA) and implement prompt functionality for user input, we need to modify the code to handle external parameters and provide a user-friendly interface. Below is the EA code that incorporates prompts for user inputs
I WRITE a code i want to conect this for automatic trading through vps .and als advanced features for this code .i attached afile please watch .and give me perfect ea
This is not an EA that actually opens/closes trades. Instead this project involves creating a dashboard where the user can create a grid trade scenario with initial entry and scale trade pip distances, lot sizes for each trade, and draw down amount. It then calculates the break-even + profit level where all trades would close. For each new scale trade the BE+ point is recalculated which is then displayed on the
Hi I have the code in pinescript for an indicator that I need done in Ninja Trader, I wanted this indicator in NT bcs I chart in NT, and if the indicator could also have been an automated strategy even better. Please confirm that it will be an indicator and Automated Trading Strategy
Hello potential Freelancers I’m very new to trading so please bear with me as I try to explain what ‘m looking for. I'm currently getting signals ( XAUUSD )sent to me and I’m looking to find a person who can look at the data either watch account live, or I send the trade history. The bot my provider is using makes 100’s of trades a day and does very well on average. I’m also looking to have the following features
Hello I need a very simple indicator This indicator should show the highest floating or history drawdown of the account It means that it can display the highest number that the account drawdown to be displayed on the chart in this format max drawdown account(xxxx$$) ...date(00/00/00)time:(00:00) max drawdown currency ..( currency name with max drwadown) . (xxxx$$) date(00/00/00)time:(00:00) thanks

Projektdetails

Budget
30+ USD
Für die Entwickler
27 USD