D07-F03-A23 · LEVEL 2 GUIDED LAB · SYNTHETIC DATA

WaveTrend Oscillator

How does a normalized deviation from typical-price EMA become a smoothed oscillator pair? 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

AP=(H+L+C)/3; ESA=EMA_n1(AP); CI=(AP-ESA)/(0.015*EMA_n1(|AP-ESA|)); WT1=EMA_n2(CI); WT2=SMA_4(WT1)

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-F03-A23)
{
  "wt1": -25.94276818159519,
  "wt2": -13.858032304032271
}

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