Technical indicators

Fractals Indicator: How the Five-Bar Rule Marks Swing Points

The fractals indicator, based on Bill Williams' five-bar rule, marks a swing high when the middle bar of five has the highest high of the set, and a swing low when the middle bar has the lowest low. Each fractal is confirmed only after two more bars have formed, so it is a description of past price.

By RTX5 Editorial TeamLast updated: Editorial methodology
Illustration with EXAMPLE tags of two five-bar sets. The up fractal has highs of 104.20, 105.10, 106.40, 105.80 and 105.30, with bar 3 highest. The down fractal has lows of 101.90, 101.40, 100.70, 101.20 and 101.60, with bar 3 lowest. A two-bar lag bracket marks bars 3 to 5.
Illustration: the middle bar is the extreme, and the fractal is confirmed only after the two later bars have formed. Open full-size diagram (opens in a new tab)

In brief

What is the fractals indicator?

A fractal is a description of past price, not a signal. Here is the five-bar rule, a worked EXAMPLE of an up and a down fractal, and why each one is known only after two later bars.

Key takeaways

  • A fractal is built from a run of consecutive bars: at least five in the MetaTrader 5 wording, and five by default on TradingView. An up fractal has the highest high in the middle bar, and a down fractal has the lowest low.
  • The two bars on each side of the middle bar must both be lower (for an up fractal) or higher (for a down fractal).
  • A fractal is confirmed only after two later bars have formed, so it always appears with a delay.
  • Fractals mark past swing points. They are not entry or exit signals, and they do not show where price will go next.
  • Settings can differ between platforms. TradingView lets you change the number of bars, so check the count before you compare charts.

What the fractals indicator shows

The fractals indicator marks local turning points on a price chart. The TradingView support article on Williams fractals credits Bill Williams and his 1995 book Trading Chaos.

A fractal is a pattern of five bars, not a single bar. Its middle bar is the extreme of the set. An up fractal marks a swing high and a down fractal marks a swing low. For the basics of trading itself, start with what is trading.

The five-bar rule for an up fractal and a down fractal

Read the rule from the middle bar outward. In an up fractal, the middle bar's high must be the highest of the five, and each of the two bars on either side must have a lower high. In a down fractal, the middle bar's low must be the lowest, and each of the two bars on either side must have a higher low.

Five-bar rule for the Williams fractal
ElementUp fractal (swing high)Down fractal (swing low)
Bars in the setFive by default (TradingView); MetaTrader 5 says at least fiveFive by default (TradingView); MetaTrader 5 says at least five
Middle barHas the highest high of the fiveHas the lowest low of the five
Two bars on the leftEach has a lower high than the middle barEach has a higher low than the middle bar
Two bars on the rightEach has a lower high than the middle barEach has a higher low than the middle bar
When it is knownBy the rule, after the second bar to the right closesBy the rule, after the second bar to the right closes

