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
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 | — | — | — | — | — | Conversion problem |
| GBPUSD | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Conversion problem |
| USDJPY | 0.00% | 0.00% | 0.00% | 0 | — | — | — | — | — | Conversion problem |
| XAUUSD | 0.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
Parameters
| Parameter | Default | Description |
|---|---|---|
AML_Period | 10 | AML indicator period |
RSI_Period | 14 | RSI indicator period |
RSI_BuyLevel | 30 | RSI buy threshold (oversold rebound) |
RSI_SellLevel | 70 | RSI sell threshold (overbought reversal) |
LotSize | 0.1 | Fixed trading lot size |
StopLoss | 0 | Stop loss distance (price units) |
TakeProfit | 0 | Take profit distance (price units) |
MagicNumber | 12345 | EA magic number for identifying orders |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.