EA-323 · Momentum

Expert_AMS_ES_MFI

This EA uses the MFI (Market Facilitation Index) indicator smoothed by a Moving Average as its core signal filter within the MQL5 Standard Library Expert framework. It opens and closes positions based on threshold-crossing signals from the CMS_ES_MFI filter, with fixed lot sizing and no trailing stop. The strategy relies on momentum shifts detected by the MFI-MA combination to generate trade decisions.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskHigh risk
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

The strategy concept is based on the relationship between the Market Facilitation Index (MFI) and its Moving Average to detect momentum shifts in the market. Entry conditions trigger when the CMS_ES_MFI filter signal 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 with a default of 0.1 lots, without dynamic adjustment based on account equity. Money management employs the MoneyFixedLot module with a 10% percent parameter, but effectively trades with a fixed lot size. Exit conditions rely solely on the signal threshold for closing positions, with no stop loss or take profit levels configured, and no trailing stop is applied. Pending orders expire after 4 bars, and the overall strategy lacks proactive risk control mechanisms such as stop losses or trailing protection.

Strengths

  • Built on the MQL5 Standard Library Expert framework with clean, well-structured code that is easy to maintain and extend
  • Uses MFI momentum indicator smoothed by MA, which effectively filters short-term noise signals
  • Separate open and close threshold design allows flexible control over entry and exit sensitivity

Weaknesses

  • No stop loss or take profit levels configured, presenting a serious capital safety risk
  • Fixed lot sizing lacks adaptive position adjustment, unable to optimize risk based on market volatility
  • No trailing stop mechanism means profitable positions cannot lock in gains, potentially leading to significant drawdowns
  • Uses only a single signal filter without multi-dimensional confirmation, prone to false signals

Possible improvements

  • Add stop loss and take profit parameters to set hard risk boundaries for every trade
  • Introduce multi-timeframe confirmation or additional indicator filters to reduce losses from false signals
  • Replace fixed lot sizing with dynamic position management based on ATR or account risk percentage

Risk assessment

Overall risk: High risk

  • Stop loss and take profit are both zero, exposing trades to unlimited loss risk
  • No trailing stop to protect unrealized gains, profits can easily turn into losses
  • Single signal filter lacks reliability without multi-confirmation mechanisms

Evaluation scores

Code quality4.0
Strategy logic2.0
Risk management1.0
Robustness2.0
Innovation2.0
Documentation2.0
Overall2.2

Parameters

ParameterDefaultDescription
Signal_ThresholdOpen40Entry signal threshold [0...100]
Signal_ThresholdClose20Exit signal threshold [0...100]
Signal_PriceLevel0.0Trade execution price level
Signal_StopLevel0.0Stop loss level in points
Signal_TakeLevel0.0Take profit level in points
Signal_Expiration4Pending order validity (bars)
Signal__PeriodMFI49MFI indicator period
Signal__PeriodMA5MAsmoothing 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.