Sources: MetaTrader 5 help, Fractals (Bill Williams' Indicators), which says at least five successive bars, and TradingView support, Williams fractal indicator, which uses five candlesticks by default. Both describe the middle-bar extreme. The timing row follows from the rule itself; TradingView describes the lag as two or more candlesticks, give or take. Verified on 10 November 2026.

Neither cited source says what happens when a bar beside the middle bar has the same high or low. Read literally, both require 'lower' or 'higher', which would exclude a tie. Check how your platform handles equal values before you compare its marks with another chart.

Worked EXAMPLE: an up fractal on five highs

This EXAMPLE uses made-up values, not market data. Five consecutive bars are numbered 1 to 5 from left to right, and only their highs are used.

EXAMPLE: five highs for an up fractal
BarHighPositionCheck against the middle bar
1104.20Left sideLower than 106.40
2105.10Left side, nearestLower by 1.30 (106.40 minus 105.10)
3106.40Middle barHighest of the five
4105.80Right side, nearestLower by 0.60 (106.40 minus 105.80)
5105.30Right sideLower than 106.40

EXAMPLE values only. Bar 3 is the up fractal, and it is confirmed when bar 5 closes.

Bar 3 is the up fractal because its high of 106.40 is higher than all four neighbours. The fractal is known only at the close of bar 5, the second bar to the right of the middle bar.

Worked EXAMPLE: a down fractal on five lows

The mirror case uses the same five-bar layout with lows. This EXAMPLE is also made up. The middle bar is bar 3, and its low is the lowest of the set.

EXAMPLE: five lows for a down fractal
BarLowPositionCheck against the middle bar
1101.90Left sideHigher than 100.70
2101.40Left side, nearestHigher by 0.70 (101.40 minus 100.70)
3100.70Middle barLowest of the five
4101.20Right side, nearestHigher by 0.50 (101.20 minus 100.70)
5101.60Right sideHigher than 100.70

EXAMPLE values only. Bar 3 is the down fractal, and it is confirmed when bar 5 closes.

A down fractal reads the same way with the inequalities reversed. Bar 3 is the swing low at 100.70, and it is known only once bar 5 has closed.

Why a fractal is confirmed two bars late

A fractal cannot be known when its middle bar prints. To check the right-hand side, the indicator needs the two bars after the middle bar. In the up fractal EXAMPLE, bar 3 prints the high at 106.40, but the pattern is complete only when bar 5 closes. That is a lag of two bars.

TradingView describes the lag as 'two or more candlesticks, give or take', and says the Williams fractal does not redraw. Because of this, the newest two bars on any chart cannot yet form a confirmed fractal. The most recent confirmed fractal always sits at least two bars behind the current bar.

How traders use fractals to mark swing points

A confirmed fractal gives a dated swing point. Some traders record its high or low as a reference level and watch how later price behaves around it. In the up fractal EXAMPLE, the 106.40 high is the reference. A later close above 106.40 would show that the reference high has been exceeded. It would not show what happens after that.

Some traders read fractal levels alongside support and resistance, which looks at price areas that have held or failed before. A different way to filter swings is the ZigZag indicator. The Awesome Oscillator is another Bill Williams tool, and it is a separate indicator with its own rules.

  • Record the time of the confirmation bar, not only the middle bar, so you know when the fractal became known.
  • Treat a reference level as a description of a past high or low. It does not say where price will stop or reverse.
  • Compare the fractal with the wider chart. A single fractal in a quiet range says less than a clear swing in a trend.

Variants and settings: where the references differ

The cited references agree on the middle-bar extreme and on five candlesticks as the TradingView default. They differ on the bar count the MetaTrader 5 page states, and on what they say about settings. The table records each reference as written.

Fractal settings in the cited references
ReferenceBars per fractalDefaultLag and redraw
MetaTrader 5 help, FractalsAt least five successive bars, middle bar extreme (MT5 wording)Not stated on the pageNot stated on the page
TradingView support, Williams fractal indicator (credits Bill Williams, Trading Chaos, 1995)Five by default, with the count adjustableFive candlesticksTwo or more candlesticks, give or take; no redraw

Verified on 10 November 2026. Where a reference does not state a value, the cell says so rather than filling it in.

TradingView lets users change the total candlestick count. Neither cited source says how the confirmation lag changes with a different count, so this page gives no figure. A different count draws a different set of marks on the same price data, so check the setting before you compare two charts.

Limits of the fractals indicator

A fractal describes past price. It shows that a middle bar was the highest or lowest of five bars. It does not show that price will reverse, that a level will hold or that a move will continue.

The indicator does not say how much to trade, where to place a stop loss or whether a level is worth using. A risk-reward ratio check is one way to look at a trade plan first.

Risk disclosure

  • A fractal describes past price and is confirmed only after two later bars. It is not a forecast, and a confirmed fractal can be exceeded later.
  • The fractals indicator does not give win rates, results or expected profit. No study result is stated on this page.
  • The confirmation lag means the mark appears after the turning point. Acting on it can mean entering after a move has already started.
  • A choppy range can show many fractals, and each one carries the same two-bar lag. Many marks do not mean a clearer trend.
  • Platforms differ on settings and on how they handle equal highs or lows, so the same market can show different marks on different charts.
  • This page is educational and is not personal financial advice. Trading can lose money, and the examples are illustrative only.

RTX5 status

This guide explains the fractals indicator in general and does not describe an RTX5 feature. No RTX5 release record confirms which indicators, chart types or alerts the product includes. Its Windows desktop client is in preview, and the web and mobile clients are planned. A Google Play listing for Android is published, but the mobile client has no approved release record yet; check the product-availability record before relying on any RTX5 feature.

Check RTX5 product availability

Trust and methodology

How this research was prepared

We want you to be able to identify who owns the page, inspect the evidence, understand how tools were used, and challenge anything that looks wrong or out of date.

Accountable publisher

Published under the RTX5 Editorial Team byline. It identifies the responsible publishing organization; it does not imply that a named lawyer, regulator, financial adviser, or licensed expert approved this page.

Evidence you can inspect

3 primary references are listed on this page with context about what each one supports. The source set was checked on .

Assistance is disclosed

Automation and AI may help organize research, outline a page, or edit language. They are not treated as sources, are not presented as human experts, and do not remove the publisher's responsibility for the final page.

Questions readers ask

What is the fractals indicator?

The fractals indicator marks a swing high or swing low on a price chart. It uses a five-bar pattern in which the middle bar has the highest high of the set (an up fractal) or the lowest low (a down fractal). TradingView credits Bill Williams and his 1995 book Trading Chaos. It describes past price and does not predict the next move.

How many bars does a Williams fractal use?

The default Williams fractal uses five consecutive bars. The middle bar is the extreme, and two bars sit on each side. TradingView says the default is five candlesticks and that users can change the count. The MetaTrader 5 help page describes a set of at least five successive bars, so it does not fix the count at five.

Why is a fractal confirmed late?

A fractal needs the two bars to the right of the middle bar before its pattern is complete. That means it is confirmed two bars after the turning point. TradingView describes this as a lag of two or more candlesticks, give or take, and says the indicator does not redraw.

Is a fractal a buy or sell signal?

No. A fractal describes a swing point that has already formed. This guide does not present fractals as buy or sell signals and gives no win rate or result. Some traders use confirmed fractal highs and lows as reference levels, but a level being exceeded does not show which way price will move next.

Does this guide cover Bill Williams' other indicators?

No. This guide covers the fractal only. Bill Williams also developed other indicators, such as the Awesome Oscillator, which has its own guide. That guide describes how the oscillator is constructed, including the Gator. Combinations of tools are a separate topic and are not covered here. Neither page sets out a trading setup, and reading one indicator does not confirm another.