EA-321 · Momentum

expert_aml_rsi

This EA combines an AML (Asymmetric Least Squares Moving Least-squares) indicator with RSI to generate momentum-based trading signals. It enters long positions when AML signals an uptrend and RSI confirms momentum, and enters short positions under the opposite conditions. The EA applies fixed lot sizing and uses AML crossovers along with RSI thresholds for entry and exit decisions.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskHigh risk
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsAML, RSI
AuthorMetaQuotes Software Corp.

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Conversion problem
GBPUSD0.00%0.00%0.00%0—————Conversion problem
USDJPY0.00%0.00%0.00%0—————Conversion problem
XAUUSD0.00%0.00%0.00%0—————Conversion problem

Why this EA never traded: the entry waits for a crossing that cannot happen (for example a price-based indicator crossing zero).

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

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

The strategy concept combines an Asymmetric Least Squares Moving Line (AML) as a trend direction filter with RSI as a momentum confirmation indicator. Entry conditions: for long positions, the AML line crosses upward and RSI confirms momentum by recovering from oversold levels or exceeding a threshold; for short positions, the AML line crosses downward and RSI declines from overbought levels or drops below a threshold. Exit conditions typically rely on AML reverse crossover signals or RSI reaching extreme zones, with some versions potentially including fixed stop-loss and take-profit levels. Position sizing uses a fixed lot approach without dynamic adjustment based on account equity or risk percentage. Money management lacks advanced risk controls such as maximum drawdown limits, position reduction after consecutive losses, or equity-based scaling. The overall strategy logic is clear, combining trend following with momentum confirmation, but risk management and position sizing are relatively simplistic.

Strengths

  • Dual indicator combination (AML+RSI) provides double confirmation of trend and momentum, reducing false signals
  • Strategy logic is clean and straightforward, easy to understand and optimize parameters
  • AML indicator has good noise-smoothing properties, capturing trend reversals more accurately

Weaknesses

  • Fixed lot sizing lacks dynamic position management, unable to adjust risk exposure based on market volatility
  • Default stop-loss and take-profit are zero, posing significant risk of trading without protective stops
  • Lacks money management mechanisms such as consecutive loss protection or maximum drawdown limits

Possible improvements

  • Add dynamic position sizing based on ATR or account risk percentage to automatically adjust lot size
  • Implement mandatory stop-loss mechanism and maximum drawdown protection to ensure every trade has a risk cap

Risk assessment

Overall risk: High risk

  • Default stop-loss and take-profit are zero, potentially leading to unlimited loss on a single trade
  • No maximum drawdown protection or consecutive loss detection mechanism
  • Fixed lot size ignores account size and volatility, risking uncontrolled exposure in extreme market conditions

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management1.0
Robustness2.0
Innovation3.0
Documentation2.0
Overall2.3

Parameters

ParameterDefaultDescription
AML_Period10AML indicator period
RSI_Period14RSI indicator period
RSI_BuyLevel30RSI buy threshold (oversold rebound)
RSI_SellLevel70RSI sell threshold (overbought reversal)
LotSize0.1Fixed trading lot size
StopLoss0Stop loss distance (price units)
TakeProfit0Take profit distance (price units)
MagicNumber12345EA magic number for identifying orders

Similar Momentum 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.