SmartExitManager MT4
- Utilities
-
Koji Saito
nice to meet you!
Trader and MT4/MT5 tool creator operating under the brand name "FX-SAITO".
I mainly develop indicators based on market structure and price action analysis.
Every tool is designed with strict non-repaint logic, thorough risk management, and real-market reproducibility. - Version: 1.0
SmartExitManager is a free, ratio-based trade management and trailing stop utility built for discretionary traders. It does not perform automated trade entries. Instead, it calculates position size and automates exit management after you open trades manually through the chart panel or standard MetaTrader order windows.
Every distance and filter is calculated from relative ratios such as ATR multiples, R-multiples, and Spread/ATR percentage rather than fixed pips or fixed dollar amounts. Because of this design, the same settings adapt across different instruments, price levels, and volatility conditions.
Key Features
- 100% ratio-based engine using ATR multiples, R-multiples, and Spread/ATR percentage with no fixed pip or fixed dollar settings.
- Draggable, collapsible chart panel with automatic Dark/Light theme matching, live 1R lot preview, Spread/ATR gauge, live PnL and R-progress bar, and 2-click safety confirmation on order and close buttons.
- Automatic 1R lot sizing based on Account Balance percentage, Account Equity percentage, or Fixed Lot, combined with a Spread/ATR entry guard and risk-over-limit protection.
- Automatic initial SL and TP assignment for manually opened positions (including one-click chart trades and mobile orders) whenever no SL is set.
- Automated breakeven move, partial position closing, and 4 trailing stop modes (Chandelier Exit, ATR Trailing, Swing Structure, and Synced Indicator Trail) with Virtual SL fallback when broker stop-level or freeze-level rules block modification.
- Optional Time-Stop exit for stagnant positions and GMT-based Friday weekend close.
Indicator Sync and Multi-Chart Safety
SmartExitManager works completely standalone in SOLO mode. When compatible indicators publish standard MetaTrader GlobalVariables using the FXS_SIG_<SYM>_* protocol, the utility automatically switches to SYNC mode to read structural SL, TP1/TP2, dynamic trailing levels, recommended Time-Stop bars, and exit signals. If the sync signal expires, trailing falls back seamlessly to Chandelier mode.
Only one instance actively manages a given symbol at a time. If you attach the utility to multiple charts of the same symbol, additional instances automatically switch to VIEW ONLY mode to prevent duplicate order modifications.
Input Parameters Overview
All 33 input settings are organized into six logical groups (see the Inputs screenshot for exact default values).
Management Scope controls which positions on the current symbol are managed: manual and panel trades (default), panel-only trades, a custom magic number, or all symbol positions.
Risk and Manual Panel configures the 1R lot sizing basis (Balance %, Equity %, or Fixed Lot), risk percentage per trade, fixed lot size, maximum allowed Spread/ATR ratio for panel entries, and 2-click confirmation on BUY, SELL, 50% Close, and Close All buttons.
Auto Initial SL and TP sets the reference timeframe (default M15) used for ATR, swing structure, and Time-Stop counting, along with initial SL mode (Synced or ATR, ATR multiple, Swing lookback) and initial TP mode (Open/Trail by default, R-multiple, ATR multiple, or Synced).
Breakeven and Partial Close enables or disables automatic breakeven and partial closing, their R-multiple trigger thresholds, and the percentage of position volume closed partially.
Trailing Stop and Time-Stop selects the trailing method, trailing start R-multiple, Chandelier/Swing lookback bars, trailing ATR multiple, manual SL protection toggle, Time-Stop enablement and maximum bar count, synced exit signal closing, and Friday close hour in GMT.
Panel and Visual Settings toggles panel visibility, selects Auto, Dark, or Light color themes, and adjusts UI scaling percentage for standard or HiDPI displays.
Important Notes
Please enable Algo Trading / AutoTrading in MetaTrader so the utility can place panel orders and manage open positions automatically. Keep the terminal running (or use a VPS) while positions remain open, as breakeven, trailing stops, Virtual SL fallback, partial closes, Time-Stop, and Friday close require active execution.
This utility is designed for live discretionary trading. In Visual Mode of the Strategy Tester you can test the panel interactively, while non-visual Strategy Tester runs execute a single minimal-lot cycle solely to satisfy automated validation checks. Trading leveraged financial instruments involves significant risk of loss, and this utility does not guarantee profits or prevent losses.
