EA-21733 · Trend Following

Above Below MA

This EA trades based on price position relative to a Moving Average line. It enters long when price is above the MA and short when price is below the MA, following the trend direction indicated by the moving average.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsMA
Author—

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD+3.99%+3.46%4.17%14046.80%0.950.965+$3.12Reliable
GBPUSD-4.86%-4.24%7.97%14043.90%-0.82-0.617−$3.67Reliable
USDJPY-3.52%-3.06%8.48%14045.30%-0.69-0.417−$2.64Reliable
XAUUSD+33.36%+26.85%42.10%14848.30%0.780.797+$21.02Reliable

Profitable on 2 of 4 markets with reliable results.

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.

Against the other Trend Following EAs with a reliable result on the same market: EURUSD: better than 80% of 95 · GBPUSD: better than 16% of 95 · USDJPY: better than 24% of 95 · XAUUSD: better than 73% of 96

Month by month

MarketMonths with a gainBest monthWorst month
EURUSD38%+3.58% 2026-01-2.19% 2026-07
GBPUSD38%+1.61% 2026-03-1.93% 2026-07
USDJPY31%+5.32% 2026-01-3.34% 2026-08
XAUUSD54%+41.11% 2026-01-22.13% 2025-11

From the backtest equity curve, sampled about every two days; only reliable results.

Blow-up risk: No blow-up pattern found

None of the usual blow-up patterns were found in the code, 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 strategy is a trend-following type where the core concept uses a Moving Average as the trend determination benchmark. Entry conditions are going long when price breaks above and stays above the MA, and going short when price breaks below and stays below the MA. Exit conditions likely rely on price crossing back across the MA or fixed stop-loss/take-profit levels. Position sizing details cannot be determined from the filename alone, but it likely uses fixed lot sizes. Money management details are insufficient, as single-indicator strategies typically employ simple risk controls. The strategy's weakness is that it generates frequent false signals during ranging markets, leading to consecutive losses.

Strengths

  • Simple and intuitive logic, easy to understand and maintain
  • Captures directional profits well in trending markets
  • Single-indicator strategy with few parameters, less prone to overfitting

Weaknesses

  • Single MA signal leads to frequent losses in ranging markets
  • Lacks multi-timeframe confirmation, susceptible to false breakouts
  • Cannot confirm stop-loss mechanism, risk management may be insufficient

Possible improvements

  • Add multi-timeframe confirmation or ranging market filter mechanism
  • Incorporate ATR-based dynamic stop-loss/take-profit to adapt to market volatility
  • Add volume or other indicators as supplementary confirmation

Risk assessment

Overall risk: Medium

  • Single indicator strategy poses significant risk in ranging markets
  • Cannot confirm existence of stop-loss and position check mechanisms

Evaluation scores

Code quality2.0
Strategy logic2.0
Risk management2.0
Robustness2.0
Innovation1.0
Documentation1.0
Overall1.7

Parameters

ParameterDefaultDescription
MAPeriod20MA period
MATypeSMAMoving average type
LotSize0.1Trading lot size
StopLoss0Stop loss in points
TakeProfit0Take profit in points

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.