Recovery EA to create reverse orders for another martingale EA

Job finished

Execution time 16 hours

Specification

Hi,

Many martingale EAs have the prospensity to get stuck or blow the account when the trend is strong.

I would much appreciate another EA (here we will call it monitoring EA or recovery EA) to monitor this (same symbol) and avoid this, this is the task. The martingale EA can be any martingale EAs that is available in the market although I will provide you this martingale EA.

The monitoring EA will detect when the account goes into a certain equity drawdown and start to fire up opposite trades to neutralize the drawdown, in other words hedging. 

Example: After the account reached a drawdown of $100, the EA will monitor for additional trades in the same direction as existing ones, that is the martingale orders. Once it sees a new trade, it will do a trade in the opposite direction to neutralize the drawdown. The volume will be a multiplier of the trade volume, specified by the user. Why the multiplier? Partly because to overcome  already open losing trades by the martingale EA.

There are two possible options to recover. The user will choose the option

1) It can recover by profitables, that is the profitable orders will be closed together with the losing martigale orders at breakeven or small profit

2) It waits until the account float reached breakeven or small profit, and close all trades.


User Input:

1-Options to recover (a) by proftables or (b) in totality.

For (a & b) can specify 0 (breakeven) or any number for profit

2-Drawdown to trigger neutralization (ex: -100)

3-Volume multiplier (example 3)


However, i realized that the trend can reverse and the monitoring EA trades can get into a loss. Therefore the floats of the trades and the floats of the martingale EAs are monitored. If the float of the martingale EAs have reduced enough and the float of the monitoring EA have started to increase beyond a threshold, all the monitoring EA orders are closed (not the martinagle EAs) to avoid them attracting drawdown when trend changes.

User Input for stoploss of recvery EA

- Stoploss option (default:true)

- Stoploss for monitoring EA  (example: -60)

- and equity improvement for the martingale EA (30)


The coder needs to be able to understand what a martingale EA is and how it works. I will provide a martingale EA that you can work with.

The work obviously includes testing it with the EA I will provide and provide evidence, to make sure it does what it needs to do as indicated here. I will provide the market time when the martingale EA tends to trend for my favorite instrument.


There are no indicators to code. This is for MT4.

Responded

