ShadowTraderEA
- Experts
- Sergei Vassunov
- Versione: 1.22
- Attivazioni: 5
Dear Traders!
I am pleased to present ShadowTrader_EA – an expert advisor developed as a result of deep analysis and optimization of a trading strategy specifically designed for volatile instruments, primarily XAUUSD (gold). The advisor has been ported from MQL4 to MQL5 while preserving the original logic and enhanced with modern adaptive capital management mechanisms.
What is ShadowTrader_EA?
It is a fully automated trading system that opens positions based on a combination of price channels and moving averages, using additional filters to select the most promising signals. The core strategy analyzes price deviations from a moving average (SMA), considering the direction of the higher trend (SMA200) and the dynamics of pivot points on the H4 timeframe (H4 Pivot). This approach allows the advisor to perform effectively in both trending and ranging markets, avoiding false entries.
Key Features
-
Reliable trading logic, backtested with 99% modeling quality (real ticks) over the period 2024–2026.
-
Intelligent filters: SMA200 and H4 Pivot Point help filter out signals against the higher trend and enhance result stability.
-
Adaptive risk management:
-
Dynamic lot – automatically reduces position size after a series of losses and restores it after a series of gains, preserving the deposit during unfavorable streaks.
-
Trade skipping – when a critical loss streak is reached, the advisor skips several subsequent signals, allowing the market to calm down.
-
Equity protection – built-in equity control prevents opening new positions if drawdown exceeds a set level.
-
-
Flexible settings – you can adjust adaptive parameters or disable them, keeping only the core strategy.
-
Full MQL5 compatibility – uses modern trading classes, works correctly in Netting and Hedge environments.
Backtest Results
The advisor was tested on XAUUSD (gold) on the M1 timeframe over two years (2024–2026) with 99% history quality (real ticks). Using the recommended settings (see below), the following results were achieved:
-
Net profit: +35,205 USD (starting deposit 10,000 USD)
-
Profit Factor: 1.36
-
Maximum balance drawdown: 23.7%
-
Recovery factor: 3.61
-
Sharpe ratio: 2.51
These figures confirm the advisor's ability to steadily grow the deposit with controlled risks. Long losing streaks are smoothed by adaptive algorithms, and a solid percentage of winning trades (about 40% with an average profit/loss ratio of 1:2) ensures comfortable trading.
Recommended Default Settings
-
LotSize = 0.1 (base lot, adjust according to your deposit)
-
StopLoss = 4000 points, TakeProfit = 8000 points (1:2 ratio)
-
SMA_Period = 50, Deviation_Pips = 1000 – main operating range
-
UseSMA200_Filter = true – filter by higher trend direction
-
UsePivotFilter = true – H4 pivot level filter
-
UseEquityProtect = true, MaxRiskPercent = 2.0 – protection against excessive drawdown
-
UseDynamicLot = true, LossesToReduceLot = 5, WinsToRestoreLot = 3, LotDecreaseFactor = 0.5 – adaptive lot changes
-
UseSkipTrades = true, LossesToSkip = 7, SkipTradesCount = 2 – skip trades after a loss streak
-
Trailing stop is disabled by default (UseTrailingStop = false, UseAdaptiveTrailing = false) – it proved less effective on this instrument, but you can experiment with it at your own risk.
Who is this advisor for?
ShadowTrader_EA is suitable for traders who value automation but are not ready to rely entirely on a "black box." All key parameters are open for adjustment, and built-in adaptive mechanisms make trading safer. The advisor does not require constant presence at the terminal – just install it on a VPS and periodically monitor the results.
Requirements
-
MetaTrader 5 terminal (build 4000+)
-
Any forex broker providing XAUUSD quotes (can be reconfigured for other symbols)
-
Recommended minimum deposit: 2000 USD (for lot 0.01)
Purchasing ShadowTrader_EA gives you not just a piece of code but a well-thought-out trading solution with transparent logic and proven performance. Support and updates are included.
Sincerely, the developer.

