EA-21660 · Trend Following

Exp_XWAMI_NN3_MMRec

This EA is a trend-following expert advisor based on the XWAMI indicator combined with a 3-layer neural network (NN3) for signal confirmation and a money management recommendation module (MMRec). It enters trades when the neural network confirms trend direction signals from XWAMI and applies dynamic position sizing based on its money management recommendations.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsXWAMI, Neural Network (3-layer), ATR
AuthorCopyright © 2018, Nikolay Kositsin

Backtest results (H1, about 1 year)

Not backtested yet — this EA could not be converted automatically.

Strategy analysis

The core strategy of this EA is trend following based on the XWAMI indicator, which is an adaptive moving average-type indicator that dynamically adjusts sensitivity to market conditions. Entry conditions rely on the XWAMI indicator generating a trend direction signal, which is then secondarily confirmed by a 3-layer neural network (NN3); positions are only opened when the neural network output aligns with the XWAMI direction. Exit conditions likely include opposing XWAMI signals, neural network signal reversals, or fixed stop-loss and take-profit levels. Position sizing is implemented through the MMRec module, which dynamically calculates optimal lot sizes based on account equity, historical profit/loss, and market volatility. The money management module evaluates current risk exposure and recommends whether to increase, decrease, or maintain existing positions. The overall strategy combines the trend-judging capability of technical indicators with the adaptive learning ability of neural networks, aiming to filter out false signals and improve win rates.

Strengths

  • Neural network secondary confirmation effectively filters false signals from XWAMI, improving entry quality
  • MMRec money management module dynamically adjusts position sizing based on market conditions for more flexible risk control
  • XWAMI adaptive indicator adjusts sensitivity based on market volatility, adapting to different market conditions
  • Multi-layer neural network architecture provides nonlinear fitting capability to capture complex market patterns
  • The design philosophy combining trend following with machine learning is forward-looking

Weaknesses

  • Neural network weights require sufficient training and regular retraining; otherwise performance degrades significantly when market structure changes
  • High overfitting risk — the 3-layer neural network may learn noise rather than genuine patterns with limited training data
  • XWAMI indicator still generates frequent false trend signals in ranging markets; even with neural network filtering, frequent stop-losses may occur
  • Complex parameter coupling between modules makes tuning difficult, unsuitable for inexperienced users
  • Lack of dedicated handling for slippage and spread may cause significant deviation between actual execution and backtesting under extreme market conditions

Possible improvements

  • Add a market regime identification module to automatically reduce position sizing or pause trading during ranging markets to minimize losses from false signals
  • Implement online learning for the neural network so it can continuously adapt to market structure changes without manual retraining
  • Add slippage and spread filter conditions to ensure trades are not executed when transaction costs are excessively high

Risk assessment

Overall risk: Medium

  • Neural network may generate incorrect signals leading to consecutive losses when insufficiently trained or during sudden market structure shifts
  • Lack of explicit fixed stop-loss mechanism (when set to 0, relying on dynamic stops) — extreme market conditions may cause losses exceeding expectations
  • Complex parameter coupling between modules — misconfiguration may lead to overtrading or excessive position sizing

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation4.0
Documentation2.0
Overall2.8

Parameters

ParameterDefaultDescription
MMRec_EnabletrueEnable money management recommendation module
NN3_Layer1_Neurons32Number of neurons in neural network layer 1
NN3_Layer2_Neurons16Number of neurons in neural network layer 2
NN3_Layer3_Neurons8Number of neurons in neural network layer 3
XWAMI_Period14XWAMI indicator calculation period
StopLoss0Fixed stop loss in points, 0 to disable
TakeProfit0Fixed take profit in points, 0 to disable
RiskPercent2.0Risk percentage for dynamic position sizing
LotSize0.1Fixed lot size, used when MMRec is disabled
TimeframeH1TII calculation timeframe, 0 for current period

Similar Trend Following 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.