Support / resistance detector
Three touches confirm a line. A close through it breaks the line.
support
resistance
touch
broken line
The displayed bars are deterministic 1-minute data generated from the seed. Pivots use two bars on each side, which introduces a deliberate two-bar confirmation delay. Tolerance is max(2 ticks, ATR(14) × 0.15).