EA-13554 · Trend Following

Exp_DigVariation

This EA trades based on the DigVariation custom indicator, which applies digital smoothing to a moving average. It opens buy positions when the smoothed value turns upward and sell positions when it turns downward, with configurable stop loss, take profit, and money management options.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Rating★★★☆☆
TypeTrading EA
TimeframesH4, H8, D1
IndicatorsDigVariation, Moving Average
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 a trend-following system based on the DigVariation indicator. The DigVariation indicator applies a digital smoothing algorithm (0-10 smoothness levels) to a moving average, reducing noise and identifying trend reversal points. Entry conditions: a buy position is opened when the indicator value turns from declining to rising (Value[0]>Value[1] and Value[1]<Value[2]); a sell position is opened when the indicator value turns from rising to declining (Value[0]<Value[1] and Value[1]>Value[2]). Exit conditions include fixed stop loss (1000 points) and take profit (2000 points), as well as closing on opposite signals. Position sizing supports five modes: fixed lot, balance-based proportion, equity-based proportion, etc. The strategy uses the IsNewBar mechanism to ensure signals are calculated only once per bar, preventing duplicate trades. Default stop loss of 1000 points and take profit of 2000 points yields a risk-reward ratio of 1:2, consistent with a medium-to-long-term trend-following style.

Strengths

  • Digital smoothing algorithm reduces market noise and improves signal quality
  • Multiple money management modes provide good flexibility
  • Stop loss to take profit ratio of 1:2 offers positive expectancy potential
  • IsNewBar mechanism prevents duplicate trades on the same bar
  • Independent control over buy/sell opening and closing allows flexible strategy configuration

Weaknesses

  • Default 1000-point stop loss is large and may cause significant losses in volatile markets
  • No spread filter, potentially generating unnecessary trades in high-spread conditions
  • No position count check, risk of repeated entries leading to overexposure
  • Depends on the custom DigVariation indicator; EA fails if indicator file is missing
  • Simple signal logic may generate frequent false signals in ranging markets

Possible improvements

  • Add a spread filter to avoid opening positions during high-spread conditions
  • Add maximum position count limit to prevent overexposure
  • Add a trend filter (e.g., higher timeframe MA direction) to reduce false signals in ranging markets

Risk assessment

Overall risk: Medium

  • Default 1000-point stop loss is large, potentially causing high per-trade losses
  • No position count check may lead to risk accumulation from repeated entries
  • No spread or volatility filter makes risk uncontrollable under extreme market conditions

Evaluation scores

Code quality3.0
Strategy logic3.0
Risk management2.0
Robustness3.0
Innovation2.0
Documentation1.0
Overall2.3

Parameters

ParameterDefaultDescription
MM0.1Money management ratio or fixed lot
MMModeLOTMM mode: Free margin/Balance/Free margin minus loss/Balance minus loss/Fixed lot
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage in points
BuyPosOpentrueAllow opening long positions
SellPosOpentrueAllow opening short positions
BuyPosClosetrueAllow closing long positions
SellPosClosetrueAllow closing short positions
InpInd_TimeframePERIOD_H8EMA-Crossover_Signal indicator timeframe
Period_12DigVariation indicator period
MA_Method_MODE_SMAMA type (SMA/EMA/SMMA/LWMA)
SmoothPowerdig_1Digital smoothing power level (0-10)
SignalBar1Bar index for signal calculation

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.