Drawdown protection EA using hedge needed

MQL4 Asesores Expertos Fórex

Trabajo finalizado

Plazo de ejecución 13 días
Comentario del Cliente
It was great to work with Shahzad
Comentario del Ejecutor
Good customer

Tarea técnica

The drawdown protection EA(DDP) will open a position(position_DD) when the tracked trade(trade_EA) made by another EA goes beyond the drawdown% threshold. when the trade_EA is closed by other EA  or drawdawn% threshold is no longer being crossed by position_DD and position_DD is in the positive, at that point position_DD will be closed. The purpose of DDP is to protect the account from sudden and/or prolonged periods of large drawdown.

 
DDR will have the following behaviors:

1. Each instance of DDP will track particular trades opened by another EA based on the "EA magic number"(tracked_magic_number) and "currency pair"(tracked_trade_currency) parameters.

2. The chart the instance of DDP is open in will be the pair DDP uses in the hedge position.

3. DDP will protect from drawdown occurring in trade_EA in a particular direction, long or short,
based on two parameters: trade_EA_long and trade_EA_short, please see 3.1 - 3.4.

3.1. if both parameters are set to True DDP will track both long and short position made by other EA.
3.2. If  trade_EA_long=True and trade_EA_short=False, DDP will only track long trades made by other EA that go into negative and cross the drawdown threshold.
3.3. If  trade_EA_long=False and trade_EA_short=True, DDP will only track short trades made by other EA that go into negative and cross the drawdown threshold.
3.4. If  trade_EA_long=False and trade_EA_short=False, DDP will not track any trades made by the other EA or open any new position_DD's. If position_DD or multiple positions_DD is/are already open it/they will continue to be managed by DDP as normal.

4. The direction of position_DD(hedge position) will be determined by 2 parameters: position_DD_long and position_DD_short, please see 4.1 - 4.4.

4.1. If both parameters are set to True, then position_DD will be in the opposite direction of trade_EA.
4.2. If position_DD_long=True and position_DD_short=False, DDP can only open long positions when trade_EA goes beyond the drawdown threshold.
4.3. If position_DD_long=False and position_DD_short=True, DDP can only open short positions when trade_EA goes beyond the drawdown threshold.
4.4. If position_DD_long=False and position_DD_short=False, DDP will not open any new positions in any direction. Any already open position_DD will be closed, all position opened by DDP will be closed.

5. The position_DD size will be determined using "position_multiplier" parameter, please see 5.1 - 5.3.

5.1. if "position_multiplier it is set to 1(default), the size of position_DD will equal that of trade_EA,
5.2. if the parameter is set to 1.25, then position_DD will be 25% larger than trade_EA.
5.3. if for example the parameter is set to 0.5 then position_DD size will be 50%/half of the size of trade_EA.

6. DDP must immediately close position_DD if trade_EA is closed by user or other EA or if the drawdown of trade_EA is below drawdown threshold and trade is in a positive direction. There may be multiple trade_EA being tracked and the management of each one must comply with the rules stated.

7. Position_DD must not be allowed to go into high drawdown at any point, the moment position_DD is opened a stop loss will be used, to determine the location of the stop loss the parameter "position_max_drawdown" will be used, this parameter is the maximum drawdown allowed for all position_DD's.

8. Position_DD will have in the comment section the order number for trade_EA in the folowing format: "Order: <Order number>", to allow behavior corroboration using trade history.

9. DDP will be able to track multiple trades opened by other EA, and apply rules discussed above to each position_DD.

10. Source code for the DDP should be provided once completed.





Han respondido

