EA-320 · Momentum

Expert_AML_MFI

This EA uses the MFI (Market Facilitation Index) indicator smoothed by a Moving Average as a momentum signal filter within the MetaQuotes standard Expert Advisor framework. It opens and closes positions based on threshold values for the aggregated signal strength, with fixed lot sizing and no trailing stop. The strategy relies on a single custom signal filter (CML_MFI) to determine trade direction.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskCaution
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesM15, H1, H4
IndicatorsMFI, MA
AuthorMetaQuotes Software Corp.

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 strategy is based on the MFI (Market Facilitation Index) indicator, applying a Moving Average smoothing to identify momentum shifts in the market. Entry conditions trigger when the weighted signal value from the CML_MFI filter exceeds the open threshold (default 40), and exit conditions trigger when the signal falls below the close threshold (default 20). Position sizing uses a fixed lot approach (default 0.1 lots) without dynamic adjustment based on account equity. Money management employs the CMoneyFixedLot class with a percentage setting of 10%, though the percentage parameter is not effectively used in fixed-lot mode. The strategy has no stop loss or take profit configured (both set to 0.0), and no trailing stop is applied, meaning positions rely entirely on signal reversal for closure, which introduces significant risk. Pending orders have an expiration of 4 bars, after which they are automatically cancelled.

Strengths

  • Clear momentum strategy logic based on MFI indicator with MA smoothing helps reduce false signals
  • Uses MetaQuotes standard EA framework with well-structured code and high modularity
  • Adjustable signal thresholds with separate open/close thresholds provide flexible trade control

Weaknesses

  • No stop loss or take profit configured; positions rely entirely on signal reversal, which may lead to significant drawdowns
  • Relies on a single signal filter without multi-dimensional confirmation, lacking strategy robustness
  • Fixed lot sizing does not adjust dynamically based on market volatility or account risk, making money management overly simplistic

Possible improvements

  • Add stop loss and take profit settings to prevent excessive losses on individual trades
  • Add additional signal filters (e.g., trend or volatility filters) to improve signal reliability
  • Replace fixed lot sizing with dynamic position sizing based on ATR or account risk

Risk assessment

Overall risk: Caution

  • No stop loss or take profit configured, risking large single-trade losses
  • Single signal source may generate frequent false signals in ranging markets, leading to consecutive losses

Evaluation scores

Code quality4.0
Strategy logic2.0
Risk management1.0
Robustness2.0
Innovation2.0
Documentation3.0
Overall2.3

Parameters

ParameterDefaultDescription
Signal_ThresholdOpen40Entry signal threshold [0...100]
Signal_ThresholdClose20Exit signal threshold [0...100]
Signal_PriceLevel0.0Trade execution price level
Signal_StopLevel0.0Stop loss in points
Signal_TakeLevel0.0Take profit in points
Signal_Expiration4Pending order validity (bars)
Signal__PeriodMFI12MFI indicator period
Signal__PeriodMA4MFIsmoothingmoving average period
Signal__Weight1.0Signal filter weight [0...1.0]
Money_FixLot_Percent10.0Money management percentage
Money_FixLot_Lots0.1Fixed trading lot size

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.