EA-14890 · Momentum

Exp_Extrem_N

This EA trades based on the Extrem_N custom indicator, which identifies market extremums (peaks and troughs). It opens buy positions when an up-signal appears after a down-signal and sell positions when a down-signal appears after an up-signal, with configurable stop loss and take profit levels.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsExtrem_N
Author—

Backtest results (H1, about 1 year)

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

Strategy analysis

This EA uses the Extrem_N custom indicator to identify market extremum points as trading signals. Entry conditions: a buy position is opened when the indicator's upper buffer shows a non-zero value on the signal bar and the previous bar had a down signal; a sell position is opened when the lower buffer shows a non-zero value and the previous bar had an up signal. Exit conditions are implemented through fixed stop loss (1000 points) and take profit (2000 points), with additional support for closing positions on reverse signals. Position sizing supports five modes: by free margin percentage, by balance percentage, by free margin after loss, by balance after loss, and fixed lot size. Money management is controlled by the MM parameter with a default of 0.1 lots in fixed lot mode. The strategy employs a new bar detection mechanism to avoid repeated trades on the same bar and uses a history loading function to ensure data completeness.

Strengths

  • Clear strategy logic based on extremum reversal signals with well-defined entry and exit rules
  • Five position sizing modes available, flexible for different risk preferences
  • Independent control over buy/sell opening and closing provides fine-grained trade management
  • New bar detection mechanism prevents duplicate trades on the same candle, reducing overtrading risk
  • Stop loss to take profit ratio of 2:1 offers potential positive expectancy

Weaknesses

  • Depends on custom indicator Extrem_N whose internal logic is opaque, making signal quality unverifiable independently
  • Stop loss of 1000 and take profit of 2000 points are large and may not suit all instruments and volatility environments
  • No spread filter or trading session filter, may open positions under unfavorable conditions
  • No position count check, may repeatedly open positions on different signals
  • Indicator handle creation failure only prints a warning but EA continues running, potentially trading without signals

Possible improvements

  • Add position count checks to prevent repeated same-direction entries causing concentrated risk
  • Add spread filter and trading session restrictions to avoid entering under unfavorable conditions
  • Return INIT_FAILED in OnInit when indicator handle creation fails instead of continuing to run
  • Implement dynamic stop loss and take profit based on ATR or volatility rather than fixed point values

Risk assessment

Overall risk: Medium

  • EA continues running when indicator handle creation fails but cannot obtain signals, potentially causing abnormal behavior
  • No position count limit, may accumulate excessive positions on multiple signals
  • Fixed stop loss of 1000 points is large and may cause significant losses with high leverage
  • No spread filter, may execute trades even when spreads widen

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation2.0
Documentation1.0
Overall2.3

Parameters

ParameterDefaultDescription
MM0.1Money management ratio or lot size
MMModeLOTPosition sizing mode: Free margin/Balance/Net margin/Net balance/Fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage
BuyPosOpentrueAllow opening long positions
SellPosOpentrueAllow opening short positions
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
InpInd_TimeframePERIOD_H4Indicator calculation period
iPeriod9Extrem_N indicator period parameter
SignalBar1Signal detection bar index (0 = current bar)

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.