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
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
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
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 level in points |
Signal_TakeLevel | 0.0 | Take profit level in points |
Signal_Expiration | 4 | Pending order validity (bars) |
Signal__PeriodMFI | 49 | MFI indicator period |
Signal__PeriodMA | 5 | MAsmoothing 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.