What Are Fractals? Why Do They Always Appear Two Bars Late?

“That high had no fractal arrow a moment ago. Why did it pop up two days later?”

That is how fractals are defined. A fractal is a 5-candle pattern: the middle candle is the highest and the two on the right are both lower. Until those two have finished, it cannot appear. So a fractal is always two bars late, and by the time it marks a high, price may have moved far away. This article first works it out once with a table, then looks at real euro prices, and finally uses statistics from 9 instruments to see whether breaking a fractal gives any edge.

This article is part of MASQuant’s “Trading Academy · Technical Indicators” series. All the indicators are sorted by category in Technical Indicators: The Complete Guide.

In one sentence

Fractal = among 5 consecutive candles, the middle one is the highest (or lowest).

A high is an up fractal and a low is a down fractal. It only counts once the two candles on the right have closed.

A fractal is like looking back on a hike: you only know you passed the summit after two more steps show the path going down. Standing on the summit, you do not know it is the summit. Fractals mark highs accurately because they look back.

Work it out once: the highs of 5 candles

Here are the highs of two sets of 5 consecutive candles (the following are round numbers for illustration, not market data):

Bar 1 Bar 2 Bar 3 Bar 4 Bar 5 Result
10 12 15 13 11 Bar 3 is an up fractal
10 12 15 13 16 No: bar 5 is higher

Look at the second row: the first 4 bars are identical, and only bar 5 shows it does not count. So bar 3’s fractal can only be confirmed when bar 5 closes, which is why it is two bars late. It does not disappear afterwards and it is not a repaint; you just have to wait. A down fractal works the same way, using lows.

The formula

Up fractal: the high of bar i
  > the highs of the two bars to the right
  ≥ the highs of the two bars to the left

Down fractal: the low of bar i
  < the lows of the two bars to the right
  ≤ the lows of the two bars to the left

Fractals were introduced by Bill Williams. They are built into MT5 under the Bill Williams category of the indicator list, named Fractals, with no parameters to adjust. A common use is to treat the latest up fractal as a breakout point: a close above it means the high has been exceeded.

Read the chart: EUR/USD in 2024–2025, following 1 to 3

The chart below shows EUR/USD daily from October 2024 to March 2025, taken from MT5 historical prices. From 16 October 2024 to 31 January 2025 it drifted lower, ending 4.7% down; from 3 February to 11 March it rose 5.5%. Red dots are up fractals and green dots are down fractals.

EUR/USD daily, October 2024 to March 2025: red dots mark up fractals and green dots mark down fractals, and there are many of them
Chart: EUR/USD daily, 16 October 2024 – 20 March 2025, MT5 historical prices. Hollow candles closed up, filled candles closed down; grey shading marks the consolidation, light orange shading marks the trend. Red dots are up fractals and green dots are down fractals. Price is on the right, dates along the bottom, and the circled numbers match the notes below.
1

By the time it appears, price has moved far away (6 November 2024). The high of 1.09359 that day is an up fractal. But it was only confirmed two bars later on 8 November, with a close of 1.07167, already 3.23 ATR from the high. The fractal marks the high accurately, but by the time you learn where it was, it is too late to use.

2

A failed breakout (20 January 2025). The close of 1.04145 broke the 15 January up fractal at 1.03533. 10 bars later the close was 0.7% below the breakout.

3

A successful breakout (4 March 2025). The close of 1.06245 broke the 14 February up fractal at 1.05135. 10 bars later the close was 2.4% higher. At the time, 2 and 3 looked like the same thing.

Also look at how many red dots there are: in the middle 59 candles of the grey stretch alone there are 9 up fractals. Fractals are common, and most are just ordinary small swings.

This is a real stretch of historical prices, used to show how fractals behave. It is not a general rule. Change the instrument, the timeframe or the period, and every number will change.

Statistics: is there any edge after breaking a fractal?

We used daily data from 9 instruments on MT5 (forex, gold, silver, indices, Bitcoin and Ethereum) since 2015, 27,326 bars in all:

Item Result
Number of up fractals 3,628, an average of 13.3 per 100 bars
Distance of the close from the fractal high at confirmation (median) 1.03 ATR
Share with a close above the fractal high within 20 bars 61.0%
Share with a higher close 10 bars after the breakout 53.3%
Share with a higher close 10 bars after any day (control group) 54.9%

Here is how to read it: there is an up fractal roughly every 7 or 8 candles, six in ten get broken, and the share of higher closes 10 bars after a break is slightly below the average for any day. At least on the daily data of these 9 instruments, simply “closing above an up fractal” gives no edge. There are too many fractals, and not every high is a breakout worth trading.

