EA-1459 · Momentum

Exp_MBKAsctrend3

This EA trades based on the MBKAsctrend3 custom indicator, which uses a weighted combination of three Williams Percent Range (WPR) indicators with different periods to generate buy and sell signals. It opens positions on signal bar crossovers and closes opposite positions when reversal signals appear, with configurable money management and stop-loss/take-profit levels.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsWPR (Williams Percent Range), MBKAsctrend3 (Custom Composite)
AuthorCopyright © 2011, Nikolay Kositsin

Backtest results (H1, about 1 year)

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

Strategy analysis

The strategy core is based on a weighted combination of three WPR indicators with different periods (9/33/77), calculating a composite momentum signal through weights (1.0/3.0/1.0) to determine trend direction. Entry conditions: a buy signal triggers when the indicator's upper buffer (UpValue) shows a non-zero, non-empty value on the specified signal bar; a sell signal triggers when the lower buffer (DnValue) shows such a value. Exit conditions include two types: first, closing opposite positions when a reversal signal appears (e.g., closing shorts when an upper signal emerges), and second, fixed-point stop-loss and take-profit levels. Position sizing is controlled by the MM parameter, where negative values represent fixed lot sizes and positive values represent deposit-proportional sizing. The EA also includes a historical lookback logic that searches backward through bars for the nearest closing signal when no direct close signal is received, determining whether existing positions should be liquidated. The strategy defaults to the H4 timeframe, classifying it as a medium-term momentum-following system.

Strengths

  • The multi-period WPR weighted combination effectively smooths noise from a single indicator, improving signal reliability
  • Flexible money management supporting both fixed lot size and deposit-proportional sizing adapts to different trading needs
  • Comprehensive buy/sell/close permission controls allow flexible configuration for long-only, short-only, or bidirectional trading
  • The IsNewBar mechanism prevents duplicate trades within the same bar, reducing overtrading risk

Weaknesses

  • The historical lookback closing logic (lines 155-181) iterates through all historical bars, potentially causing severe performance issues with large datasets
  • Default stop-loss of 1000 points and take-profit of 2000 points are excessively large and may be unsuitable for many instruments
  • Lacks spread filter and volatility filter, which may produce unfavorable trades in high-spread or low-volatility environments
  • Insufficient validation of the indicator handle; the EA continues running even if OnInit fails to obtain it

Possible improvements

  • Add a maximum lookback bar limit to the historical closing logic to avoid performance degradation
  • Add spread filter and ATR volatility filter to prevent opening positions under unfavorable market conditions
  • Return INIT_FAILED in OnInit when the indicator handle cannot be obtained instead of continuing to run

Risk assessment

Overall risk: Medium

  • The EA does not stop running when the indicator handle fails to initialize, potentially executing trading logic without valid signals
  • The unlimited historical lookback iteration could traverse tens of thousands of bars in extreme cases, blocking the trading thread
  • No spread check means slippage in illiquid markets could far exceed expectations

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation3.0
Documentation2.0
Overall2.5

Parameters

ParameterDefaultDescription
MM-0.1Trade share; negative=fixed lots, positive=deposit percentage
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum price slippage deviation in points
BuyPosOpentrueAllow buy position open
SellPosOpentrueAllow sell position open
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
InpInd_TimeframePERIOD_H4MBKAsctrend3 indicator timeframe
WPRLength19WPR1 indicator period
WPRLength233WPR2 indicator period
WPRLength377WPR3 indicator period
Swing3Swing parameter
AverSwing-5Average swing parameter
W11.0WPR1 indicator weight
W23.0WPR2 indicator weight
W31.0WPR3 indicator weight
SignalBar1Entry signal bar index

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.