Hedging EA for account protection

MQL4 Эксперты

Работа завершена

Время выполнения 20 дней
Отзыв от заказчика
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.
Отзыв от исполнителя
he is the best, in highest level of cooperation, will help you to fix any doubts about the project with patience.

Техническое задание

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. 


Откликнулись

1
Разработчик 1
Оценка
(158)
Проекты
188
26%
Арбитраж
8
25% / 38%
Просрочено
5
3%
Работает
2
Разработчик 2
Оценка
(7)
Проекты
2
50%
Арбитраж
6
0% / 100%
Просрочено
0
Свободен
3
Разработчик 3
Оценка
(807)
Проекты
1382
72%
Арбитраж
113
29% / 48%
Просрочено
343
25%
Загружен
4
Разработчик 4
Оценка
(42)
Проекты
88
14%
Арбитраж
31
29% / 55%
Просрочено
36
41%
Работает
5
Разработчик 5
Оценка
(8)
Проекты
18
17%
Арбитраж
3
67% / 0%
Просрочено
0
Свободен
6
Разработчик 6
Оценка
(7)
Проекты
14
21%
Арбитраж
1
0% / 100%
Просрочено
3
21%
Свободен
7
Разработчик 7
Оценка
(63)
Проекты
84
26%
Арбитраж
23
22% / 48%
Просрочено
23
27%
Загружен
8
Разработчик 8
Оценка
(119)
Проекты
169
38%
Арбитраж
9
78% / 22%
Просрочено
15
9%
Свободен
9
Разработчик 9
Оценка
(17)
Проекты
17
18%
Арбитраж
5
20% / 60%
Просрочено
2
12%
Работает
10
Разработчик 10
Оценка
(48)
Проекты
80
28%
Арбитраж
8
75% / 13%
Просрочено
41
51%
Свободен
11
Разработчик 11
Оценка
(1)
Проекты
0
0%
Арбитраж
1
0% / 100%
Просрочено
0
Свободен
Похожие заказы
Zzz 30+ USD
// กำหนดค่าตัวแปรพื้นฐาน input double lotSize = 0.1; // ขนาดล็อตที่ต้องการ input int takeProfit = 50; // ระยะ Take Profit (จุด) input int stopLoss = 50; // ระยะ Stop Loss (จุด) input int magicNumber = 123456; // หมายเลข Magic Number input int smaPeriod = 14; // ช่วงเวลา Simple Moving Average (SMA) // เวลาที่ออเดอร์ล่าสุดถูกเปิด datetime lastOrderTime = 0; // ฟังก์ชั่นหลักของ EA void OnTick() { //
Mobile robot 50 - 100 USD
I want a profitable scalping EA robot for mt5 and mobile phones (licence key should be provided).the video link attached below indicates how the EA robot should operate it.it analyses the market before taking trades and it trades candle to candle .also coding samples are provided on the video .it should be applicable to all timeframes.it should trade indices(Nas100,US30,S&p500,GER30,)
I use the translator I hope to make myself understood. I'm looking for a cyclical indicator. mt5. I attach videos to understand how it works. to be inserted at any point of the graph. It is possible to change the color and thickness of the line
This EA must have the following functions together: BE: place BE when the price reach a certain gain in PIPS and you can choose the offset too, so, for example it activates after 10 pips with 1 pip of offset so you can have profit with BE too Auto SL and TP Can manage the trades made by phone when MT5 is open in the PC or VPS Trailing stop (step by step): I can decide at what number of pips the trailing stop get
This is a strategy based on crossing two trend indicators on the second timeframe (1s, for example). We work not only with the market but with the limit orders as well (robot must "read" an order book). Read the whole instruction please for more details. Speak Russian, English
Martingale EA for MT5 30 - 100 USD
Criteria: Only one trade at a time. Cannot open another trade if one is running Trade on EURUSD only, once job is completed I will be happy to schedule more for other pairs You choose entry strategy and criteria win rate must be above 50% in long term backtest of EURUSD Every trade has got TP and SL Trades to last about a day, few trades a week, at least 10 pips gain per trade, so that it can be launched on normal
I have a indicator, mql file. The signals are seen below on a EURNZD H1 chart. Very important to get accurate entries. The signal to trade is the first tic after the the indicator signal paints. I've tried to demonstrate that below. Other than that the EA will have a lot size escalation, an on-screen pip counter, a button to stop taking new trades, SL/TP, and magic number. I would like the indicator to be within the
I would like to create an EA based on the Shved Supply and Demand indicator. you can find the Shved Supply and Demand v1.7 indicator in the following link https://www.mql5.com/en/code/29395 NB: Checks the trading robot must pass before publication in the Market ( https://www.mql5.com/en/articles/2555 ) MQ5 file to be provided
Im looking for an coder to code an EA: Trade management 1. opening trades according to the indicator 2. trades settings to choose from like: open all trades according to the signal open only trade 1,2,3 or 4 % per trade ( example 50/30/20 of the lot settings, with 4 trades it would be for example 50/30/10/10) 3. SL/Trailing settings: Move SL to entry after hitting TP1/TP2 or TP3 moving SL by % keep the original SL
Hi I'm looking to have 2 of my pinescript strategies converted to MQL5 and was wondering if you could first give me a quote for the more simple strategy and then for both the simple and complex strategy together. The simple strategy is a MACD crossover type thing that uses a special EMA script that filters out some ranging price action and also fractal candles for the stop loss. The second strategy is market

Информация о проекте

Бюджет
500+ USD
Исполнителю
450 USD