Concept

Williams Fractal

Williams Fractal, also known as fractal chaos bands/oscillator, is a Market Structure concept. The Library holds 5 implementations, each one a working definition you can pull into Quant.

Top Williams Fractal indicators

5 total

What is a Williams Fractal?

A Williams Fractal is a five-bar swing marker popularized by Bill Williams in his Trading Chaos work. An up fractal prints on a bar whose high stands above the highs of the two bars on each side; a down fractal prints where a bar's low sits below the two lows on each side. It is among the simplest widely used objective definitions of a swing high or low: no subjective drawing, just a local extreme over five bars. Implementations differ slightly on how ties are handled, with strict inequality the common default.

Two properties define how fractals behave in practice. First, confirmation lags by two bars: the pattern cannot exist until the two right-hand bars have closed, so the marker always appears in the past. Second, fractals are frequent, since a two-bar flank is a low hurdle; in Williams' own system they were therefore filtered by the Alligator and traded only as breakouts in the trend direction. Beyond that origin, the fractal has become a general-purpose building block: a mechanical swing definition feeding structure logic, trailing stops, and support and resistance levels.

How to identify a Williams Fractal

The definition is mechanical, which is exactly its appeal. A standard fractal needs five completed bars.

  1. 1Take a candidate bar plus the two bars before it and the two bars after it.
  2. 2Up fractal: the candidate's high is higher than all four neighboring highs. Down fractal: the candidate's low is lower than all four neighboring lows. A single bar can qualify as both.
  3. 3Wait for confirmation: the two right-hand bars must close first, so a fractal is only known two bars after the extreme actually printed. Anything drawn earlier is provisional.
  4. 4Adjust conventions as needed: some versions accept equal highs or lows on the flanks, and widening the flanks beyond two bars produces fewer, more significant swings at the cost of later confirmation (this is the pivot strength parameter).

How traders use it

  • As the swing vocabulary for structure logic: the most recent up and down fractals define the swing points that break of structure and change-of-character rules are evaluated against. Many structure tools are fractal detection under the hood.
  • As breakout triggers, the original use: Williams placed buy stops just above the latest up fractal when it formed above the Alligator's teeth, ignoring fractal signals on the wrong side of that line. Later tools generalize the idea into a stair-stepped breakout channel built from successive fractal levels.
  • As trailing stop anchors: in an uptrend, trail the stop under each newly confirmed down fractal, a mechanical form of the structure stop.
  • As resting-liquidity markers: untouched fractal highs and lows are local extremes where stops tend to accumulate, so some traders track which fractals have been swept and which remain open as potential targets.

Williams Fractal vs related concepts

Swing High/low: Swing high/low is the general idea of a local price extreme; the Williams Fractal is one specific parameterization of it: two bars on each side, confirmed at the close of the fifth. Every fractal is a swing point, but a swing point can be defined in other ways.

Pivot Strength: Pivot strength generalizes the flank count: a strength-N pivot needs N lower highs on each side of a high. A standard Williams Fractal is simply a strength-2 pivot, so the two concepts differ only in whether the width is fixed or a tunable parameter.

Zigzag Structure: Zigzag filters swings by magnitude, requiring a minimum percent or ATR move between pivots, while fractals filter only by local bar geometry. A zigzag leg keeps redrawing while it extends; a confirmed fractal is fixed once its two right-hand bars close.

More Williams Fractal implementations

Related concepts · Swing grammar

Concept family

Market Structure

31 concepts mapped · 26 in the Library

Williams Fractal FAQ

Do Williams Fractals repaint?

A fractal cannot be evaluated until the two bars to its right have closed, so markers appear with a two-bar delay, and any fractal suggested on the live bar is provisional and can vanish. Once those two bars close, an honestly coded fractal is fixed. The practical cost is not repainting but lag: price has often moved by the time the marker prints.

What is the best setting for Williams Fractals?

The classic definition is fixed at two bars per side and has no settings. Variants expose the flank width: wider flanks yield fewer, more significant fractals that confirm later, while tighter logic yields more markers and more noise. No value is best across markets; the width simply sets where you sit on that trade-off.

How did Bill Williams use fractals in Trading Chaos?

As breakout triggers filtered by trend. The signal was a stop order placed just beyond the most recent fractal, taken only when the fractal sat on the correct side of the Alligator's teeth (buy fractals above, sell fractals below), with opposing fractal signals ignored. The fractal supplied objective swing points; the Alligator supplied the directional filter.

Build Williams Fractal your way.

Quant writes, tests, and refines it with you — then it runs on LuxAlgo charting or ports to TradingView.