EA-18857 · Trend Following

Last ZZ50

This EA trades based on ZigZag indicator signals, identifying swing highs and lows to determine trend direction and enter positions at reversal points. The 'ZZ50' likely refers to a ZigZag with a 50-pip or 50-point depth parameter for filtering minor price movements. It opens buy positions at ZigZag lows and sell positions at ZigZag highs, aiming to catch trend reversals and ride the new trend.

Open the interactive view (equity curve, symbol switch)

Key facts

RiskMedium
Blow-up riskLow
Rating★★☆☆☆
TypeTrading EA
TimeframesH1, H4, D1
IndicatorsZigZag
AuthorCopyright © 2017, Vladimir Karputov

Backtest results (H1, about 1 year)

SymbolP&LAnnualMax DDTradesWin rateSharpeRecoveryLosing streakPer tradeStatus
EURUSD0.00%0.00%0.00%0—————Not convertible yet
GBPUSD0.00%0.00%0.00%0—————Not convertible yet
USDJPY0.00%0.00%0.00%0—————Not convertible yet
XAUUSD0.00%0.00%0.00%0—————Not convertible yet

Why this EA never traded: no entry rule survived the conversion.

Converted from MQL5 to Python and run with the same rules for every EA. Positions use MT5 lot sizes (100,000 units per FX lot, 100 oz per gold lot) with 1:100 leverage, one order at a time, and a stop-out below 10% of the starting balance. Sharpe is computed from the equity curve. Results marked as unreliable are shown for completeness only.

Blow-up risk: No blow-up pattern found

None of the usual blow-up patterns were found in the code, and the account was not stopped out in our backtests. That is not a guarantee: any EA can lose money.

High: stopped out in our backtest, or martingale/grid sizing without a stop loss. Elevated: martingale or grid sizing with a stop loss, or several positions at once without a stop loss. What the label means and what we found →

Strategy analysis

The strategy concept is based on ZigZag indicator swing point identification, opening long positions when a new ZigZag low is confirmed and short positions when a new ZigZag high is confirmed. Entry conditions rely on the ZigZag indicator completing a swing point confirmation, which requires price to retrace beyond the configured depth threshold (50 points/pips). Exit conditions may include fixed take-profit and stop-loss levels or waiting for the next ZigZag swing point to form before closing. Position sizing is unclear from the filename alone but likely uses fixed lot sizes without dynamic calculation based on account equity. Money management is a common weakness in ZigZag-based EAs as they typically rely solely on the indicator signal without considering overall account risk exposure or drawdown limits.

Strengths

  • ZigZag effectively identifies key market turning points and filters noise
  • Structural trend reversal trading with clear and understandable logic
  • Adjustable depth parameter adapts to different market volatility environments

Weaknesses

  • ZigZag indicator has repainting behavior - confirmed swing points can be modified, making signals unreliable
  • Lacks explicit money management and position control mechanisms
  • Missing or insufficient stop-loss can lead to significant losses
  • Generates frequent false signals in ranging/choppy markets

Possible improvements

  • Add stop-loss/take-profit mechanisms and money management module with dynamic lot calculation based on account balance
  • Combine with additional indicators (e.g., RSI or MACD) to filter ZigZag signals and reduce false entries
  • Add new bar check and spread filter to avoid repeated trades and high-cost entries

Risk assessment

Overall risk: Medium

  • ZigZag repainting issue can cause significant discrepancy between backtest and live performance
  • Single trade loss may exceed expectations when stop-loss mechanism is absent

Evaluation scores

Code quality2.0
Strategy logic3.0
Risk management2.0
Robustness2.0
Innovation2.0
Documentation1.0
Overall2.0

Parameters

ParameterDefaultDescription
ZigZag Depth50ZigZag depth parameter filtering minor fluctuations
ZigZag Deviation5ZigZag deviation percentage
ZigZag Backstep3ZigZag backstep count
LotSize0.1Lot size per leg
StopLoss0Auto stop loss in points; 0=disabled
TakeProfit0Auto take profit in points; 0=disabled

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.