Dalal Street Blogs provides information for educational purposes only and does not constitute investment advice. Please consult a SEBI-registered investment adviser before making any investment decisions.
CAUTION: Dalal Street Blogs publishes market news and educational content only. We do not promote, recommend or endorse any stock, and nothing here is a solicitation to buy or sell securities. Please consult a SEBI-registered adviser before investing.

Indian Stock Market News, Analysis and Trading Guides

Technical Analysis

Williams Fractal Indicator: Spotting Swing Highs and Lows Five Bars at a Time

Williams fractal indicator concept: Romanesco broccoli with repeating spiral peaks, a natural fractal pattern

Image: TraduzioniTecniche via Pixabay (1741608)

By Dalal Street Blogs Editorial10 min read

The williams fractal indicator is about as simple as technical tools get. There is no formula to speak of, no smoothing, no lookback period to tune. It just marks a bar whose high sticks out above its neighbours, or whose low digs below them. And yet traders misread it all the time, mostly because the arrow shows up on the chart two bars after the moment it points at.

We’ll cover what the pattern is, why the labels confuse people, how Bill Williams intended it to be traded, and then work through a full example with made-up prices, including entry, stop and position size. The aim is that by the end you can spot a fractal on a daily chart without the indicator switched on.

In this article
  1. What the Williams fractal indicator actually marks
  2. Why the labels trip people up
  3. The lag nobody mentions until it costs them
  4. How Williams meant fractals to be traded
  5. A worked example with hypothetical prices
  6. Using the Williams fractal indicator beyond breakouts
  7. Timeframes, markets and settings
  8. The real limitations
  9. Quick recap

What the Williams fractal indicator actually marks

The definition is short. MetaTrader 5’s help page on Fractals describes an upward fractal as a series of at least five successive bars with the highest high in the middle and two lower highs on each side. The downward version flips it: at least five bars with the lowest low in the middle and two higher lows on each side.

Investopedia writes the same thing as a set of conditions. Call the middle bar N. For a top, the high of N must be greater than the highs of the two bars before it (N-2, N-1) and the two bars after it (N+1, N+2). For a bottom, the low of N must be lower than the lows of those same four bars. That’s the whole calculation.

Williams introduced the indicator in his 1995 book Trading Chaos, according to TradingView’s reference page. It sits alongside his other tools; MetaTrader 5 lists it as one of five indicators in his trading system. If you’ve read our piece on the awesome oscillator, you’ve already met one of its siblings.

The name borrows from mathematics, where a fractal is a shape that repeats at different scales. Investopedia uses the example of zooming in on a coastline on a map app: the jagged edges look similar whether you’re seeing miles or feet. Price charts behave a bit like that. The same five-bar bump can be found on a 5-minute chart and on a weekly chart.

Why the labels trip people up

Here’s a quirk worth sorting out before anything else. Different sources name the same pattern in opposite-sounding ways.

Investopedia names fractals by the turn they hint at. A high with two lower highs on each side is a bearish fractal, because price went up and then came down, an upside-down U. A low with two higher lows on each side is a bullish fractal, a regular U shape.

MetaTrader 5 and TradingView describe them by direction instead: up fractals and down fractals. And in Williams’ breakout approach, as TradingView explains it, the up fractal is where you look to buy, not sell. Price rising above the previous up fractal is called a breakthrough of buyers. Price falling below the previous down fractal is a breakthrough of sellers.

So a single top can be called “bearish” by one source and treated as a buy trigger by another. Neither is wrong. One describes what the shape suggests about the past few bars; the other describes what to do if price later breaks through that level. When you read about fractals, check which convention the writer is using before acting on the word “bullish” or “bearish”.

A fractal is not a forecast. It’s a marker that says this level was a turning point once, and now we’ll see whether price respects it or breaks it.

The lag nobody mentions until it costs them

Look at the definition again. To confirm a top at bar N, you need bars N+1 and N+2 to close with lower highs. That means the pattern can only be confirmed two bars after the high itself. TradingView flags this directly: there will always be fractal lag of two or more candles, and it’s built into the indicator.

Charting platforms make this easy to forget. Investopedia points out that the arrow is drawn over the high or low point, the middle of the pattern, not where the pattern completes. When you scroll back through history, every arrow looks perfectly placed at the exact top. In real time, that arrow didn’t exist until two bars later. Investopedia’s practical takeaway: the first available entry after you see an arrow is the open of the third bar to the right of it.

This is why backtests done by eye on fractal charts tend to look better than live trading. Your brain sees the arrow at the peak and imagines selling there. You couldn’t have.

How Williams meant fractals to be traded

Williams didn’t treat a fractal as an entry signal on its own. He used it as a level. TradingView summarises his approach as a breakout method: a breakout is indicated when price moves at least one point above or below the previous fractal’s price level, and Williams considered a breakthrough of buyers or sellers to be a signal to open a position.

The common mechanics, again per TradingView:

  • Place a pending stop order a few points above the latest up fractal (to go long) or below the latest down fractal (to go short).
  • Set the stop-loss at the level of the second-to-last opposite fractal.
  • Use a trend filter, because fractal breakouts in a flat market tend to fail.

That trend filter, in Williams’ own system, is the Alligator. TradingView suggests using fractals to find entry levels and the Alligator to avoid opening positions at a breakout when the market is trendless. MetaTrader 5 adds a rule about exits: don’t close a buy trade if the fractal is lower than the Alligator’s Teeth line, and don’t close a sell trade if the fractal is higher than the Teeth. A fractal signal stays in force, MT5 says, until it gets attacked or a more recent fractal appears. Our guide to the Williams Alligator indicator walks through the Jaw, Teeth and Lips if you need a refresher.

