Atlas cro
- Utilità
- Versione: 1.1
Atlas CRO Portfolio Risk Guard** is a lightweight, account-wide risk management utility for MetaTrader 5. Designed as an independent Chief Risk Officer for accounts running multiple Expert Advisors or manual strategies, it continuously monitors equity High-Water-Mark drawdown and short-term equity drop velocity, triggering alerts or emergency account flattening before catastrophic losses occur.
Key Features
- 3-Tier Drawdown Defense:**
- Soft Throttle (`10%` default):** Flags the account as `THROTTLED` and logs/alerts the operator.
- Hard Circuit Breaker (`20%` default):** Flags `HALTED` and optionally closes all open positions and cancels pending orders across the account.
- Velocity Shock Guard (`15%` drop in `600s` default):** Detects sudden flash-crash equity losses inside a rolling 10-minute window and flattens exposure immediately.
- Cross-EA Account Protection:** Monitors all positions and pending orders across every symbol and magic number on the trading account—without ever opening trades of its own.
- Broker-Safe Emergency Liquidation:** Applies per-symbol `SetTypeFillingBySymbol` and respects broker `SYMBOL_TRADE_FREEZE_LEVEL` when closing positions or deleting pending orders.
- Persistent Halt Latch & Optional Daily Reset:** Remembers HWM and halt state across live terminal restarts using `GlobalVariables` (automatically bypassed in Strategy Tester) and supports optional daily HWM reset at `00:00` server time.
- Clear On-Chart Status HUD:** Displays HWM, live equity, current drawdown %, 10-minute equity velocity, and active guard status (`NOMINAL`, `THROTTLED`, or `HALTED`).
