D08-F01-A09 · LEVEL 2 GUIDED LAB · SYNTHETIC DATA

DeMark Pivot Points

How does prior candle direction select the DeMark pivot branch? Walk the evidence clock one stage at a time. This lab teaches the publication contract; it does not simulate returns, platform parity, or trade performance.

Selected expression

X=H+2L+C if C<O; X=2H+L+C if C>O; else X=H+L+2C; P=X/4; R1=X/2-L; S1=X/2-H

Availability rule

A level derived from a prior session becomes available only after that source session is final; a confirmed pivot becomes available only after its declared confirmation lag.

calculated · step 1 of 7

Verified synthetic fixture

This lab is paired with datasets/implementation-fixtures.json: 96 deterministic, oldest-to-newest observations spanning oscillating, rising, and moderating regimes. It is teaching data—not market history or predictive evidence.

Canonical latest output (D08-F01-A09)
{
  "pivot": 101.174576485,
  "r1": 102.31329422,
  "s1": 99.19207042000001,
  "r2": null,
  "s2": null
}

Executable checks cover this result, flat/zero-volume boundaries, invalid timestamps, and prefix causality in both language entry points.