1
Developer 1
Rating
(443)
Projects
570
37%
Arbitration
106
39% / 33%
Overdue
17
3%
Free
2
Developer 2
Rating
(11)
Projects
18
28%
Arbitration
4
50% / 50%
Overdue
1
6%
Free
3
Developer 3
Rating
(3)
Projects
3
0%
Arbitration
0
Overdue
1
33%
Free
4
Developer 4
Rating
(31)
Projects
38
53%
Arbitration
2
50% / 50%
Overdue
3
8%
Free
5
Developer 5
Rating
(3)
Projects
1
0%
Arbitration
0
Overdue
0
Free
6
Developer 6
Rating
(251)
Projects
400
54%
Arbitration
9
67% / 22%
Overdue
36
9%
Free
Published: 2 codes
7
Developer 7
Rating
(461)
Projects
488
70%
Arbitration
6
67% / 0%
Overdue
2
0%
Free
8
Developer 8
Rating
(64)
Projects
77
55%
Arbitration
4
0% / 50%
Overdue
1
1%
Working
Published: 6 codes
9
Developer 9
Rating
(9)
Projects
19
16%
Arbitration
3
67% / 0%
Overdue
0
Free
10
Developer 10
Rating
(12)
Projects
25
24%
Arbitration
2
50% / 50%
Overdue
2
8%
Free
11
Developer 11
Rating
(514)
Projects
553
53%
Arbitration
13
69% / 15%
Overdue
3
1%
Free
12
Developer 12
Rating
(45)
Projects
46
24%
Arbitration
34
9% / 85%
Overdue
10
22%
Free
13
Developer 13
Rating
Projects
1
0%
Arbitration
3
0% / 100%
Overdue
1
100%
Free
14
Developer 14
Rating
(322)
Projects
499
67%
Arbitration
5
40% / 0%
Overdue
4
1%
Free
Published: 8 codes
15
Developer 15
Rating
(499)
Projects
744
56%
Arbitration
48
31% / 31%
Overdue
120
16%
Free
Published: 1 code
Similar orders
Hello Traders, Have a trading strategy or idea you want to automate? I specialize exclusively in MQL5 development, helping traders turn their concepts into professional trading solutions. Custom Expert Advisors — automate your strategy and reduce manual execution Custom Indicators — transform your market ideas into powerful trading tools Fix & Debug — identify errors and get your existing code working properly
please share: Strategy description — entry/exit rules, indicators used, timeframe(s), and instrument(s) (a written explanation, screenshots, or an existing indicator/EA to reference all work) Risk management rules — position sizing method (fixed lot / % risk), stop loss / take profit logic, max drawdown or daily loss limits, and whether martingale/grid/hedging is involved Broker & account details — broker name
I need a unique grid trading system for XAUUSD that combines entry, controlled two-sided grid expansion, DCA (Dollar Cost Averaging) basket profit control, hedging. Unlike traditional grid EAs that only trade against price, this unique grid system should dynamically build positions in both directions based on market movement, allowing flexible adaptation to changing conditions ie the grid needs to dynamically move
I need an experienced MQL5 developer to create a fully automated MT5 Expert Advisor called Ayoub Gold EA , focused exclusively on XAUUSD (Gold) . Main requirements: Platform: MT5 / MQL5. Fully automated BUY and SELL trading on XAUUSD. Must support broker suffixes such as XAUUSD, XAUUSD.f and XAUUSDm. Trading strategy based mainly on Range Breakout with trend confirmation. EMA, ADX and ATR filters. London/New York
Mashiri 50 - 10000 USD
I need a custom MetaTrader 5 indicator designed specifically for XAUUSD gold trading. The indicator should identify potential buy and sell opportunities, display clear entry and exit signals on the chart, provide alerts, and help identify market trends and possible reversals
Looking for an experienced Sierra Chart ACSIL/C++ developer to customize an existing footprint chart. I need 3 things: 7-Day ATR – calculate and display a configurable 7-day ATR. Custom Footprint – modify my existing footprint chart to match my preferred layout/data display. Automatic LVN – detect and plot Low Volume Nodes automatically based on volume distribution. I already have a working footprint chart, so no
//———————————————————————————————————————————————————————————————————— struct S_MCAV { double matureSum; double totalSum; double value; void Init () { matureSum = 0.0; totalSum = 0.0; value = 0.5; } void AddContext (int ctx) { totalSum += 1.0; if (ctx == 1) matureSum += 1.0; } void ApplyDecay (double rate) { matureSum *= rate; totalSum *= rate; } void Update () {
1. Title Development of a Custom MQL5 Expert Advisor for XAUUSD (MetaTrader 5) 2. Requirements Specification Overview: I am looking for an experienced MQL5 developer to build a robust, fully custom Expert Advisor (EA) for MetaTrader 5 tailored for trading Gold (XAUUSD). Core Specifications & Features: Asset & Timeframe: Designed specifically for XAUUSD. Timeframe should be selectable directly from the EA inputs
Cerco uno sviluppatore MQL5 esperto per sviluppare da zero un Expert Advisor completamente nuovo per XAUUSD su MT5. Non desidero un semplice Expert Advisor basato su indicatori fissi. Desidero un sistema di trading dinamico e adattivo, in grado di adattare il proprio comportamento alle mutevoli condizioni di mercato di XAUUSD. Lo sviluppatore dovrebbe essere libero di combinare qualsiasi tecnica ritenuta opportuna
I am looking for a Senior MQL5 Developer to create a new MetaTrader 5 Expert Advisor from scratch. I will provide a complete Requirements Specification containing objective entry, exit and risk-management rules. This is not a request to copy or decompile an existing product. Project requirements: Clean and modular MQL5 source code. Exact implementation of the supplied strategy. One signal evaluation per configured

Project information

Budget
150+ USD
Deadline
to 5 day(s)