Fix and Enhance Risk Management in MT5 Expert Advisor (EA)

Spezifikation

I have an existing MetaTrader 5 EA that requires significant improvements to its **risk management logic and trade execution** behavior. Currently, the EA executes trades without applying proper stop loss, take profit, or trailing mechanisms, which results in high drawdown and potential loss of capital.

The goal is to **optimize the EA for low risk and high return**, starting with small capital (e.g., \$10, \$50, \$100) and allowing it to scale trades efficiently and safely.

### **Scope of Work:**

#### ✅ **1. Fix Existing Issues**

* Correct logic that fails to apply **stop loss (SL)** and **take profit (TP)**.
* Fix **overtrading** and **improper execution** logic.
* Ensure the EA behaves predictably in both backtesting and live environments.

#### ✅ **2. Add Advanced Risk Management Features**

* Implement **breakeven** logic (move SL to entry after profit reaches a certain level).
* Add **trailing stop** logic with customizable parameters.
* Add **maximum drawdown protection** (e.g., stop trading if equity drawdown > 7%).
* Implement **risk-per-trade logic** based on account balance (e.g., 1%–2% of equity).

#### ✅ **3. Auto Lot Sizing and Position Scaling**

* Implement **auto lot sizing** logic with dynamic scaling:

  * Start with a minimum lot size (e.g., 0.01 lots).
  * Gradually increase lot size on subsequent entries following trend confirmation (e.g., scale to 0.05, 0.10, 0.20, up to a maximum of 8 positions).
  * Lot size progression should be calculated based on current **account balance and equity**, ensuring that each position’s risk is managed effectively.
* Include **position pyramiding/scaling** logic:
  * Allow a maximum of **8 same-direction positions**.
  * Automatically open additional positions at fixed time intervals (e.g., every minute) or based on market conditions such as trend strength or pullbacks.
  * Ensure the EA continues adding positions only when the trend is strong and confirmed, avoiding martingale-style risk.
* **Full margin utilization logic**:

  * The EA should be capable of scaling up to **use full margin capacity** prudently but only when drawdown is controlled and the trend direction is clear.
  * Avoid entering additional trades if margin usage is too high or drawdown risk is elevated.
  * Manage **zero or minimal drawdown** to prevent margin calls and preserve capital.
  * Include **safety checks** to pause or reduce position size dynamically if risk levels approach dangerous thresholds.

#### ✅ **4. Risk Management for News & Volatility**

* Integrate **news filter** or high volatility detection (if feasible):

  * Pause trading during or immediately before major economic news releases.
  * Avoid placing trades that could be vulnerable to sudden spikes or high volatility.
* Implement logic to **limit losses during news events** and stop trading when losses reach a pre-defined threshold.
* Protect capital by avoiding exposure during uncertain market conditions.

#### ✅ **5. Capital Protection & Profit Optimization**

* Designed to work efficiently with very **small account balances** starting from \$10, \$50, or \$100.
* Use **smart scaling** strategies that grow the account gradually while maintaining strict risk limits.
* Enforce **capital protection** mechanisms at all times to prevent significant drawdowns.
* Optimize for **low-risk, high-return trading** by applying advanced money management.
* Implement **auto stop** or **pause trading** features if the account hits critical loss levels.
* Provide flexibility to customize **lot sizing, max open positions, drawdown limits, and other risk parameters** to suit different account sizes and trader preferences.


### **Deliverables:**

* ✔ Final compiled EA file (.ex5) and optionally source code (.mq5)
* ✔ Detailed documentation describing all changes, new features, and parameters
* ✔ A simple backtest report or validation showing correct risk management and scaling functionality
* ✔ Recommendations for optimal EA settings to balance risk and reward

Dateien:

Bewerbungen