1
Desarrollador 1
Evaluación
(365)
Proyectos
412
36%
Arbitraje
35
26% / 57%
Caducado
63
15%
Libre
2
Desarrollador 2
Evaluación
(2)
Proyectos
5
0%
Arbitraje
2
0% / 50%
Caducado
1
20%
Libre
Solicitudes similares
Scalping ea mt5 30 - 50 USD
PHẦN 1: TIẾNG ANH (For MQL5 Freelance) Title: I need a Pro Dev for Scalping EA: I provide STRICT Money Management, YOU provide the Strategy Description: I have a strict Capital & Risk Management Framework. The Entry Strategy is UP TO YOU (Must be "King Scalping" / Multi-Timeframe style). 1. STRATEGY (YOUR JOB) * Requirement: You decide the entry logic. It must be a High Probability and High Volume scalping strategy
I have an expert advisor (MQL5) that works professionally on all timeframes. This is a test on a 5-minute timeframe, from $10,000 to $614,195.70, from the beginning of 2025 to the beginning of 2026 on the Dow Jones
1441 30+ USD
444fwefwefw jlklklklklklklklklkeaNRFNEWM EWQJEWQIOREJEWQKLFDNMKLFD.MDW/LFDK.MEWFDLK;EMFWEKLMFWELKFREWNMFNDM,VSDV/S.DAFLMWEO;RWEJRPWOEJWE09PUJR9O EJ WKEWMK F FMKDSMKF SDEWJWJ [Q\ /QLDKNQNDQPIUHQD.Q,DMASDOAIFDA,M DFA AAS,KFDJNLOFD NOIFDJNFDAS NKNLOASJOFIKJD ASOIJFISFNKSNF SFSNOIWWQJ-0I[PKEM DAI-0IK-0DQMDQ NDACAI-0 I- EKQ;LDN0912KDMMOIKM Cdjoiasd f09wilf d qkdfokawsd-09fdkdadsomfasdlkkf-0 q[pkkd-0]q2kda\fld
Signal Logic - Swing points detected correctly (Fractals or N-bar) - BOS triggers only on bar close beyond swing level (+ optional min break distance) - FVG zones detected correctly (3-candle gap) and stored with clear boundaries - FVG invalidation works as configured (full fill / partial fill / timeout) Entry & Execution - Entry only after BOS (if enabled) and on return to active FVG zone - Bar-close confirmation
Hi, I’m searching for a developer who already has a high‑performance Gold EA that can beat the results shown in my screenshot. If you have such an EA, please reply with: - A brief description of how it works (grid, scalping, SMC, etc.) - Backtest results and the set files you used - Whether you’re willing to make minor tweaks so I can use it as my own If the performance looks good, we can discuss adjustments and next
cần người tạo EA y thay đổi hình ảnh gửi đầy đủ tính năng như hình giá cả có thể tăng thêm khối lượng mong muốn viết giống hình không khác ROBOT HƠI NHIỀU TÍNH NĂNG MỌI NGƯỜI CÓ THỂ ĐƯA GIÁ THAM KHẢO
Need a HFT scalping EA 30 - 100 USD
Require the development of a high-speed HFT, fully automated trading Expert Advisor (EA) for MetaTrader 5 , optimized for live trading on both Deriv and Exness . The EA must be designed for fast execution, low latency, and reliability on real-money accounts , with full compatibility across broker-specific contract specifications, tick sizes, tick values, pricing formats, and volume rules. It should automatically
Hello Developers, I need a utility that allows to me open multiple positions. First the utility will show me all currency pairs on the watch list, and it will give me the option to either buy, sell, or neutral for each currency pair. Secondly, lot sizes for all currency pairs (that are not neutral) are determined through an input of cost per pip (USD). Lastly, then the execute button, which opens positions according
Here's the TradeStation ELD files that i want to convert to tradingview pine script (unprotected so you can see codes for indicators and systems/strategies) - let me know what you think it would cost? thanks i will be looking for great developer that will bid it for it and get started
Project Overview I am looking for an experienced MT5 (MQL5) developer to modify an existing Account Protection EA and, if required, extend it with custom logic. This is NOT a strategy or trading EA . The EA is purely for risk management, drawdown protection, alerts, and trading lock , suitable for prop-firm and managed accounts . Core Requirements 1. Alerts & Monitoring Alert on trade entry and trade exit Alert when

Información sobre el proyecto

Presupuesto
30 - 80 USD
Plazo límite de ejecución
de 7 a 20 día(s)