FTB-C000602 / Implementation concept

ZigZag Up Leg

ZigZag Up Leg is the state in which the machine tracks a rising provisional high.

Definitions

In plain terms

Higher closes extend the provisional high; a sufficient decline confirms it.

Technical

During an up leg, a strictly higher close replaces the provisional high; a decline of at least tau after min_bars confirms the high.

Scope

The active up leg does not imply a permanent trend or future continuation.

Examples

  • A reviewer computes ZigZag Up Leg on a small deterministic fixture and checks timing, units, and boundary behavior before publication.

Common misconceptions

  • The active up leg does not imply a permanent trend or future continuation.

Concept relationships

Where this concept is used

Tutorials planned

These catalogued topics use this concept, but their complete build has not shipped yet.

  • D08-F01-A02 Important

Evidence and governance

  1. LEAN ZigZag source QuantConnect · first party technical publication

    Supports: preferred label, short definition, technical definition

    Limits: A maintained implementation is evidence for one convention, not a universal market rule.

  2. Pine Script repainting concepts TradingView · official platform documentation

    Supports: preferred label, short definition, technical definition

    Limits: Platform display behavior does not establish financial usefulness or predictive value.

  3. Closing Price Investor.gov · official standard

    Supports: preferred label, short definition, technical definition

    Limits: A close is not automatically an adjusted close and may vary by market session convention.

Reviewed by
fintech-builder-batch-011
Last reviewed
2026-08-09
Next review
2027-08-09
Record status
evidence reviewed

This record is evidence-reviewed and readable, but not yet promoted to published — it is served noindex,follow and excluded from the sitemap.

Written by

Fintech engineer building market-data and financial systems, and the author of every article, glossary record, and reference implementation on The Fintech Builder.