Indicators

Williams Fractals Indicator Explained

How Bill Williams fractals mark local highs and lows, how to use them for stops and breakouts, and how to automate fractals in Setup.Cash.

By Setup.Cash TeamLast updated 2026-07-032 min read310 words

Featured image placeholder

/og/setup-cash-og.svg

Fractals, from Bill Williams, mark the simplest structural fact on a chart: a bar whose high is higher than the bars around it (a fractal high), or whose low is lower than its neighbors (a fractal low). String them together and you can see market structure — higher highs, lower lows — without drawing a single line by hand.

How Fractals Work

With the default length of 2, a fractal high is a bar with a higher high than the 2 bars before and the 2 bars after it. A fractal low is the mirror image. Two things follow:

  • Fractals confirm only after the following bars close — they mark structure, they don't predict it.
  • Every confirmed fractal is a real local turning point that the market actually respected.

How to Trade Them

1. Breakout entries. Buy when price takes out the most recent fractal high — structure is shifting upward. Bill Williams paired this with his Alligator (available in our extended library) as a trend filter.

2. Stop placement. Trail stops behind the most recent fractal low in an uptrend. Structure-based stops survive noise better than fixed-pip stops.

3. Structure tracking. Rising fractal highs and rising fractal lows = uptrend; when a fractal low breaks, the structure argument for longs is gone.

Building It in Setup.Cash

Add Fractals in the strategy builder — it emits Fractal High and Fractal Low events you can condition on directly. Pair with ADX so you only trade fractal breaks when a trend has strength behind it.

Tuning

  • Length 2: the classic 5-bar fractal.
  • Longer (3–5): stronger, rarer swing points — better for swing trading.

Fractals are the atoms of market structure. The Swing High/Low Detector builds on the same idea with configurable lookback, and Support/Resistance Zones clusters those swings into tradeable zones. Backtest fractal breakouts per market — behavior differs a lot between forex and crypto.

Not financial advice. Trading involves risk. Use backtesting and paper trading before risking real capital.

Related Posts

View all

Start here

Build your trading bot workflow with structure

Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.