🚀 VM Auto SLTP Pro v4.2 – Complete Trade Management Assistant for MetaTrader 5

25 December 2025, 14:54
Van Minh Nguyen
0
713

📌 Introduction

VM Auto SLTP Pro is a professional trade management Expert Advisor for MetaTrader 5, developed by Van Minh Nguyen. This EA does not generate entry signals — it is a trade management tool designed to manage positions after you enter a trade, helping automate the entire process: SL/TP placement, trailing stop, breakeven, partial profit taking, risk management, prop firm compliance, SMC/ICT analysis, and visual chart display.

The entire EA is controlled through an 11-tab on-chart panel, providing quick and intuitive access to its features.

⚠️ Important: This EA does not tell you when to enter a trade. You still need your own entry strategy. The EA handles the trade management side.

⚙️  Installation

    Follow these steps to install and attach VM Auto SLTP Pro to your MetaTrader 5 chart:

  1. Open MetaTrader 5.
  2. Go to File → Open Data Folder.
  3. Open the MQL5 → Experts folder.
  4. Copy the VM Auto SLTP Pro EA file into this folder.
  5. Restart MetaTrader 5, or right-click Expert Advisors in the Navigator and select Refresh.
  6. Drag VM Auto SLTP Pro from the Navigator onto the chart you want to use.
  7. Enable Algo Trading and click OK in the EA settings window.

After the EA is successfully attached to the chart, the VM Auto SLTP Pro control panel will appear directly on the chart.

⚠️ Important: Make sure Algo Trading is enabled in MetaTrader 5 if you want the EA to perform automated trade management and trading operations.

🖥️ Panel Overview

The panel consists of 3 main sections:

  1. Left Column — Account information + quick control buttons

  2. 11-Tab Bar — Switch between different setting groups

  3. Description Area — Brief explanation of the currently selected tab

📊 Left Column – Information & Quick Controls

Displays real-time information:

  • Status: RUNNING / BLOCKED / STOPPED

  • Symbol: Current trading symbol

  • SLTP Mode: Current SL/TP mode

  • LotMode: Current lot calculation mode

  • Profit: Total profit + swap

  • Spread: Current spread (shown in red if above the limit)

  • Positions: Number of open positions

  • Equity / Balance / FreeMargin

  • Total Lots: Total trading volume

  • Today P/L: Today's profit/loss

  • Session: Current trading session

  • Recovery: Recovery status

  • News: News filter status

  • Block: Reason why the EA is blocking trading, if applicable

Quick Control Buttons:

Button Function
HIDE PANEL Hide the panel and show only the SHOW PANEL button
STOP / START Stop / resume the EA
CLOSE LAST Close the most recent position
CLOSE ALL Close all positions with confirmation
ALL TO BE Move all SL levels to breakeven
CLOSE LOSS Close all losing positions
SELL MARKET / BUY MARKET Open a market order
LOT SIZE − / + Manually decrease/increase lot size

🎯 TAB 1: SL/TP

Function: Select the Stop Loss / Take Profit calculation mode.

6 SL/TP Modes

Mode Description
ATR SL/TP = ATR × multiplier, adapting to market volatility
Points Fixed SL/TP distance in points
Price Set SL/TP at an exact price
USD SL/TP based on USD value
%Bal SL based on account balance percentage, TP = SL × RR
RR SL based on points, TP = SL × RR

Settings for Each Mode

🔹 ATR Mode

  • ATR Period — Number of candles used to calculate ATR (default: 14)

  • SL Mult — ATR multiplier for SL (e.g. 2.0)

  • TP Mult — ATR multiplier for TP (e.g. 3.0)

🔹 Fixed Points Mode

  • SL Points — SL distance in points (e.g. 500)

  • TP Points — TP distance in points (e.g. 1000)

🔹 Fixed Price Mode

  • SL Price — Exact SL price

  • TP Price — Exact TP price

