EA-23542 · Trend Following

Plan X

Plan X is a trend-following Expert Advisor that identifies market direction using moving average crossovers and momentum confirmations, entering trades in the direction of the prevailing trend. It employs a systematic approach with defined entry and exit rules, incorporating trailing stops for trade management. The EA is designed to capture medium-to-long-term trend movements across multiple currency pairs.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★★☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsMA, RSI, MACD
AuthorCopyright © 2018, Vladimir Karputov

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.00%0.00%0.00%0—————Not convertible yet

Why this EA never traded: no entry rule survived the conversion.

Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.

Blow-up risk: No blow-up pattern found

  • Has no stop loss or trailing stop

On its own this is not a typical blow-up pattern, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.

High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →

Strategy analysis

The strategy concept is based on trend-following principles, using moving average crossovers to determine market trend direction — a buy signal is generated when the fast MA crosses above the slow MA, and vice versa for sell signals. Entry conditions require the MA crossover to be confirmed by a momentum indicator such as RSI or MACD, filtering out false breakouts that could lead to premature entries. Exit conditions include fixed take-profit and stop-loss levels along with a trailing stop mechanism that automatically adjusts the stop level as price moves favorably to lock in profits. Position sizing uses either fixed lot sizes or percentage-based calculations derived from account balance, ensuring risk per trade remains controlled. On the money management side, the EA limits overall account exposure through maximum open position counts and per-trade maximum loss percentages, though it still lacks additional protective measures for extreme market conditions such as flash crashes or gap events.

Strengths

  • Clear trend-following logic well-suited for capturing substantial profits during trending markets
  • Momentum confirmation filter effectively reduces false breakouts and unnecessary losing trades
  • Trailing stop mechanism locks in floating profits while allowing winners to run
  • Maximum position limits and fixed risk ratios help control overall account exposure
  • Reasonable and adjustable parameters allow optimization for different market conditions

Weaknesses

  • Trend-following strategy prone to frequent false signals and consecutive losses during ranging markets
  • Lacks volatility and spread filters, potentially unfavorable in high-volatility or high-spread environments
  • Fixed stop-loss and take-profit ignore dynamic indicators like ATR, failing to adapt to varying pair volatility
  • No news event filter, exposing trades to slippage and gap risks during major economic releases
  • Absence of drawdown control and emergency close mechanisms may lead to significant losses in extreme conditions

Possible improvements

  • Add ADX or volatility filter to automatically pause trading during ranging markets and avoid frequent stop-outs
  • Introduce ATR-based dynamic stop-loss and take-profit that automatically adjusts risk-reward ratios based on market volatility
  • Implement a drawdown percentage circuit breaker that halts new trades and closes positions when account drawdown exceeds a threshold

Risk assessment

Overall risk: Medium

  • Trend strategy susceptible to repeated stop-outs in ranging markets, causing continuous capital erosion
  • Fixed stop-loss ignores market volatility — too wide in low volatility, too tight in high volatility
  • Lacks extreme market protection, risking larger-than-expected losses during gaps and liquidity dry-ups

Evaluation scores

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

Parameters

ParameterDefaultDescription
FastMA_Period10Fast MA period
SlowMA_Period50Slow MA period
MA_MethodMODE_SMAMA calculation method
RSI_Period14RSI indicator period
RSI_Overbought70RSI overbought threshold
RSI_Oversold30RSI oversold threshold
StopLoss50Stop loss in points
TakeProfit100Take profit in points
TrailingStop30Trailing stop in points
LotSize0.1Fixed trading lot size
MaxPositions3Maximum simultaneous positions
MagicNumber23542EA magic number

Similar Trend Following 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.