Hedging EA for account protection

MQL4 Asesores Expertos

Trabajo finalizado

Plazo de ejecución 20 días
Comentario del Cliente
Quite impressive at his attitude towards the job. He spent much time reading through the complicated specs and asking questions. Highly professional in good quality of work. Strongly recommended.
Comentario del Ejecutor
he is the best, in highest level of cooperation, will help you to fix any doubts about the project with patience.

Tarea técnica

Background:

I am running some martingale EAs which are profitable but have a potential to blow up accounts when market is trending in the opposite direction. One way to avoid that is possibly a hedging EA that hedges against open positions with floating loss when account drawdown (DD) reaches a certain percentage. The main purpose of this EA is NOT to take profit from hedging (although the EA can set a profit target optionally) but to save account equity during the deep DD period while waiting for the market to turn back. Very little profit or even a small loss is expected after hedging is auto closed at breakeven. However, this EA may allow me to manually close the hedge positions (if there is a need) and then auto re-open hedging positions if DD is still beyond the threshold level. In one word, keeping DD controllable and account safety is the what this EA is mainly intended to do.

Specifications:

  1. Hedging will automatically start at/after a specified symbol-based account DD percentage level, or at/after an overall DD percentage level.
  2. Hedging size must be based on the corresponding original position size, and it may be splittable.
  3. Each hedge position is opened with a mandatory SL and an optional TP. There is also a mandatory Hedge Threshold, passing which will set the SL of hedge position to breakeven.
  4. Hedge reopening. Two input values control when to reopen hedge. One input is Hedging Interval in Minutes to prevent hedge positions to be opened too frequently. Another is Hedge DD Level Incremental which increases the symbol/account threshold level in case hedge positions close in loss repeatedly. 
  5. New original positions may continue to open after hedge starts. Hedge positions for new original positions should be automatically opened.
  6. If not manually closed, the hedge positions will finally be automatically closed at breakeven or at the SL. If they are manually closed, they should be reopen automatically to prevent account from further drawdown.
  7. If any original position is closed (either by EA or manually), then the corresponding hedge position(s) will be automatically closed. The hedge position(s) here include both positions in Hedge Protection Group and positions in Hedge Profit Group. If the positions were split before, all split positions must be closed.
  8. A simple panel is required to show information like current symbol/account draw down in percentage, original lot size, hedged lot size, and also buttons to manually open and close hedge positions.
  9. Testing. Hopefully the EA can prove it works as expected in backtesting.


Note:


The above specifications are simplified. I have all the detailed explanation and examples for every aspect. However we may further discuss about the design and logic, if there are flaws and errors, to make the EA work perfectly.

Experienced developer is welcomed to work on this MT4 EA. If it works well practically, I will ask for a MT5 version from the same developer likely with the same price. 


Han respondido

1
Desarrollador 1
Evaluación
(137)
Proyectos
160
23%
Arbitraje
7
0% / 43%
Caducado
4
3%
Trabajando
2
Desarrollador 2
Evaluación
(7)
Proyectos
2
50%
Arbitraje
6
0% / 100%
Caducado
0
Libre
3
Desarrollador 3
Evaluación
(800)
Proyectos
1371
72%
Arbitraje
112
29% / 48%
Caducado
341
25%
Trabajando
4
Desarrollador 4
Evaluación
(41)
Proyectos
88
14%
Arbitraje
30
30% / 53%
Caducado
36
41%
Trabaja
5
Desarrollador 5
Evaluación
(8)
Proyectos
18
17%
Arbitraje
3
67% / 0%
Caducado
0
Libre
6
Desarrollador 6
Evaluación
(7)
Proyectos
14
21%
Arbitraje
1
0% / 100%
Caducado
3
21%
Libre
7
Desarrollador 7
Evaluación
(63)
Proyectos
84
26%
Arbitraje
23
22% / 48%
Caducado
23
27%
Libre
8
Desarrollador 8
Evaluación
(119)
Proyectos
169
38%
Arbitraje
9
78% / 22%
Caducado
15
9%
Libre
9
Desarrollador 9
Evaluación
(17)
Proyectos
17
18%
Arbitraje
5
20% / 60%
Caducado
2
12%
Trabaja
10
Desarrollador 10
Evaluación
(48)
Proyectos
80
28%
Arbitraje
8
75% / 13%
Caducado
41
51%
Libre
11
Desarrollador 11
Evaluación
(1)
Proyectos
0
0%
Arbitraje
1
0% / 100%
Caducado
0
Libre
Solicitudes similares
Hi, I have an indicator from my friend, I want to copy it to my own MT5 can you do that for me. Here is the link
I'm looking for someone to help me create an arbitrage trading robot that can trade on any decentralized exchange and forex market. I already have some source code to a strategy but would like to enhance it to make it profitable and automated
I installed the E.A. into the Experts folder in MT4. When I double click on it nothing happens. When I right click and "attach to chart" nothing happens. The E.A. is not grayed out, it simply will not attach. Any help would be greatly Appreciated
I have an EA and want to add few new logic to fetch profit taking factors and other values from an external master data and use it in existing EA
Hello Every one, Good day, I want from someone professional to create an EA is working on Mt5, This EA is working by depend on some indicators, and all those indicators must be working on MACD window, not on the chart, for more details please read my attached pdf file carefully. Many Thanks
I'm looking for an expert MQL5 developer that can create an EA that's based on my price action trading strategy with no indicators. The EA must analyze trades based on my price action rules, enter trades based on my price action rules, manage trades based on my price action rules and exit trades based on my price action rules
hi hi there i have an strategy on tradingview and i want to automate it like metatrader EA so i want the strategy to open and close trade automaticlly on tradingview
We are looking for an experienced Expert Advisor Developer who can build a customized MT5 Expert Advisor for us. The Expert Advisor would use two built-in indicators as entry/exit signals and our own risk management strategy with customizable inputs. The goal is to create a reliable and efficient trading tool that can automate our trading process on the MT5 platform. Skills required: - Strong understanding of
I need stochastic div (hidden &regular ea) that should perform task in all tf's ..divergence is a repaint stly so i want to use it with candlestick flips .. so bet for it
Hello, I have an indicator from a friend and I'd like to replicate it on my own TradingView or MT5 platform. Could you assist me with that?. Here is the link

Información sobre el proyecto

Presupuesto
500+ USD
Para el ejecutor
450 USD