Variable WILLIAMS_FRACTALSConst

WILLIAMS_FRACTALS: IndicatorDescriptor = ...

Williams Fractals: the pivot highs and lows the alligator is built around.

The study is entirely shapes: two of them, and not one line. A descriptor still needs a series for the marker layer to hang off, so fractals is declared and returns an all-null column: it draws nothing and contributes nothing to autoscale, it exists to own the markers. The two signal columns beside it carry the price each shape is anchored to, which is what makes the markers testable without re-deriving them.

A fractal at bar p is only known at bar p + n, which is why the study draws it n bars back. The columns follow that: the signal sits on the candidate bar, and the last n bars can never carry one, being unconfirmed.