D07-F02-A10 · LEVEL 2 GUIDED LAB · SYNTHETIC DATA

Vortex Indicator (+VI/−VI)

How large are upward and downward cross-bar movements relative to total true range? 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

+VI=sum |H_t-L_(t-1)|/sum TR; -VI=sum |L_t-H_(t-1)|/sum TR

Availability rule

An output at t may use only finite, basis-consistent observations available through t; chart alignment never moves the information clock backward.

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 (D07-F02-A10)
{
  "plus_vi": 0.91078566552092,
  "minus_vi": 1.0406526774370142
}

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