🔹 USD Mode

  • SL USD — Maximum loss in USD

  • TP USD — Target profit in USD

🔹 %Bal Mode

  • SL %Balance — Percentage of account balance used as the SL risk

🔹 RR Mode

  • SL Points — SL distance

  • RR Ratio — Risk-to-Reward ratio (e.g. 2.0)

Recommended Use

  • ATR → Gold, Crypto, and volatile markets

  • Points → Scalping and simpler fixed-distance setups

  • Price → Support/Resistance and supply/demand trading

  • USD → Strict monetary risk management

  • RR → Strategies using a fixed Risk-to-Reward ratio


💰 TAB 2: Lot

Function: Configure automatic lot sizing.

6 Lot Calculation Modes

Mode Description
Fixed Fixed lot size using Base Lot
Risk% Lot = Balance × Risk% / (SL × value/point)
USD Lot size based on a fixed USD risk
Kelly Kelly Criterion based on win rate + RR
VolATR Adjust lot size according to ATR volatility
Equity Scale lot size according to the equity curve

Parameters by Mode

  • Base Lot — Base lot size (Fixed, VolATR)

  • Risk % — Risk percentage per trade (Risk%)

  • Risk USD — Fixed USD risk per trade (USD)

  • Kelly Fraction — Kelly multiplier/fraction (Kelly)

  • Vol Ref ATR — Reference ATR value (VolATR)

  • Equity Peak Lot — Peak lot size used for equity scaling (Equity)

Global Settings

  • Max Lot — Maximum allowed lot size

  • Reduce on Loss Streak — Reduce lot size after a losing streak

  • Loss Threshold — Number of consecutive losses required to activate reduction

  • Reduction % — Percentage reduction in lot size


📈 TAB 3: Trail

Function: Configure trailing stop with 12 trailing modes.

General Settings

  • Enable Trailing — Enable/disable trailing

  • Total Profit (R) — Profit target measured in R

  • Close at Total R — Close positions when the target R is reached

12 Trailing Modes

Mode Description Main Parameters
Fixed Fixed trailing Start (pts), Step (pts)
ATR ATR-based trailing ATR Factor, ATR Period
RR R-based trailing Start R, Step R, Target R
Candle Candle-based trailing Candle Bars
EMA EMA-based trailing EMA Period
Swing Swing-based trailing Swing Bars
Lock Profit locking Lock %, Start R
PSAR Parabolic SAR Step, Max, Start R
ST SuperTrend ATR Multiplier, ATR Period, Start R
Chand Chandelier Exit Period, Multiplier, Start R
Kelt Keltner Channel EMA Period, ATR Period, Multiplier, Start R
VolAd Volatility Adaptive Lookback, Min/Max Mult, Start R

💡 What is R?

R represents the initial risk of a trade, based on the distance between the entry price and the initial SL.

  • 1R = profit equal to the initial risk

  • 2R = profit equal to twice the initial risk

Example: If the initial SL is 100 pips from the entry price, then 1R = 100 pips of profit.


🔒 TAB 4: BE (Breakeven)

Function: Move SL to the entry price when the position reaches a defined profit level.

Setting

  • Enable Breakeven — Enable/disable breakeven

4 Breakeven Modes

Mode Description
Points Activated after reaching a defined points threshold
R Activated after reaching a defined R level
Comm Accounts for commission
% Moves SL based on a percentage of R

Parameters

  • Threshold (pts) — Points threshold (Points Mode)

  • Buffer (pts) — Safety buffer around the entry price

  • Trigger R — R threshold (R Mode)

  • Commission (pts) — Commission allowance (Commission Mode)

  • % of R — Percentage of R (Percentage Mode)

Example: Trigger R = 1.0 , Buffer = 20 pts → when the position reaches 1R, the SL moves to entry + 20 points.


🎯 TAB 5: Partial

Function: Take partial profits at 3 levels.

