EA-21362 · Utility

Virtual Trailing Stop

This EA implements a virtual trailing stop mechanism that monitors open positions and automatically modifies stop loss levels as price moves in favor, without relying on the broker's native trailing stop functionality. It operates as a trade management utility that does not open its own positions but instead manages existing ones by trailing their stop losses according to user-defined parameters.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryUtility
RiskSafe
Rating★★★☆☆
TypeUtility tool
TimeframesM5, M15, M30, H1, H4, D1
IndicatorsNone
AuthorCopyright © 2015, cmillion@narod.ru

Backtest results (H1, about 1 year)

Not backtested yet — this EA could not be converted automatically.

Strategy analysis

This EA is a pure utility tool that contains no entry strategy or signal generation logic. Its core function is to move the stop loss to breakeven or a profit level after the position reaches a specified profit threshold in points, and then continue trailing the stop as price moves further in favor. Exit conditions depend entirely on the trailing stop being triggered, meaning the position closes when price retraces beyond the configured trailing distance. Regarding position sizing, the EA does not handle lot size calculations since it only manages stop loss levels of existing positions. Money management is also not applicable as the tool does not execute any opening operations. User-configurable parameters typically include the profit threshold to activate trailing, the trailing distance in points, and the step size for stop loss adjustments, allowing fine-grained control over how aggressively the stop follows price. The utility's strength lies in enabling trailing stop functionality on brokers that do not support native trailing stops, and offering more flexible parameter tuning than broker-provided alternatives.

Strengths

  • Broker-independent implementation works on any MT5 broker regardless of native trailing stop support
  • Highly configurable parameters allow precise control over activation threshold, trailing distance, and step size
  • Runs as standalone utility without interfering with other EAs' entry logic
  • Flexible position filtering by magic number and symbol allows targeted management
  • Virtual stop is not visible on the server side, preventing brokers from seeing your exit strategy

Weaknesses

  • Client-side dependency means trailing stop stops working if the terminal disconnects or crashes
  • Provides no entry signals or strategy, requiring pairing with another EA or manual trading
  • Improper parameter settings can result in stops being too tight and getting stopped out by normal volatility
  • Cannot manage positions opened from other terminals or mobile devices
  • Lacks a visual dashboard to display current trailing status for monitored positions

Possible improvements

  • Add connection recovery mechanism that automatically resumes trailing after terminal reconnection
  • Implement a visual dashboard showing current trailing stop status and distance for each position
  • Add ATR-based dynamic trailing distance option to adapt to changing market volatility

Risk assessment

Overall risk: Safe

  • Client dependency risk: trailing stop completely fails when terminal disconnects, leaving positions unprotected
  • Parameter misconfiguration risk: setting trailing distance too small may cause frequent stop-outs from market noise

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.5

Parameters

ParameterDefaultDescription
TrailingStart50Trailing stop activation in points; starts after this profit
TrailingStop30Trailing stop distance in points from current price
TrailingStep5Trailing step in points; minimum stop loss increment
MagicNumber0EA magic number; 0 manages all positions
ApplyToAllSymbolstrueApply to all symbols; false limits to current chart symbol

Similar Utility EAs

Backtests are historical simulations and do not guarantee future results. Not financial advice.

Get the weekly Arena report

One email a week: ranking changes, new signals and new research. No spam; unsubscribe any time.