What you see, what it means

What you see What it usually means But be careful
An up fractal appears There was a small high two bars ago Two bars have passed and price may have moved far away (1 on the chart)
Close above an up fractal Above the latest high Statistically no better than any day (53.3% vs 54.9%)
Fractals packed closely together The market is swinging back and forth This is when breakouts fail most easily (2 on the chart)
A down fractal is broken Below the latest low Again, look at the trend behind it

How to use it: three examples

Example 1: as a stop-loss location

When long, place the stop below the latest down fractal. A fractal marks a low the market actually made, which is a better basis than an arbitrary number of points. As the trend rises, the stop can follow new down fractals upwards.

Example 2: only trade breakouts with the trend

Bill Williams pairs it with the Alligator: an up fractal only counts if it is above the Teeth. For example: “Only go long when the Alligator’s mouth opens upwards and the close breaks above an up fractal.” (For the Alligator, see What Is the Alligator Indicator?)

Example 3: only use larger fractals

Moving to a larger timeframe, or using only fractals clearly higher than their neighbours, filters out most small swings. The cost is being slower.

All three examples have to accept the same thing: a fractal only becomes clear in hindsight. It is better for marking locations than for forecasting.

Common mistakes

1. Thinking fractals repaint

Fractals do not disappear; they just take two bars to appear. That differs from ZigZag, whose last leg gets rewritten (see What Is the ZigZag Indicator?).

2. Entering at the fractal bar’s price in a backtest

A fractal is only known two bars later. A backtest that trades on the fractal bar is peeking at the future. The correct approach is to use it only from the bar after confirmation.

3. Treating every fractal as an important high

There are 13.3 up fractals per 100 bars on average, and most are just ordinary small swings. Breaking them shows no statistical edge.

FAQ

What is the Fractals indicator?

Fractals is an indicator by Bill Williams that marks highs and lows with 5 consecutive candles: a highest middle candle is an up fractal, and a lowest one is a down fractal.

Why are fractals two bars late?

The definition requires both candles on the right to be lower than the middle one, so it can only be confirmed once those two have closed.

Do fractals repaint?

Once confirmed, they do not disappear. They just appear two bars late, unlike ZigZag, whose last leg gets rewritten.

Does MT5 have Fractals?

Yes. It is under the Bill Williams category of the indicator list, named Fractals, with no parameters to adjust.

Conclusion

Fractals mark highs accurately because they look back. They work better as signposts of the road behind you than as directions for the road ahead.

So the real question is: do your breakout rules chase every fractal, or only the few that go with the trend? One stretch of historical prices cannot answer that; you have to backtest the rule over many stretches of the market.

Don’t have rules of your own yet, and don’t want to piece them together one indicator at a time? With MASQuant’s Strategy Genie, you just choose an investment style first; the AI analyses market conditions, selects instruments and gives you three candidate strategies at once. Each one has already been backtested on historical data, with its returns and maximum drawdown laid out in the open, and then you decide whether to deploy it to MT5.

If you already have an idea of your own, write the condition as one sentence, for example “only go long when the Alligator’s mouth opens upwards and the close breaks above an up fractal”, give it to the AI Strategy Assistant, and press go to start the backtest. The backtest environment includes real market frictions such as spreads, slippage, changes in market liquidity and execution delays (see the AI Strategy Assistant guide for how to use it). Then remove the Alligator condition and run it again, and you will see how much the filter helped. A backtest tells you “how this rule performed in past market conditions”, not a guarantee about the future.

An idea only becomes a strategy once it’s been tested.

Not sure which strategy to use?

New here? Start with this 10-minute beginner’s guide. It walks you through picking your investment style, letting MASQuant’s Strategy Genie use AI to generate and backtest candidate strategies, and running one on an MT5 demo account, step by step.

Read the 10-Minute Beginner’s Guide →

Ready already? Sign in with Google to start for free. No credit card needed for your 15-day free trial.

All strategies and backtests are for reference only and do not constitute investment advice.

The price chart and statistics in this article are taken from historical prices on the MT5 platform (daily; quotes and daily candle cut-off times differ slightly between platforms, so values may not match exactly), and the indicators are calculated by a program using the standard formulas; the round numbers in the example are not market data. The statistics do not include spreads, commissions or slippage. Historical prices are used only to show how the indicator behaves and do not represent future price movements.

Risk disclosure: CFDs are high-risk financial products and can lead to rapid loss of capital. Past performance does not guarantee future results. All strategies and backtests are for reference only and do not constitute investment advice. Please read our Risk Disclosure carefully before trading.