Settings

  • Enable Partial Close — Enable/disable partial closing

  • Use R (not points) — Select the calculation unit (R or points)

3 Partial Close Levels

Level Target Close %
Level 1 1R (or points) 30%
Level 2 2R 30%
Level 3 3R 20%

Example: When 1R is reached → close 30% of the volume, leaving 70% running. At 2R → close another 30% of the remaining volume. At 3R → close 20%.

💡 Set Percent = 0 to disable a specific level.


🛡️ TAB 6: Risk

Function: Account risk management + Recovery.

Account Risk Protection

Feature Description
Daily Loss Limit Stop trading when the daily loss reaches the defined percentage
Daily Profit Target Stop trading when the daily profit reaches the defined percentage
Max Drawdown Stop trading when drawdown from the peak reaches the defined percentage
Max Open Positions Limit the number of simultaneously open positions
Max Risk Exposure Stop trading when total risk exceeds the defined percentage of balance

5 Recovery Modes

Mode Description
None Disabled — no recovery system
Hedge Open an opposite-direction position
Grid Add positions in the same direction
Martin Martingale — increase lot size after a losing trade
AntiM Anti-Martingale — increase lot size after a winning trade

Recovery Parameters

  • Multiplier — Lot size multiplier

  • Max Levels — Maximum number of recovery levels

  • Grid Step (pts) — Distance between grid orders

  • Smart Hedge — Hedge using the same lot size as the original position


📊 TAB 7: Trend

Function: Manage trade baskets and trend orders.

Features

Feature Description
Trend Money TP/SL Close individual positions based on USD TP/SL
Sum Money TP/SL Close the entire basket based on total USD P/L
Max Trend Orders Limit the maximum number of positions
Average Profit Points Target Close when average profit reaches the target
Average Loss Points Limit Close when average loss reaches the defined limit

Parameters

  • Trend TP USD / Trend SL USD — Individual position TP/SL

  • Sum TP USD / Sum SL USD — Total basket TP/SL

  • Max # — Maximum number of positions

  • Target (pts) — Average profit target

  • Limit (pts) — Maximum average loss


🏢 TAB 8: Prop

Function: Prop firm compliance + News Filter + Session Filter.

Prop Firm Compliance

  • Prop Firm Compliance — Enable/disable

  • Daily % — Daily loss limit

  • Total % — Maximum total loss limit

  • Target % — Profit target

  • Stop @ Target — Automatically stop when the target is reached

  • Consistency — Monitor the consistency rule

  • Max % — Maximum allowed consistency percentage

Supported Presets: FTMO, MFF, The5ers, E8, Custom.

News Filter

  • News Filter — Enable/disable

  • Close On News — Close positions before important news

  • Before (min) / After (min) — Minutes before/after news

  • Currency filters: USD, EUR, GBP, JPY

Session Filter

  • Session Filter — Enable/disable

  • Asian / London / NY / Overlap — Select trading sessions

  • GMT Offset (h) — GMT offset

  • Use GMT Time — Use GMT time

  • Avoid Rollover — Avoid rollover periods


🧠 TAB 9: SMC (Smart Money Concepts)

Function: SMC/ICT analysis and automated trading.

Structure Detection

Feature Description
Order Blocks Supply/demand zones
Fair Value Gap Price imbalance/gap
BOS Break of Structure
CHoCH Change of Character
Liquidity Sweep Liquidity sweep detection

Auto SL/TP

  • Auto SL (behind OB) — Automatically place SL behind the Order Block

  • TP @ Next Liquidity — Set TP at the next liquidity area

  • Auto Trade SMC — Automatically open trades based on SMC conditions

Parameters

  • Lookback Bars — Number of candles used for analysis

  • Min Confluence — Minimum number of required confluence signals

Controls

  • Scan Now — Scan the current market conditions

  • SMC Buy / SMC Sell — Manually open a trade based on SMC analysis

