A loss recovery EA to work along with my current EA

MQL4 Experten

Auftrag beendet

Ausführungszeit 42 Tage
Bewertung des Kunden
He is an expert in programming. He will check every thing to make sure the EA is working as expected.

Spezifikation

Hi,

 

I have an EA (which uses some custom indicator) to simply buy and sell based on the custom indicator (I don't have a code of this EA now). So I want another EA to work simultaneously with this EA (which means the new EA should open and close the trades along with my own EA on any symbol that my original EA works) and whenever my own EA close a loss order the new EA do the following:

 

Suppose my own EA opens a Buy trade (e.g. 0.01 lot). After some times the trade is closed (based on the opposite signal from the EA). If the closed trade was a win trade everything is ok. If the closed trade was loss your EA should open now another trade along the trade from my EA (which means now two sell trades are open: one originally from my own EA – from here after I call it original trade (0.01 lot) and another one from your EA to recover the loss (with the same size which is 0.01) from here after I call it recovery trade.) Suppose the original buy trade let's call it Trade No. 1 was a loss for 1 dollar (including commission and spread). Now we should have two sell trades: Trade No. 2 Original trade from my EA and Trade No. 3 – Recovery trade from your EA. Let's say now the price is in our favor and both trades are now in profit. The original trade will remain open until the opposite signal triggers from my own EA (which simply means the new EA should not interfere with trades from my EA). The recovery trade from your EA should close as soon as it reaches the previous trade loss which in our case was 1 dollar. If the original trade from my EA is closed based on the opposite signal, the recovery Trade from your EA should also be closed simultaneously (whether it has reached its profit or not) and open another trade (or trades) based on trade from my EA.

Here is the example. Trade No. 1 was a buy trade which was loss for 1 Dollar. Trade no. 2 (from my EA) and no. 3 (recovery trade from your EA) are sell trades and now both of them are in profit of 0.5 dollar and the opposite signal is trigger from my EA. So both trades should close. So now in our trade history we have 1 loss trade and 2 win trades but the recovery trade did not cover the loss of 1 dollar. So when trade No. 4 (buy) opens from my EA another trade No.5 should open as the recovery to recover the loss of 1 dollar for trade No.1 (which hasn't been covered yet by any of the recovery trades).

 

Now suppose both trade no.4 and trade no. 5 are in negative of 2 dollar and the opposite signal triggers. So we have now in trade history 3 losses. (No. 1 for 1 dollar loss, No. 4 and No. 5 for 2 dollar loss). Now the EA should open 3 recovery losses from your EA along one original trade from my EA (totally 4 trades are open now) (remember all for the same size which is 0.01). So now we have trade numbers 6 (original trade), 7, 8 and 9 (recovery trades). Now suppose the price is going in our favor and now all the trades are in 1 dollar profit. Oneof the recovery trades say trade no. 7 should close now (this is to cover the loss for Trade No. 1) the other two should remain open. Now suppose the price is still in our favor and now the remaining three trades (one original – trade No. 6 - and the other remaining 2 recovery trades- remember one of the recovery trades has closed in 1 dollar profit) are in 2 dollar profit. So the other 2 recovery trades (trades no. 8 and no. 9) should now close each for 2 dollar profit (to cover the loss of trade No. 3 and No. 4). The original trade (trade No. 6) will remain open until the opposite signal triggers from my EA.

 

I hope you get what I mean. In nutshell the recovery trades are trying to compensate for any lossed in the closed trades. I understand this will increase the risk of the account and if we have 3 consecutive losses the number of trades to open is now 8 trades (all with the same size of 0.01 like this example:

Trade No. 1: buy trade - if close in loss go to next line

Trade No. 2 and 3 (2 trades): sell trades - if close in losses go to the next line

Trade No. 4, 5, 6, 7 (4 trades): buy trades - if close in losses go the next line

Trade No. 8, 9, 10, …, 14, 15 (8 trades): Sell trades .. and so on and so forth.

(The red numbers show the original trades based on the signal and the blue numbers are the recovery trades). Remember that it is possible that in some times some of the recovery trades close based on the loss in our history, say we have 0.5, 1, 2, 3.5 usd loss in our transaction history. So as soon as our recovery trades hit one of these levels it should close. I mean suppose we have 4 recovery trades open and price goes in our favor so one should close at 0.5, one at 1, one at 2, and one at 3.5. now say the price for example does not reach 3.5 usd in our favor (because the opposite signal triggers from my EA). So in the next trade we only need one trade to recover that 3.5 usd loss.

In any case if one of the original trades (and their companion recovery trades) goes into profit, the recovery trades should close one by one based on the records of our previous losses and the original trade (or any companion recovery trades if has not been already closed) should close based on the opposite signal. And this process goes on.

Hope you can put a comment on the chart for this details:

Account Balance:

Previous loss trades which has not covered yet: 0.5, 1, 2, etc.

Number of recovery trades to open along with the next trade from my EA:

 

I hope I am clear about what I want. Thanks for your hard work.

Regards,

Ali

 


Bewerbungen

1
Entwickler 1
Bewertung
(50)
Projekte
74
27%
Schlichtung
12
58% / 17%
Frist nicht eingehalten
14
19%
Frei
2
Entwickler 2
Bewertung
(1235)
Projekte
2820
80%
Schlichtung
156
22% / 43%
Frist nicht eingehalten
488
17%
Frei
3
Entwickler 3
Bewertung
(277)
Projekte
334
55%
Schlichtung
14
36% / 29%
Frist nicht eingehalten
1
0%
Frei
4
Entwickler 4
Bewertung
(292)
Projekte
469
39%
Schlichtung
100
41% / 23%
Frist nicht eingehalten
77
16%
Beschäftigt
Veröffentlicht: 2 Beispiele
Ähnliche Aufträge
Title: Ultimate Quantum EA V1.01 | Dynamic Hedge Recovery System Description: Professional automated trading system designed for high-precision execution and advanced risk management. Key Features: Dynamic Hedge Recovery: Automatically manages losing trades by opening calculated hedge positions (2x-3x) to exit in total profit. Basket Profit Management: Closes all open positions once the total dollar profit target is
I am looking for an experienced MT5 (MQL5) Expert Advisor developer to fix a chart distortion / corruption issue in my existing EA ( EA ALPHA ). Issue Description When the EA is attached to the chart on a specific broker (ATFX), the chart becomes visually distorted The distortion appears on the left-hand side / historical area of the chart The same EA works correctly on other brokers (e.g. CFI) A previous developer
Subject: Experienced MQL5 Developer | High-Quality Execution & Error Handling "Hello, I am interested in developing your trading system. I specialize in building robust MQL5 Expert Advisors that are not only logically sound but also technically optimized for the MT5 platform. Why work with me? Error-Free Execution: I have deep experience in handling common MT5 execution errors such as Invalid Volume, Not Enough
I need a Python script that runs continuously on a VPS and acts as a bridge between our platform and MetaTrader 5 . The script should connect to MT5 accounts in read-only (Investor mode) and synchronize account data (no trading or order execution). Looking for an experienced developer with Python and MT5 API experience. Please share relevant experience and availability
"Hello! I am an experienced programmer specializing in automated trading software for MetaTrader 4 (MQL4) and MetaTrader 5 (MQL5). My goal is to help traders turn their manual strategies into fully automated robots (Expert Advisors) and custom indicators. My services include: Developing Expert Advisors (EA) from scratch based on your strategy. Creating Custom Indicators and Scripts. Modifying existing EAs (adding
I need an arrow that works on mt5 that shows winrate with potential to be triggered on binary.com or deriv. Show me example arrows as picture or video. I'm not interested in coming up with the idea i just want something that works and has source code. Show me examples and state your budget or cost for the solution
Hi, I have a specific set of rules and a strategy to execute a trade. I'm looking for a developer to assist me in developing an MQL5 EA based on my strategies
Project Overview We are seeking an experienced MetaTrader 5 (MT5) / MQL5 developer to design and build a production-ready Expert Advisor intended for live trading with capital at risk . This is not a hobby, experimental, or retail-grade EA. We are only interested in developers with proven experience delivering robust, well-tested MT5 systems . Project Objective Design and implement a high-quality MT5 Expert Advisor
Updated Freelance Job Instruction (Copy-Paste Ready) Description: Hello, I need a simple, secure MT4 Expert Advisor (pure MQL4, NO DLLs ) that protects my XAUUSD trading by instantly closing any new position opened by another EA (identified by magic number) when price is inside user-defined "block zones", and then enforces a cooldown period before allowing the next position from that EA. This is for risk management
I need someone to build a Telegram bot signal provider for IQ Option that works like this: 🔔 NEW SIGNAL! 🎫 Trade: 🇬🇧 GBP/USD 🇺🇸 (OTC) ⏳ Timer: 2 minutes ➡️ Entry: 5:29 PM 📈 Direction: BUY 🟩 ↪️ Martingale Levels: Level 1 → 5:31 PM Level 2 → 5:33 PM Level 3 → 5:35 PM Requirements: The bot should send signals automatically to Telegram. Must support multiple trades and martingale levels. I will test it for 3 days

Projektdetails

Budget
30 - 40 USD
Ausführungsfristen
bis 5 Tag(e)