EA-14951 · Momentum

Exp_RSI_Histogram

This EA trades based on the RSI Histogram custom indicator, opening buy positions when the histogram crosses above the low level zone and sell positions when it crosses below the high level zone. It uses configurable money management modes, fixed stop loss and take profit, and processes signals on new bar formation to avoid redundant trading.

Open the interactive view (equity curve, symbol switch)

Key facts

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

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 momentum trading based on the RSI Histogram custom indicator. Entry conditions are: when indicator buffer 2 equals 0 (RSI in low zone) and buffer 0 is greater than 0, a buy signal is generated; when buffer 2 equals 2 (RSI in high zone) and buffer 0 is less than 2, a sell signal is generated. Exit conditions are triggered by opposing signals — a long position is closed when a sell signal appears, and a short position is closed when a buy signal appears. Position sizing supports five modes: based on free margin, balance, loss-adjusted free margin, loss-adjusted balance, and fixed lot size. Stop loss and take profit use fixed point values of 1000 and 2000 points respectively. Signal processing only executes on new bar formation or initial load, preventing duplicate entries within the same bar.

Strengths

  • Uses closed bar signal (SignalBar=1) to avoid repaint issues, making signals more reliable
  • Supports five money management modes offering flexibility for different risk preferences
  • New bar detection prevents duplicate entries within the same bar, reducing overtrading
  • Independent buy/sell switches for opening and closing provide granular strategy control
  • Stop loss to take profit ratio of 1:2 provides a positive expectancy risk management structure

Weaknesses

  • Depends on custom RSI_Histogram indicator which must be installed separately and is not in the standard library
  • Fixed stop loss of 1000 points and take profit of 2000 points do not adapt to market volatility (e.g. ATR)
  • No spread filter which may lead to unfavorable entries in high-spread environments
  • Lacks position existence check which may cause duplicate entries in the same direction
  • Indicator handle failure only prints a log but EA continues running, potentially trading without signals

Possible improvements

  • Add ATR-based dynamic stop loss and take profit to automatically adjust distances based on market volatility
  • Add position existence check to prevent duplicate entries in the same direction
  • Return INIT_FAILED in OnInit when indicator handle is invalid to stop EA execution instead of continuing

Risk assessment

Overall risk: Medium

  • EA does not stop running when indicator handle fails, potentially executing without signals
  • No position existence check creates risk of duplicate entries in the same direction
  • Fixed stop loss does not account for market volatility — too wide in low volatility, too tight in high volatility

Evaluation scores

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

Parameters

ParameterDefaultDescription
MM0.1Money management parameter controlling risk percentage per trade or fixed lot size
MMModeLOTLot calculation mode: free margin, balance, loss-adjusted free margin, loss-adjusted balance, or fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage in points
BuyPosOpentrueAllow opening buy positions
SellPosOpentrueAllow opening sell positions
BuyPosClosetrueAllow closing buy positions
SellPosClosetrueAllow closing sell positions
InpInd_TimeframePERIOD_H4Timeframe for indicator calculation
RSIPeriod14RSI indicator period
RSIPricePRICE_CLOSEPrice type used for RSI calculation
HighLevel60RSI high threshold for overbought zone detection
LowLevel40RSI low threshold for oversold zone detection
SignalBar1Bar index for signal retrieval; 0=current bar, 1=last closed 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.