EA-14375 · Trend Following

Exp_LeManTrendHist

This EA trades based on the LeManTrendHist custom indicator, which is a trend-following histogram that compares three smoothed moving average periods (13, 21, 34) to determine trend direction. It opens buy positions when the histogram values rise (Value[0] > Value[1]) and sell positions when they fall (Value[0] < Value[1]), with configurable stop-loss and take-profit levels. The EA includes independent toggles for opening and closing positions on both the buy and sell sides.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsLeManTrendHist, JJMA, EMA
Author—

Backtest results (H1, about 1 year)

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

Strategy analysis

The strategy concept is based on the LeManTrendHist histogram indicator, which integrates three smoothed moving averages of different periods (13, 21, 34) and applies additional EMA smoothing with a user-selectable smoothing algorithm (JJMA, JurX, ParMA, T3, VIDYA, AMA, etc.) to generate trend signals. Entry conditions are: a buy position opens when the histogram's previous value is less than the one before that (Value[1]<Value[2]) and the current value exceeds the previous value (Value[0]>Value[1]), indicating an upward trend shift; a sell position opens under the opposite conditions. Exit conditions include fixed stop-loss (1000 points) and take-profit (2000 points) settings, plus reverse signal closures where a buy signal closes sell positions and vice versa. Position sizing supports multiple modes including free margin-based, balance-based, loss-free-margin-based, loss-balance-based proportional calculations, and a fixed lot mode. Money management is controlled by the MM parameter (default 0.1), which combined with the 1000-point stop-loss and 2000-point take-profit constrains per-trade risk. The strategy uses the SignalBar parameter (default 1) to determine which bar to evaluate signals on, avoiding signal repainting from unclosed bars.

Strengths

  • Uses Fibonacci-based moving average periods (13/21/34) for trend detection, providing logical trend-following structure
  • Offers multiple smoothing algorithm options (JJMA, JurX, ParMA, T3, VIDYA, AMA) for adaptability to different market conditions
  • Independent toggles for buy/sell opening and closing provide high flexibility for directional bias trading
  • Default SignalBar=1 uses closed bars for signal evaluation, avoiding repainting issues
  • Complete stop-loss and take-profit configuration with slippage control parameter

Weaknesses

  • The 1000-point stop-loss and 2000-point take-profit are extremely wide on H4 timeframe, potentially leading to large per-trade losses
  • No trailing stop functionality means profitable positions may give back significant gains during reversals
  • No check for existing same-direction positions, which could lead to duplicate position opening
  • Depends on an external custom indicator LeManTrendHist, increasing deployment complexity and dependency risk
  • No trading session/time filter, which may result in unfavorable fills during low-liquidity periods

Possible improvements

  • Add same-direction position checking logic to prevent duplicate entries and overleveraging
  • Add trailing stop functionality and trading session filters to improve profit protection and execution quality

Risk assessment

Overall risk: Medium

  • The 1000-point stop-loss on H4 carries significant per-trade risk if position sizing is not carefully managed
  • No existing position check creates risk of duplicate entries and excessive leverage
  • Dependency on external indicator file causes initialization failure but not financial loss

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management3.0
Robustness2.0
Innovation3.0
Documentation1.0
Overall2.5

Parameters

ParameterDefaultDescription
MM0.1Money management ratio or lots
MMModeLOTLot calculation mode (fixed lots/capital ratio)
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum slippage deviation
BuyPosOpentrueAllow buy position opening
SellPosOpentrueAllow sell position opening
BuyPosClosetrueAllow buy position closing
SellPosClosetrueAllow sell position closing
InpInd_TimeframePERIOD_H4Indicator timeframe
Min13Short period MA parameter
Midle21Middle period MA parameter
Max34Long period MA parameter
PeriodEMA3Signal EMA smoothing period
XMethodMODE_JJMAIndicator smoothing algorithm type
XLength5Smoothing algorithm length parameter
XPhase100Smoothing algorithm phase parameter
SignalBar1Signal calculation bar index

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.