EA-14312 · Momentum

Exp_VolatilityQuality

This EA trades based on the Volatility Quality indicator, which identifies momentum shifts by analyzing price volatility patterns. It opens buy positions when the indicator transitions from bearish to bullish and sell positions when it transitions from bullish to bearish, 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
IndicatorsVolatilityQuality, LWMA, CXMA
Author—

Backtest results (H1, about 1 year)

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

Strategy analysis

This EA uses the Volatility Quality indicator as its core signal source, which calculates price volatility through various smoothing algorithms (supporting SMA, EMA, LWMA, JJMA, JurX, ParMA, T3, VIDYA, AMA) to identify directional shifts in market momentum. Entry conditions are: when indicator buffer 1 transitions from value 0 to value 1 (Col[1]==0 and Col[0]==1), a buy signal is generated; when it transitions from value 1 to value 0 (Col[1]==1 and Col[0]==0), a sell signal is generated. Exit conditions rely on fixed stop loss (default 1000 points) and take profit (default 2000 points), while also supporting signal-based position closing controlled by BuyPosClose and SellPosClose parameters. Position sizing leverages multiple money management modes from TradeAlgorithms.mqh, including free margin-based, balance-based, loss-adjusted free margin, loss-adjusted balance, or fixed lot sizing. The strategy operates by default on the H4 timeframe, uses the SignalBar parameter to control signal offset (default 1, meaning the previous bar), and employs the IsNewBar mechanism to ensure each bar is processed only once to prevent duplicate trades. Overall, this is a momentum-tracking system based on volatility quality assessment, capturing trend initiation and termination through changes in volatility characteristics.

Strengths

  • Uses IsNewBar mechanism to ensure each bar is processed only once, preventing duplicate trades within the same bar
  • Supports multiple smoothing algorithms and flexible parameter configuration for adapting to different market conditions
  • Provides independent toggle switches for buy/sell opening and closing, allowing flexible directional control
  • Signals based on closed bars (SignalBar=1), reducing signal repaint risk
  • Multi-mode money management covering fixed lot to dynamic margin calculation

Weaknesses

  • Fixed stop loss of 1000 points and take profit of 2000 points are not dynamically adjusted based on market volatility, potentially too wide in low-volatility environments
  • Lacks spread filtering, which may lead to unreasonable entries in high-spread conditions
  • Indicator signal relies on iCustom external custom indicator, reducing portability and transparency
  • No trailing stop or breakeven mechanism, profitable positions may retrace significantly before hitting TP or SL
  • No maximum position count or total risk exposure control, potentially over-allocating on consecutive signals

Possible improvements

  • Add ATR-based dynamic stop loss and take profit calculation to adapt risk control to market volatility changes
  • Add spread filtering and maximum position count limits to improve entry quality and overall risk management
  • Implement trailing stop and breakeven functionality to protect floating profits

Risk assessment

Overall risk: Medium

  • Lacks spread filter, widened spreads during high volatility periods may cause unfavorable entries
  • Fixed stop loss and take profit do not account for market volatility, may be insufficient or excessive during extreme market conditions
  • No maximum position limit, consecutive signals may lead to over-concentrated risk exposure

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
MMModeLOTMoney management mode (free margin/balance/fixed lots)
StopLoss_1000Stop loss in points
TakeProfit_2000Take profit in points
Deviation_10Maximum allowed slippage in points
BuyPosOpentrueAllow buy position opening
SellPosOpentrueAllow sell position opening
BuyPosClosetrueAllow buy position closing (close long on reverse signal)
SellPosClosetrueAllow sell position closing (close short on reverse signal)
InpInd_TimeframePERIOD_H4Timeframe for indicator calculation
XMA_MethodMODE_LWMASmoothing method (SMA/EMA/LWMA/JJMA)
XLength5Smoothing period length
XPhase15Smoothing phase parameter
Smoothing1Additional smoothing period
Filter5Signal filter threshold in points
PricePRICE_MEDIANApplied price type (close/median)
SignalBar1Signal bar index (0=current, 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.