Fractals
Indicator
Williams Fractals mark swing highs and lows: a bar whose high tops the two bars on each side, or whose low sits under them. Each mark appears two bars later.
Created by Bill Williams, Trading Chaos, 1995. Reviewed by the ChartLabs team, updated Nov 2026.
Price is under the last down fractal at 69,243: the latest swing low has given way.
Up 66,500 · Down 69,243
Price is under the last down fractal at 69,243: the latest swing low has given way.
Up 66,500 · Down 69,243
Illustration on simulated data.
Williams FractalsWhat is the Fractals indicator?
Fractals draw small triangles on the price chart: a teal ▲ above an up fractal's high and a red ▼ under a down fractal's low. There is no panel and no value to read.
An up fractal is a bar whose high is higher than the highs of the two bars before it and the two bars after it. A down fractal is the same for lows. On a flat top with equal highs, the newest of them is marked, as on TradingView.
Because the two later bars are needed, a mark appears two bars after the swing it marks. Once drawn it stays, but it is never early. The latest marks act as nearby resistance and support.
Five bars by default
Periods 2 means two bars on each side, the five-bar pattern Williams described. Larger values keep only bigger swings.
With the Alligator
Williams used fractals with his Alligator: a break of an up fractal counted only when it happened above the Alligator's teeth.
Fractals signalsFive patterns to know.
Up fractal
A high above the two bars on each side. It marks a swing high to watch.
Down fractal
A low under the two bars on each side. The latest one is nearby support.
Close above the last up fractal
Price clears the latest swing high. Williams treated this as his buy signal.
Close under the last down fractal
Price gives up the latest swing low.
Marks on both sides in a range
In a tight range up and down fractals stack up close together. They mark the edges of the range, not a trend.
Fractals formulaHow it is calculated.
Look two bars each side
For each bar, compare its high with the highs of the two bars before it and the two after it, and its low with their lows.
Mark the extremes
A high above all four is an up fractal; a low under all four is a down fractal. One wide bar can be both.
Wait for confirmation
A mark can only be drawn once the two later bars have closed, so the newest two bars never carry one.
Fractals settingsEvery setting, explained.
| Setting | Default | Range | What it changes |
|---|---|---|---|
| Periods | 2 | 2 to 50 | Bars needed on each side. 2 gives Williams's five-bar pattern. |
| Up marks | Teal #009688 ▲ above the high, small | Any colour | Drawn above each up fractal. |
| Down marks | Red #F44336 ▼ under the low, small | Any colour | Drawn under each down fractal. |
- Setting
- Periods
- Default
- 2
- Range
- 2 to 50
- What it changes
- Bars needed on each side. 2 gives Williams's five-bar pattern.
- Setting
- Up marks
- Default
- Teal #009688 ▲ above the high, small
- Range
- Any colour
- What it changes
- Drawn above each up fractal.
- Setting
- Down marks
- Default
- Red #F44336 ▼ under the low, small
- Range
- Any colour
- What it changes
- Drawn under each down fractal.
Drag to see how the setting changes the lines and how many signals you get. Illustration on simulated data.
Fractals strategiesUse it in 3 setups.
Break of the last up fractal
Williams placed a buy stop just above the latest up fractal. Many traders also want price on the right side of a trend filter first.
Trail a stop under down fractals
Each new down fractal in an uptrend lifts the stop to the newest swing low. The dashed stop line on this scene is an illustration, not part of the indicator.
Step aside under the last down fractal
Losing the latest swing low is a common reason to step aside.
Fractals mistakesCommon mistakes.
Treating the mark as live
The triangle appears two bars after the swing. Here the high printed two bars before its mark could be drawn.
Trading every mark in a range
In a tight range marks pile up on both sides, and breaks of them reverse quickly.
Expecting every break to hold
Here price closed under a down fractal and was back above it on the very next bar.
Fractals combinationsPair it with these.
Fractals + Alligator
Williams's own pairing: a break counts only on the right side of the teeth.
Fractals + Awesome Oscillator
Another Williams tool, adding momentum to the swing marks.
Fractals + Zig Zag
Zig Zag joins the bigger swings; fractals mark every small one.
Fractals + EMA 200
The EMA gives the trend, so you know which side's breaks to watch.
Fractals FAQQuestions traders ask.
What are the default Fractals settings?
Periods 2: a bar must top the two bars on each side, the five-bar pattern Bill Williams described.
Do Williams Fractals repaint?
No. A mark is drawn only once the two later bars have closed, and then it stays. The cost is that it shows up two bars late.
What is an up fractal?
A bar whose high is higher than the highs of the two bars before and after it. It marks a swing high.
What is a down fractal?
A bar whose low is lower than the lows of the two bars before and after it. It marks a swing low.
Can one bar be both?
Yes. A wide bar with the highest high and the lowest low of its five can carry both marks.
What happens with equal highs?
On a flat top, the newest of up to five equal highs is marked, as TradingView does. Equal lows work the same way.
How did Bill Williams use fractals?
He placed an order just beyond the latest fractal and accepted the break only on the right side of his Alligator's teeth.
What does a larger Periods value do?
It needs more bars on each side, so only bigger swings are marked and each mark appears later.
Do fractals work on crypto?
Yes. They only use highs and lows, which every market has.
Are fractals leading or lagging?
Lagging by design: each mark needs two closed bars after the swing.
Related indicatorsMore bill williams tools.
All bill williams indicatorsTry Fractals on a live chart.
Free. No download.
Works in your browser and on iPhone too.