FTB-C000662 / Formula component

Three-Way Comparable Tests

Three-Way Comparable Tests is the shared normalized-spread test applied to all three triple-top highs.

Definitions

In plain terms

All three highs must fit within one declared similarity band around their mean.

Technical

spread = (max(p1,p2,p3)-min(p1,p2,p3))/mean(p1,p2,p3) and the canonical limit is <= 0.025.

Scope

A third touch can expose an irregular range that a double-top test would have accepted.

Formula

spread=(max(p1,p2,p3)-min(p1,p2,p3))/mean(p1,p2,p3)
LaTeX: s=\frac{\max_j p_j-\min_j p_j}{\bar p}
SymbolMeaningUnit
p_jthree comparable highsprice

Output unit: fraction

Examples

  • A reviewer computes Three-Way Comparable Tests on a deterministic close fixture and checks pivot timing, threshold equality, neckline behavior, and rejection diagnostics before publication.

Common misconceptions

  • A third touch can expose an irregular range that a double-top test would have accepted.

Concept relationships

Where this concept is used

Evidence and governance

  1. Foundations of Technical Analysis: Computational Algorithms, Statistical Inference, and Empirical Implementation Lo, Mamaysky, and Wang · first party technical publication

    Supports: preferred label, short definition, technical definition, formula

    Limits: The paper's smoothing, sample, and empirical design are not copied into this package and do not validate its thresholds.

  2. Pine Script repainting concepts TradingView · official platform documentation

    Supports: preferred label, short definition, technical definition, formula

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

  3. scipy.signal.find_peaks SciPy · first party technical publication

    Supports: preferred label, short definition, technical definition, formula

    Limits: This retrospective signal function is not itself a causal OHLC pivot detector.

  4. Pine Script pivot techniques TradingView · official platform documentation

    Supports: preferred label, short definition, technical definition, formula

    Limits: The package freezes its own equality, separation, and OHLC policies rather than claiming one universal pivot definition.

Reviewed by
fintech-builder-batch-012
Last reviewed
2026-08-10
Next review
2027-08-10
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.