Smart Trade Manager and Equity Guard
- ユーティリティ
-
Shahzaib Muhammad Munir
Trader-first MQL5 & PineScript Developer with 5+ years of real Gold (XAUUSD) & Forex trading experience.
Unlike generic coders who don't understand market structure, I build clean, 0-warning MT5 Expert Advisors and indicators designed for real live execution and prop-firm safety: - バージョン: 1.0
Smart Trade Manager and Equity Guard is an interactive MetaTrader 5 trade-management utility designed to protect manual and automated positions with automatic Break-Even, Trailing Stop, Partial Close, Daily Equity Loss/Profit Limits, Friday Weekend Close, and one-click chart controls.
Note: This is a trade management utility. It does not open new trades automatically; it manages and protects your existing positions and pending orders according to your rules.
Key Features:
- Auto Break-Even: Automatically moves Stop Loss to entry plus a configurable pip offset once a trade reaches your profit trigger.
- Auto Trailing Stop: Smoothly trails Stop Loss behind price using configurable activation profit, trailing distance, and minimum step while respecting broker Stops Level and Freeze Level rules.
- One-Time Partial Close: Optionally closes a configured percentage of volume once a trade reaches your target profit (respects broker minimum lot and volume step).
- Daily Equity Loss & Profit Guard: Tracks today's realized and floating P/L against day-start balance and automatically closes managed positions (and optionally deletes pending orders) when your daily drawdown limit or profit target is reached.
- Optional Friday Weekend Close: Automatically flattens open trades at your chosen Friday broker server hour/minute.
- Interactive One-Click Panel: Includes live Open Trades, Floating P/L, Today P/L %, Guard Status, and four clickable buttons (CLOSE ALL, CLOSE PROFIT, MOVE ALL BE, and GUARD ON/OFF).
- Flexible Scope & Magic Filter: Manage trades on the current symbol only or across all symbols, and filter by a specific Magic Number or manage all trades (-1).
Input Parameter Groups:
1. Trade Scope: Current Symbol or All Symbols, Magic Number filter (-1 = all trades), Max Slippage.
2. Auto Break-Even: Enable toggle, Trigger Profit (Pips), Lock Offset (Pips).
3. Auto Trailing Stop: Enable toggle, Activation Profit (Pips), Trailing Distance (Pips), Minimum Trail Step (Pips).
4. Auto Partial Close: Enable toggle, Trigger Profit (Pips), Volume Percentage to Close.
5. Daily Equity Guard & Weekend Close: Guard toggle, Max Daily Loss %, Daily Profit Target %, Delete Pending Orders toggle, Friday Close toggle/time, Optional MT5 Alerts.
6. Panel Appearance: Show Panel toggle, Corner placement, Offsets, Font Size, Colors, and Unique Object Prefix.
