D08-F07-A04 · LEVEL 2 GUIDED LAB · SYNTHETIC DATA
Donchian Breakout
Did close break a prior-only Donchian boundary? 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
up_break=C_t>max(H_(t-n..t-1)); down_break=C_t<min(L_(t-n..t-1))
Availability rule
A state at t may use only observations available through t; confirmed swings retain their confirmation timestamp and are never relabeled as known at the pivot bar.
calculated · step 1 of 7