There’s a reason for the filter. MetaTrader 5’s help page notes that markets spend most of their time not moving much, with only short periods, which it puts at 15-30 percent of the time, accounting for trend changes. If that’s roughly right, most fractal breakouts happen inside ranges, and a lot of them will reverse.

A worked example with hypothetical prices

Let’s build one. The numbers below are invented for teaching, not taken from any real stock. Imagine a mid-cap trading around ₹500 on a daily chart, and here are nine consecutive sessions:

Bar High (₹) Low (₹)
1 512 498
2 518 503
3 526 510
4 521 507
5 515 500
6 509 494
7 504 488
8 511 495
9 519 502

Finding the up fractal. Bar 3’s high is ₹526. The two bars before it have highs of ₹512 and ₹518. The two after it have ₹521 and ₹515. All four are lower, so bar 3 is an up fractal at ₹526. But notice when we know this: only once bar 5 closes. On bar 3 and bar 4, it was just a high that might or might not hold.

Finding the down fractal. Bar 7’s low is ₹488. Bars 5 and 6 have lows of ₹500 and ₹494. Bars 8 and 9 have ₹495 and ₹502. All higher, so bar 7 is a down fractal at ₹488, confirmed when bar 9 closes.

Now we have two reference levels: ₹526 above and ₹488 below. Price is sitting at around ₹502 to ₹519 on bar 9, between them.

Setting up the trade. Following the breakout approach, a trader who expects an upside move places a buy stop just above the up fractal. Say ₹527, one rupee above ₹526. For the stop-loss, TradingView’s guideline is the second-to-last opposite fractal. In our short sample there’s only one down fractal, so we’ll use ₹488 and accept that this is a simplification.

Risk per share is ₹527 minus ₹488, which is ₹39.

Sizing it. Suppose trading capital is ₹5,00,000 and the trader risks 1% per trade, which is ₹5,000. Dividing ₹5,000 by ₹39 gives about 128.2, so 128 shares. At ₹527 each, that’s a position of ₹67,456. If the stop is hit, the loss is 128 × ₹39 = ₹4,992, just under the ₹5,000 limit.

That ₹39 gap is worth staring at. It’s about 7.4% of the entry price. Fractal stops on daily charts can be wide, and the width isn’t something you choose; the market chose it when it printed that ₹488 low. If 7% feels too far, the honest answer is to trade fewer shares, not to pull the stop closer for comfort.

What could go wrong. If the Alligator lines on this chart were tangled and flat, the filter says skip the trade entirely. And if price never trades above ₹527, the order simply doesn’t fill. That’s a feature. A breakout method only commits money once price has actually moved.

The stop on a fractal trade is set by the chart, not by your comfort level. If the distance is too wide, shrink the position.

Using the Williams fractal indicator beyond breakouts

Breakouts are Williams’ intended use, but traders apply fractals in a few other ways. Investopedia describes combining them with trend analysis: only taking bullish fractal signals in an uptrend, only short trades on bearish fractals in a downtrend.

It also gives an example of stacking fractals with Fibonacci levels. Picture a stock in an uptrend pulling back to its 50% Fibonacci retracement. If a bullish fractal (a five-bar low) forms right there, a trader has two independent reasons to think the pullback may be ending. Pivot points can be used the same way, Investopedia notes.

Some traders also use fractals simply as a clean way to mark swing points. Instead of eyeballing where the last swing high was, you let the five-bar rule decide. That’s handy for drawing trendlines or placing trailing stops consistently and it’s a habit rather than a trading signal in itself.

Timeframes, markets and settings

According to Investopedia, fractals work on short and long timeframes alike: day traders use them on intraday charts, position traders on daily or weekly charts. In theory any market with enough price data qualifies, including stocks, forex, commodities and crypto, though Investopedia adds that effectiveness depends on liquidity and volatility.

For Indian traders, that liquidity point matters. A thinly traded small-cap can print a five-bar high on a few hundred shares, and the “level” it creates means very little. In our view, fractals on heavily traded Nifty 50 stocks or the index itself are more meaningful, simply because far more participants traded at those prices.

Settings are minimal. TradingView notes the indicator is usually preset to the five-bar rule but can be changed to use a different number of candles per fractal. More bars means fewer, more significant fractals and even more lag. Fewer bars means faster but noisier signals.

The real limitations

The biggest problem, per Investopedia, is that there are so many fractals. The five-bar pattern is common, and trading every one would mean a stream of false signals and whipsaws. Filtering isn’t optional.

Then there’s the lag already covered. And there’s a subtler issue. The arrows don’t move once confirmed, which TradingView describes as the indicator not redrawing. That’s good for honesty, but it also means an old fractal can sit on your chart long after it stopped being relevant. MT5’s rule that a fractal stays in force until it’s attacked or replaced by a newer one helps here: always work from the most recent fractals, not every arrow on the screen.

Finally, a fractal says nothing about why price turned. It could be results, a block deal, an index rebalance or nothing at all. Treat it as a map of where buyers and sellers pushed back, not an explanation.

Quick recap

A Williams fractal is a five-bar pattern: a high with two lower highs on each side, or a low with two higher lows on each side. It’s confirmed only two bars after the turning point, even though the arrow sits on the turning point itself. Williams used fractals as breakout levels, buying above the last up fractal and selling below the last down fractal, with the Alligator filtering out trendless markets. Stops go at an opposite fractal, and position size does the adjusting. For more indicators and how they fit together, see our technical analysis guide for Indian stocks.

Disclaimer: This article is for educational purposes only and is not investment advice. The examples use hypothetical numbers. Trading involves risk; please do your own research or consult a SEBI-registered adviser before making investment decisions.

Leave a Reply

Join the conversation

Commenting is open to registered readers. Sign up with just your email — no password needed, and it takes under a minute.

Sign up to comment Log in