D07-F07-A11 · LEVEL 2 GUIDED LAB · SYNTHETIC DATA

TTM Squeeze

Are volatility bands contained inside an ATR channel under one explicit squeeze convention? 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

squeeze_on when Bollinger upper<Keltner upper and Bollinger lower>Keltner lower under declared conventions

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-F07-A11)
{
  "squeeze_on": true,
  "bb_upper": 108.52982269312228,
  "bb_lower": 99.87127834687767,
  "kc_upper": 110.40185024876313,
  "kc_lower": 97.50750454809507
}

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