Williams Fractals explained: how to read them

By Oalgo · Last reviewed

A Williams Fractal marks a swing high or a swing low: a candle whose high is the highest, or whose low is the lowest, of the 5 candles around it (2 before and 2 after). It can only be confirmed once the 2 later candles have closed.

Chart: example prices with their high-to-low ranges. Triangles mark Williams Fractals: an up fractal at a peak and a down fractal at a low. Each triangle sits on the candle that confirms it, 2 candles after the peak or low, at the price of the peak or low.PriceHigh to lowUp fractalDown fractalConfirmed 2 candles later
Example prices, made up for this page. Setting 2. Only 32 of the 120 example candles are drawn, so each one is easy to see.

How are Williams Fractals found?

#
  • Take one candle together with the 2 candles before it and the 2 after it: 5 candles in all.
  • Up fractal: the middle candle's high is the highest of the 5, and higher than the high of the candle right before it and right after it.
  • Down fractal: the middle candle's low is the lowest of the 5, and lower than the low of the candle right before it and right after it.
  • Oalgo records the fractal on the candle that confirms it, the second candle after the peak, with the price of the peak.
CandleHighLowWhat happens
110498–
2106100–
3109103Highest high of the 5 candles, above candles 2 and 4: an up fractal at 109
4107101–
510599Confirms it: the fractal appears here, with the value 109

Why do fractals appear two candles late?

#

You cannot know a candle was the highest of 5 until the 2 candles after it have closed. Many charts put the mark on the peak candle itself, which looks as if it was known in time. It was not, and a rule that used it there would be using the future (see lookahead bias). The Fractals block writes each fractal on the candle that confirms it, so a test cannot use it early.

How do you read Williams Fractals?

#
What you seeWhat it suggests
An up fractalA recent swing high. Price made no higher high in the 2 candles after it.
A down fractalA recent swing low. Price made no lower low in the 2 candles after it.
Price closes above the last up fractalPrice has moved past a recent swing high.
Price closes below the last down fractalPrice has moved past a recent swing low.

How do people use Williams Fractals in rules?

#
  • Combine with a trend filter, such as price above a moving average.
  • Change the setting. 1 uses 3 candles and finds many small swings; a larger number finds fewer, bigger ones.

What can Williams Fractals not tell you?

#

A fractal says that price turned there, not that it will turn there again. Fractals always arrive late, and in a choppy market many come close together and lead nowhere. Test any rule on past prices with a backtest, then forward test it.

In Oalgo you can tell Oalgo AI your Williams Fractals rule in your own words, check the rule it builds, and test it. After testing, if you choose, you Go Live with your own Live Strategy on your own Venue Account at a Supported Venue.

Read next