# DoubleZigZag

Trades based on the analysis of two ZigZag indicators, closing opposite positions and opening new ones.

Canonical: https://prismaticalgos.com/compendium/algo/97-doublezigzag
Record ID: 97
Catalog rank: 1033 (reading order, not performance)
Snapshot: 2026-10-31 15:46 UTC
Family: Unclassified (?)
Source: https://www.mql5.com/en/code/18629
Evidence label (unverified): source_code

## Scope and limitations

These are machine-extracted research records, not verified trading systems. Catalog rank measures specification detail and claimed evidence, not profitability. The catalog extraction pipeline did not independently backtest these records. Its separate selected testing ledger does not validate the wider corpus. Rules, labels and parameters can be incomplete or wrong; consult the original source and its reuse terms.

No endorsement, ownership claim or source-code reuse permission is implied.

## Extraction warnings

No automated warnings recorded; this is not validation.

## Recorded profile

- symbols: EURUSD
- timeframes: M1
- sessions: Not specified
- market_regime: any

## Indicators

- ZigZag: {"deviation": 3, "max_length": 5, "period": 13}; applied to: close
- ZigZag: {"deviation": 24, "max_length": 40, "period": 104}; applied to: close

## Recorded long-entry rules

- The number of peaks of the smaller ZigZag in the legs of the larger ZigZag is k

## Recorded short-entry rules

- The price difference in the peaks of the larger ZigZag is k2

## Recorded exit rules

- All opposite positions are closed

## Recorded filters

- Not specified.

## Risk controls

- Stop loss: Not specified
- Take profit: Not specified
- Position sizing: Not specified
