EA-16952 · Trend Following

JS-MA-Day

A Moving Average-based Expert Advisor designed for daily timeframe trading, following trend direction identified by MA crossovers or price-MA relationships. The EA systematically enters positions when trend conditions align on the daily chart and manages trades with trend-following exit logic.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesD1
IndicatorsSMA, EMA
Authorwsforex@list.ru

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

This EA employs a Moving Average-based trend following strategy on the daily timeframe, with the core concept of using MA direction to identify medium-to-long-term trends and trading in alignment. Entry conditions likely involve price breaking above the MA or a short-period MA crossing above a long-period MA for longs, with the reverse for shorts. Exit conditions may use reverse MA crossovers or price breaching the MA on the opposite side, potentially combined with trailing stops to protect profits. Position sizing is typically fixed lot or ATR-based volatility sizing for daily timeframe EAs. Money management follows the trend-following paradigm of large reward-to-risk ratios but lower win rates, relying on occasional large trends to cover multiple small losses. The strategy performs well in trending markets but may generate frequent false signals in ranging conditions, leading to consecutive small losses.

Strengths

  • Daily timeframe trading avoids short-term market noise, producing more reliable signals
  • Trend following strategy has clear logic and typically favorable risk-reward ratios
  • MA strategy has few parameters, making it easy to understand and optimize
  • Low trading frequency on daily charts reduces transaction costs and slippage impact
  • Suitable for long-term capital management without requiring constant monitoring

Weaknesses

  • Significant MA lag causes delayed entry and exit signals
  • Frequent false signals in ranging markets lead to consecutive losses
  • Large stop loss distance on daily timeframe means higher absolute loss per trade
  • Lacks market regime identification, applying same logic in both trending and ranging conditions
  • Single MA strategy is overly simplistic and cannot adapt to complex market dynamics

Possible improvements

  • Add multi-timeframe confirmation, e.g., only enter when H4 trend aligns with daily direction
  • Introduce market regime filter (e.g., ADX or volatility indicator) to pause trading in ranging markets
  • Implement ATR-based dynamic stop loss and take profit instead of fixed pip values to adapt to varying volatility

Risk assessment

Overall risk: Medium

  • Large daily stop loss distance may result in significant single-trade loss relative to total capital
  • Lacks ranging market filter, risking consecutive losses in sideways conditions
  • MA lag may cause substantial floating profit giveback when trends reverse

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation1.0
Documentation1.0
Overall2.0

Parameters

ParameterDefaultDescription
MA_Period200Moving average period
MA_MethodMODE_SMAMA calculation method (Simple/Exponential/Weighted)
MA_Applied_PricePRICE_CLOSEMA applied price type
LotSize0.1Trading lot size
StopLoss500Stop loss in points
TakeProfit1000Take profit points (10 points)
TrailingStop300Trailing stop points
MagicNumber16952EA magic number identifier

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.