1
Entwickler 1
Bewertung
(3)
Projekte
3
33%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
2
Entwickler 2
Bewertung
(10)
Projekte
13
23%
Schlichtung
3
33% / 67%
Frist nicht eingehalten
1
8%
Frei
3
Entwickler 3
Bewertung
(24)
Projekte
30
13%
Schlichtung
10
0% / 50%
Frist nicht eingehalten
8
27%
Arbeitet
4
Entwickler 4
Bewertung
(56)
Projekte
88
42%
Schlichtung
4
0% / 100%
Frist nicht eingehalten
3
3%
Arbeitet
5
Entwickler 5
Bewertung
Projekte
0
0%
Schlichtung
0
Frist nicht eingehalten
0
Frei
6
Entwickler 6
Bewertung
(24)
Projekte
31
19%
Schlichtung
4
50% / 25%
Frist nicht eingehalten
4
13%
Frei
7
Entwickler 7
Bewertung
(1)
Projekte
1
0%
Schlichtung
1
0% / 100%
Frist nicht eingehalten
0
Arbeitet
8
Entwickler 8
Bewertung
(6)
Projekte
12
42%
Schlichtung
2
0% / 100%
Frist nicht eingehalten
1
8%
Frei
9
Entwickler 9
Bewertung
(1)
Projekte
1
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
10
Entwickler 10
Bewertung
Projekte
0
0%
Schlichtung
1
0% / 0%
Frist nicht eingehalten
0
Arbeitet
11
Entwickler 11
Bewertung
(2)
Projekte
2
0%
Schlichtung
0
Frist nicht eingehalten
0
Arbeitet
Ähnliche Aufträge
Need a pro dev to create an MT4 Expert Advisor ("Monitor EA") acting as execution firewall & auto-recovery controller for multiple EAs on XAUUSD (M1). How it works: Runs on blank chart; controls EAs via chart/template actions Closes/reopens charts to manage trades (EAs aren't editable) Targets IC Markets/VT Markets ECN Raw Source code handed over on completion Key Features:* XAUUSD (Gold) focus M1 timeframe
We're looking for a highly professional MQL5 developer to create FX Apex, an advanced scalping EA optimized for small accounts ($50+), 1:30 leverage, IC Markets broker, and ready for demo/live trading. Key Features:_ Scalps XAU/USD & major pairs (M1-M15), option to add more Adaptive TP/SL based on volatility, trend, ATR, momentum Dynamic trailing, breakeven, partial close functionality Configurable risk per trade
💰 BUDGET: $200-$2,800 XAUUSD EA (Negotiable) Institutional XAUUSD EA with 20+ Systems | Sharpe 4.2+ | Quant Firm Standards DESCRIPTION I need an experienced MQL5 developer to build a professional institutional-grade EA with 20+ integrated trading systems for MetaTrader 5. CORE REQUIREMENTS: Architecture: • 20+ independent trading systems (trend, mean reversion, volatility, breakout) • ON/OFF toggle for each system
Hi , I am finding scalping Ea for Mt5 which can work on all pairs and have back tested results at least of 1 year and is currently running in Mt5 so i can login and see how it is performing who ever have message me
Strategy Name: SHA & Fast Ema Pullback for BTCUSD Scalping Indicators Used: Smoothed Heiken Ashi Candles MT5.ex5, Fast EMA, Trend Ema, RSI Filters Used: Break Even Filter, Ema Slope Filter, Day-wise Filter, Session/ Time Filter, Loss Filter Lots: Fixed Size, 50% lots booked when Risk to Reward is 1:1 Stop Loss: in Points Trailing SL: starts once Risk to Reward 1:1 is achieved Target: 2000 Pts (max) Buy Setup Ema
Hi, im not looking into developing a new EA. I am looking into purchasing an existing EA that can deliver such results like: mq5 source, 4 year backtest 2021‑2025 report, equity curve, trade list, strategy description, and 1‑month demo access. i need a concrete prove of experience functioning existing EA working perfectly and as contained on my description, then we can't strike a deal. Thank you
Buen día. Busco un desarrollador para agregar sistema de Martingala a un Bot de MT4, sin poseer el código fuente, solo el archivo EX4. Mas detalles en mensaje privado, agradezco la atención prestada
Olá, preciso de um programador para montar um indicador com base na sobrevenda do estocastico, volume macd, para uma estrategia de reversão e falso rompimento com regioes de OB validos minimas e maximas de H1, H4, D1 e canais para confluencias, quero que seja didatico visualmente e com cores, sons de alertas e algum sinal de call ou put como setas indicando reversões e falsos rompimentos e continuidade
I need an MQL5 indicator that identifies reversals without repainting or placing signals with an offset. The goal is to minimize lag and reduce whipsaw trades. Desired results are similar to the attached image. Requirements: - No repainting - No signal offset - Emphasis on reducing lag - MQL5 compatible - Clear, concise code If you have the expertise to create a reliable, high-performance indicator, let's discuss
want a highly profitable EA; price is not an issue, as long as you can prove it and send me a demo for me to test. You need to prove yourself first. The EA needs a year of stable backtesting

Projektdetails

Budget
50 - 200 USD
Ausführungsfristen
bis 7 Tag(e)

Kunde

Veröffentlichte Aufträge1
Anzahl der Schlichtungen0