Platform: MetaTrader 5 (MT5), Metatrader 4 (MT4)
Type: Utility (does not open trades)
Author: The Hung Ngo
🔗 Official Product Links:
• Smart Trailing Stop Manager for MT5
• Smart Trailing Stop Manager for MT4
🚀 Overview
Smart Trailing Stop Manager is a utility tool for MetaTrader 5 that helps you manage open positions automatically.
It offers a wide range of trailing stop strategies, break-even logic, auto stop loss, and partial close — all in a flexible and intuitive dashboard.
This tool is ideal for:
-
Manual traders
-
Copy/signal followers
-
EA users needing better SL/TP management
🛠 This utility does not open any trades. It only manages existing open positions based on your configuration.
✅ How to Install
-
Download .ex5 (.ex4) file from MQL5 Market or trusted source.
-
Place it in:
MetaTrader 5 (MetaTrader 4) → File → Open Data Folder → MQL5 (MQL4) → Experts -
Restart MT5
-
Open any chart
-
Drag the utility onto the chart from Navigator (Ctrl+N)
-
Enable AutoTrading (Algo Trading must be ON)
🧠 Symbol Filter
-
Use Symbol Filter – Enable this to manage only specific symbols.
-
Selected Symbols – List of allowed symbols (comma-separated, e.g., EURUSD,XAUUSD )
💡 Leave filter off to apply settings to all open positions.
🛡 Auto Stop Loss
Automatically adds a stop loss to trades that were opened without one.
-
Use Auto SL – Enable this function
-
Auto SL (pips) – Fixed SL distance to be applied in pips
🧠 This helps prevent unprotected positions and is highly recommended.
⚖️ Break-Even Settings
Automatically moves SL to entry price + offset when your position is in profit.
-
Enable Break Even – Turns on break-even logic
-
Trigger (pips) – When this many pips are in profit, break-even is triggered
-
Offset (pips) – SL will move to entry price + this offset
📌 Helps you secure profits early while still letting the trade breathe.
💰 Partial Close
Secure profits gradually by closing part of the position at defined pip levels.
-
Enable Partial Close
-
Trigger (pips) – How many pips profit before executing partial close
-
Volume (%) – How much volume (in percent) to close
🔍 Only executes once per trade and ensures minimum broker volume is respected.
🔄 Trailing Stop Modes
Enable trailing SL that adapts to market price as it moves.
-
Enable Trailing – Main switch
-
Mode – Choose one of the following trailing types:
Available Modes:
| Mode | Description (User-level) |
|---|---|
| Risk-Reward % | Moves SL based on your initial risk, trailing profit as R:R improves |
| ATR-based | SL moves based on volatility (ATR indicator) |
| Fixed Step | SL moves by fixed pip intervals |
| Swing High/Low | SL trails behind recent price highs/lows |
| Moving Average | SL follows distance behind a moving average |
| Parabolic SAR | SL follows SAR indicator with defined offset |
| Fibonacci Level | SL placed relative to swing retracement zones |
⚙️ Each mode has specific settings that appear automatically when selected.
🔢 Magic Number
Control which orders are managed:
-
Magic = 0 → All manual and EA orders
-
Magic > 0 → Only orders with that exact Magic Number
📊 Dashboard Panel
If enabled, you’ll see a clean panel at the bottom-left of the chart showing:
-
Which functions are active
-
Their current parameters
-
Magic Number info
-
Symbol and mode status
You can enable or disable this with Show Dashboard = true/false .
🎓 Recommended Setup
For signal followers:
-
Symbol Filter = OFF
-
Auto SL = ON (50 pips)
-
Trailing = ON (ATR or Swing Mode)
-
Break Even = ON (Trigger: 20 pips, Offset: 5)
-
Partial Close = ON (Trigger: 30 pips, Volume: 50%)
For prop firm traders:
-
Symbol Filter = ON (select only assets allowed by rules)
-
Auto SL = ON
-
Trailing = Risk:Reward or MA Mode
-
Partial Close = OFF
-
Break Even = ON
📥 Download Demo Version (Test on Real Demo Accounts)
The Market demo can only run in Strategy Tester mode.
📥 Demo version for real-time testing is attached below.
✔️ Only works on demo accounts.
❌ Not usable on live trading accounts.
📌 Notes
-
No DLLs or external connections used. Safe for VPS.
-
Compatible with all brokers.
-
Not designed to run on multiple charts at once — attach to one chart only.
-
Does not interfere with other EAs unless MagicNumber is shared.
💬 Support
Use the MQL5 comments section or private messages for support.
Please do not request external links or contact outside the MQL5 platform.
⚠️ Disclaimer
Trading is risky. This utility helps manage trades but does not guarantee profit.
Test thoroughly on demo before using on live accounts.
🏁 Get Started
Attach it to a chart, configure your logic, and let Smart Trailing Stop Manager do the rest.
→ Take control of your exits today.


