Exp_Ergodic_Ticks_Volume_Indicator
This EA trades based on the Ergodic Ticks Volume Indicator, which is a momentum oscillator derived from tick volume data smoothed through multiple averaging layers. It opens buy positions when the indicator line crosses above the signal line and sell positions when it crosses below, with configurable position closing on signal reversals.
Open the interactive view (equity curve, symbol switch)Key facts
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 Ergodic Ticks Volume Indicator, a momentum oscillator constructed from tick volume data processed through six smoothing layers (XLength1-XLength6), similar to MACD but volume-based rather than price-based. Entry conditions: a buy position opens when the indicator line (Ind) crosses above the signal line (Sign), and a sell position opens when the indicator line crosses below the signal line, triggered only on new bars or the bar specified by SignalBar. Exit conditions include closing buy positions when the indicator drops below the signal line and closing sell positions when the indicator rises above the signal line, with configurable fixed stop-loss (StopLoss_=1000) and take-profit (TakeProfit_=2000). Position sizing is controlled by the MM parameter (default 0.1) with multiple money management modes (MMMode) including free margin-based, balance-based, loss-adjusted margin-based, and fixed lot sizing. Money management relies on BuyPositionOpen and SellPositionOpen functions from TradeAlgorithms.mqh, with deviation control (Deviation_=10) to manage slippage risk. The strategy uses a new bar detection mechanism (IsNewBar) to avoid duplicate signals, but lacks position count checks, spread filters, and trailing stop mechanisms.
Strengths
- Volume-based momentum indicator provides deeper market insight than pure price indicators
- Six-layer smoothing architecture with multiple smoothing algorithm choices offers high adaptability
- Buy/sell open and close can be independently controlled, providing flexibility for long-only or short-only strategies
- New bar detection mechanism prevents duplicate trades on the same bar
- Multiple money management modes suit traders with different risk preferences
Weaknesses
- No position count check, may open duplicate positions in the same direction when one already exists
- No spread filter, signals may be distorted in high-spread environments leading to unfavorable fills
- Stop-loss and take-profit are fixed pip values, not dynamically adjusted based on market volatility (e.g., ATR)
- Signal reversal triggers close and new signals trigger open, causing frequent whipsaw trades in ranging markets
- Depends on external indicator file Ergodic_Ticks_Volume_Indicator, EA fails if the file is missing
Possible improvements
- Add maximum position count limit and same-direction position check to avoid over-leveraging from duplicate entries
- Add spread filter and ATR-based dynamic stop-loss/take-profit to adapt to different market volatility environments
Risk assessment
Overall risk: Medium
- No position count check may lead to over-exposure from consecutive same-direction entries
- Fixed stop-loss and take-profit do not adapt to market volatility changes, making TP too far in low volatility and SL too close in high volatility
- Volume-based indicator signals may be unreliable in low-liquidity markets
Evaluation scores
Parameters
| Parameter | Default | Description |
|---|---|---|
MM | 0.1 | Risk percentage or lot size |
MMMode | LOT | Margin calculation mode (fixed lots/balance/free margin etc.) |
StopLoss_ | 1000 | Stop loss in points |
TakeProfit_ | 2000 | Take profit in points |
Deviation_ | 10 | Maximum allowed slippage in points |
BuyPosOpen | true | Allow opening long positions |
SellPosOpen | true | Allow opening short positions |
BuyPosClose | true | Allow closing long positions |
SellPosClose | true | Allow closing short positions |
InpInd_Timeframe | PERIOD_H6 | Indicator calculation timeframe |
VolumeType | VOLUME_TICK | Volume type: tick volume or real volume |
XMA_Method | MODE_EMA | Smoothing method: SMA/EMA/SMMA/LWMA/JJMA/JurX/ParMA/T3/VIDYA/AMA |
XLength1 | 12 | First-layer smoothing period |
XLength2 | 12 | Second-layer smoothing period |
XLength3 | 1 | Signal line first smoothing period |
XLength4 | 5 | Signal line second smoothing period |
XLength5 | 5 | Signal line third smoothing period |
XLength6 | 5 | Signal line fourth smoothing period |
XPhase | 15 | Smoothing phase parameter (JJMA: -100~+100, VIDYA/AMA) |
SignalBar | 1 | Bar index for signal calculation |
Similar Momentum EAs
Backtests are historical simulations and do not guarantee future results. Not financial advice.