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
Backtest results (H1, about 1 year)
| Symbol | P&L | Annual | Max DD | Trades | Win rate | Sharpe | Recovery | Losing streak | Per trade | Status |
|---|---|---|---|---|---|---|---|---|---|---|
| EURUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Not convertible yet |
| XAUUSD | 0.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
Parameters
| Parameter | Default | Description |
|---|---|---|
Signal_ThresholdOpen | 40 | Entry signal threshold [0...100] |
Signal_ThresholdClose | 20 | Exit signal threshold [0...100] |
Signal_PriceLevel | 0.0 | Trade execution price level |
Signal_StopLevel | 0.0 | Stop loss in points |
Signal_TakeLevel | 0.0 | Take profit in points |
Signal_Expiration | 4 | Pending order validity (bars) |
Signal__PeriodMFI | 12 | MFI indicator period |
Signal__PeriodMA | 4 | MFIsmoothingmoving average period |
Signal__Weight | 1.0 | Signal filter weight [0...1.0] |
Money_FixLot_Percent | 10.0 | Money management percentage |
Money_FixLot_Lots | 0.1 | Fixed trading lot size |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.