Drawdown Mitigation EA by Sujith
- Yardımcı programlar
- Sujith
- Sürüm: 2.21
⚡ Advanced Drawdown Control Using ATR-Based Dynamic Profit Balancing
👉 “Professional Risk Management Engine”
This Expert Advisor is designed to help traders actively reduce drawdown by intelligently closing losing trades using profits from winning positions — based on market volatility (ATR).
🔍 Core Concept
Instead of letting losing trades grow uncontrollably, this EA:
✔️ Identifies the worst losing position
✔️ Selects profitable trades above a threshold
✔️ Combines profits dynamically
✔️ Closes positions only when recovery target is reached
💡 The recovery target is calculated using ATR (volatility) + USD minimum floor, making it adaptive to market conditions.
⚙️ How It Works
-
Calculates ATR per symbol
-
Converts ATR → USD value
-
Applies:
-
ATR Multiplier
-
Minimum USD Floor
-
👉 Final Target = Max(ATR-based value, Minimum USD threshold)
-
Finds:
-
Worst losing trade
-
Best profitable trades
-
-
Combines profits until:
👉 Combined Profit ≥ Target -
Executes:
✔️ Closes worst loss
✔️ Closes selected profitable trades
✨ Key Features
🔹 Multi-Symbol Support
Works across all symbols automatically.
🔹 ATR-Based Smart Targeting
Adapts to market volatility — not fixed values.
🔹 USD Minimum Floor Protection
Prevents weak closures in low volatility markets.
🔹 Profit Threshold Filter
Only strong profitable trades are used.
🔹 Cooldown Protection
Prevents over-trading and rapid repeated closures.
🔹 Fully Automated Recovery Logic
No manual intervention required.
🔹 Real-Time Statistics Panel
Displays:
-
ATR & USD value
-
Target profit
-
Worst loss
-
Combined P/L
-
Closure status
🔹 Efficient & Optimized Code
Handles multiple symbols with minimal CPU usage.
📊 On-Chart Information Panel
Displays per symbol:
-
ATR value
-
ATR (USD equivalent)
-
Target recovery value
-
Worst losing trade (ticket + loss)
-
Number of profitable trades used
-
Combined P/L
-
Status (WAITING / CLOSING)
-
Last execution time
🎯 Who Should Use This EA?
✅ Grid / Martingale traders
✅ Multi-position strategy users
✅ Portfolio traders
✅ Traders facing floating drawdown issues
✅ Prop firm traders managing risk
💡 Practical Use Cases
-
Reduce floating drawdown without manual intervention
-
Lock in profits while cleaning losing positions
-
Manage baskets of trades more intelligently
-
Improve equity curve smoothness
⚠️ Important Notes
-
This EA does NOT open trades
-
It only manages existing positions
-
Works best with multi-position strategies
-
Requires sufficient profitable trades for recovery
🎁 Why This EA is Free?
This tool is part of a professional risk-management toolkit.
👉 Check my profile for advanced EAs and trading systems.
