EA-13962 · Momentum

Exp_XKRI_Histogram

This EA trades based on the XKRI_Histogram custom indicator, opening buy positions when the histogram rises and sell positions when it falls. It uses configurable money management, fixed stop-loss and take-profit, and provides separate toggles for opening and closing positions on both sides. Signal generation occurs on new bar formation with a one-bar signal delay by default.

Open the interactive view (equity curve, symbol switch)

Key facts

CategoryMomentum
RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsXKRI_Histogram, JJMA, SMA, EMA
Author—

Backtest results (H1, about 1 year)

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

Strategy analysis

The EA's core strategy trades on momentum changes detected by the XKRI_Histogram indicator. Entry conditions: a buy is opened when the histogram value rises from a prior decline (Value[0]>Value[1] and Value[1]<Value[2]), and a sell is opened when the histogram value falls from a prior rise (Value[0]<Value[1] and Value[1]>Value[2]). Exit conditions rely on fixed stop-loss (default 1000 points) and take-profit (default 2000 points), with optional signal-based position closing via BuyPosClose and SellPosClose toggles. Position sizing supports five modes: free margin percentage, balance percentage, net free margin percentage, net balance percentage, and fixed lot size. Money management is controlled by the MM parameter with a default risk ratio of 0.1. The indicator itself combines KRI period, MA smoothing method, and XMA smoothing algorithm with multiple configurable parameters. Signal generation triggers only on new bar formation by default, avoiding redundant per-tick computation, though setting SignalBar=0 enables tick-level signal evaluation.

Strengths

  • Clear strategy logic based on momentum direction changes, simple and straightforward
  • Independent buy/sell open and close toggles provide flexible control over trade direction and exit method
  • Five position sizing modes offer rich and configurable money management options
  • Default new-bar signal triggering avoids per-tick redundant computation, improving execution efficiency
  • Configurable stop-loss and take-profit with default TP at 2x SL ratio, exhibiting positive expectancy characteristics

Weaknesses

  • Default 1000-point stop-loss is large, potentially incurring significant single-trade losses in volatile markets
  • No trailing stop or breakeven functionality, which may miss opportunities to lock in floating profits
  • No check for existing same-direction positions, potentially causing duplicate entries and position stacking
  • No spread filter mechanism, entry costs may be excessive in high-spread environments
  • SignalBar=0 triggers signal evaluation on every tick, inconsistent with the default new-bar logic and prone to misuse

Possible improvements

  • Add same-direction position check logic to prevent duplicate entries and excessive position stacking
  • Implement trailing stop or breakeven functionality to better protect floating profits and optimize exit strategy

Risk assessment

Overall risk: Medium

  • Default 1000-point stop-loss is large, single-trade loss can be significant
  • No same-direction position check, risk of position stacking from duplicate entries
  • No spread filter, trading costs are uncontrolled in high-spread environments

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness3.0
Innovation2.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Money management ratio controlling lot size
MMModeLOTPosition mode: fixed lot or margin percentage
StopLoss_1000Stop loss in pips
TakeProfit_2000Take profit in pips
Deviation_10Maximum allowed slippage
BuyPosOpentrueAllow opening long positions
SellPosOpentrueAllow opening short positions
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
InpInd_TimeframePERIOD_H4Indicator timeframe
KRIPeriod20KRI indicator period
MA_Method_MODE_SMAMA smoothing method for KRI indicator
Ratio1.0KRI indicator ratio parameter
IPCPRICE_CLOSE_Price type: close/open/high/low/median/typical/weighted
XMA_MethodMODE_JJMAXMA smoothing algorithm: SMA/EMA/SMMA/LWMA/JJMA/JurX/ParMA/T3/VIDYA/AMA
XLength7XMA smoothing depth/period
XPhase15XMA smoothing phase parameter
SignalBar1Signal confirmation 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.