Snapshot Display: Current signal, SL, TP, and detected confluence factors.


📋 TAB 10: Pending

Function: Place pending orders.

Setting

  • Enable Pending Orders — Enable/disable pending orders

Pending Order Parameters

  • Entry Price — Entry price

  • Stop Loss — SL price

  • Take Profit — TP price

4 Pending Order Types

Type Condition
Buy Limit Buy below the current price — Entry < Ask
Buy Stop Buy above the current price — Entry > Ask
Sell Limit Sell above the current price — Entry > Bid
Sell Stop Sell below the current price — Entry < Bid

PLACE ORDER button — Places the order using the lot size automatically calculated by Auto Lot.

Entry / SL / TP levels are displayed visually on the chart with customizable colors.


🖥️ TAB 11: Display

Function: Advanced chart display and additional settings.

Advanced Chart Display

Feature Description
RR Box Risk/Reward zone
Entry Zone ATR-based entry zone
TP Levels 1R / 2R / 3R levels
Trail Line Current trailing SL line
Trade History Historical trade arrows
PnL Heatmap PnL heatmap
Float PnL Current floating P/L
Session Info Current session status
Spread Info Current spread
Show Lot Size Text Lot size + entry price
Show SL/TP Price Text SL/TP + percentage

Other Settings

Parameter Description
Magic EA magic number
Max Spread Maximum allowed spread
Check Spread Enable spread filter
Max Bars Close positions after N bars
Use Enable/disable Max Bars
TP % / SL % Close based on account percentage
Use % Enable percentage-based mode
Enable Smart Close Smart close based on EMA + RSI
EMA / RSI Indicator periods
Min R / Min USD Minimum profit threshold
TF (min) Analysis timeframe

What is Smart Close?

When a position reaches the minimum profit level defined by Min R or Min USD, the EA checks:

  • Whether the closing price crosses the EMA

  • Whether RSI reverses through the 50 level

If the conditions indicate weakening momentum, the EA can automatically close the position to help protect existing profit.


🔧 Settings Not Available on the Panel (Inputs)

Some features are available only in the EA Inputs when opening the EA Properties window and are not displayed on the panel.

🎯 Single Chart Operation

===== Single Chart ===== EnableSingleChartOperation = true

  • true → The EA manages only positions associated with the current chart

  • false → The EA manages all positions matching the Magic number and management logic

How to access: Right-click the EA → Expert Advisors → Properties → Inputs → Single Chart group.

🎨 UI Settings

  • ShowControlPanel — Enable/disable the control panel

  • ShowDescriptions — Enable/disable the description area

  • PanelX / PanelY — Panel position

  • PanelWidth / PanelHeight — Panel size

  • PanelBackground / PanelBorderColor / PanelTextColor

  • PanelFontSize / PanelFont

  • PanelAlwaysOnTop

⚙️ Advanced Trailing Parameters

Additional parameters for specific trailing modes, including PSAR Step, SuperTrend Multiplier, Chandelier Period, Keltner EMA/ATR, Volatility Lookback, and more.

💼 Trading Settings

  • DefaultLotSize — Default lot size


🎯 Conclusion

VM Auto SLTP Pro v4.2 is a comprehensive trade management EA with an intuitive 11-tab control panel, covering SL/TP management, auto lot sizing, 12 trailing modes, breakeven, partial close, risk management, prop firm filters, SMC/ICT analysis, pending orders, and advanced chart visualization.

⚠️ Before running on a live account:

  • Test the EA thoroughly on a demo account

  • Understand each feature before using it

  • Do not enable all features simultaneously unless you understand how they interact

  • Optimal settings depend on the symbol, timeframe, broker, spread, and trading style

This EA is a trade management tool, not an entry signal system. You need your own entry logic or strategy.


📬 Contact

🌐 MQL5: https://www.mql5.com/en/users/minhnguyen1504


🚀 Wishing you successful trading with VM Auto SLTP Pro!