FOREX.com by StoneX logo

Intermediate

Technical analysis

6.5 minute read

Candlestick and chart patterns

Let’s examine how technical traders use the patterns created by candlesticks on a chart to understand and predict market movements. 


What are patterns?

Patterns are recognisable motifs created on charts. Technical traders use them to quickly analyse market behaviour and gain crucial insight into what might happen next – so they can trade accordingly.


Technical analysis is based on the principle that chart patterns will repeat themselves, resulting in the same price action most of the time.  
Say that 90% of the time in the past, a strong rally followed by a period of consolidation has led to a bear run. If a market rallies but then tapers off, a technical trader would see it as likely that another reversal may be on the cards.



Patterns made of one or more candlesticks offer a quick way to spot price action that offers a strong indication of a potential future move. Here are a few key examples.


Candlestick patterns

Candlestick patterns are created by one or more individual sticks on a chart.


Doji

The Doji pattern is formed when a market’s opening and closing prices in a period are equal – or very close to equal. So whatever happened within the candlestick itself, by the end of the session neither buyers nor sellers had the upper hand.


Two candlestick patterns showing green bullish and red bearish candles on a dark blue background.


It is considered a neutral formation, suggesting indecision between bears and bulls.


Doji can come in three main types: long-legged, gravestone and dragonfly.


Three candlestick patterns showing long legged doji gravestone doji and dragonfly doji on a dark blue background


  • In a long-legged doji, there was a significant amount of indecision as buyers and sellers took the market higher and lower before eventually cancelling each other out
  • Gravestone doji indicate that buyers initially pushed prices higher, but sellers took back control and drove them back down again
  • In a dragonfly doji, the opposite occurred – sellers drove the market down, then buyers took over and brought it back up again


Stock price chart showing an upward trend followed by a gravestone doji candlestick pattern indicating potential reversal


The doji is a single-session pattern, which means it is only comprised of one candlestick. However, they become much more useful when taken as part of a wider context. 


For example, a red gravestone doji after a long uptrend may be a sign that a reversal is on the cards.


Candlestick chart showing two doji patterns one followed by bearish reversal and another followed by bullish reversal


Let’s take a look at what might happen within a four-hour gravestone doji to see how.


Initially in the session, the rally continued. But then sellers took over, driving the price down back to the open. If that sentiment continues, then it might be a good time for a short trade.


Wide-ranging bar

A wide-ranging bar looks exactly like it sounds. A long bar that is at least two to three times longer than the sticks that surround it on the chart.


Candlestick chart showing a wide ranging bar highlighted in red during a price movement on a dark blue background


Wide-ranging bars signal strong momentum in the direction of the bar. There is overwhelming buying or selling sentiment, often the result of a major news announcement – although this is not always the case


Trading a wide-ranging bar may seem tempting due to the clear volatility and sentiment. But more often than not, it’s a better idea to take a step back. They can indicate that any pattern present before the wide-ranging bar will no longer hold. Previous support and resistance, too, can be overridden when sentiment is this strong.


Hammer

A hammer has a small body, long lower wick and a small or absent upper wick. It can be red or green, and forms after a downtrend. Hammers are taken as a sign that a bear trend may be about to reverse.


Hammers can look like any of the sticks below:

Two pairs of candlestick patterns showing green bullish and red bearish candles with long lower wicks on a dark blue background


As well as having the appearance of a hammer, they get their name from how they form – in this formation, the market is ‘hammering’ out its low before bouncing up again. Like a dragonfly doji, a hammer signifies that strong selling sentiment was beaten out by buyers before the end of the session.


Pay attention to the length of the lower wick when looking for hammers, as it can tell you about the strength of the formation. Ideally, the wick should be two or three times longer than the body.


Candlestick chart showing a hammer pattern highlighted during a downtrend on a dark blue background


But what if a hammer appears at the end of a bull run instead of a bear one?


This is also a reversal pattern, but in this case, it signals the potential end of the uptrend. And it isn’t called a hammer – it’s called a hanging man.


In a hanging man, sellers took over during the session to postpone a rally. Buyers then pushed the price back up, but weren’t able to send it much past the open. Which means buying sentiment may no longer be strong enough to sustain the uptrend.


Did you know? There are a few other single-session patterns that can be useful. Spinning tops, for instance, are similar to long-legged doji but with a little bit more width on their body. Marubozu, on the other hand, are all body, with no wicks whatsoever.


Inverted hammer and shooting star

You can also look for upside down, or ‘inverted’ hammers. These are also reversal patterns, appearing at the end of bear runs and signalling a potential end to the downtrend.


Two pairs of candlestick patterns showing green bullish and red bearish candles with long upper wicks on a dark blue background


If an inverted hammer appears after a rally, it is known as a shooting star. Again, it is often taken as a sign that the uptrend may be nearing its end.


Candlestick chart showing a shooting star pattern highlighted at the peak of an uptrend on a dark blue background


Confirming hammers

It isn’t wise to jump into a trade the moment you see a hammer. Instead, you’ll want to wait to confirm the move. The simplest method of confirming a hammer is to see whether the previous trend continues in the next session. If it does, then the hammer has failed.


Morning star

Morning stars are a commonly used triple-session candlestick pattern. Like hammers, they offer an indication that a downtrend might be about to end with an impending reversal.


A morning star consists of three candlesticks:

  • A long red candle
  • A small red or green candle that gaps below the close of the previous session
  • A long green candle


If the second candle is a doji, then the chances of a reversal increase. The trend is also seen as being stronger if the final candle gaps above the close of the second one.


Candlestick chart showing morning star and morning doji patterns indicating potential bullish reversal on a dark blue background


A morning star begins with the downtrend intact, as shown by the long red candle and the gap to the next session. However, the second candle indicates indecision, which could be a sign that a reversal is on the cards. Then, the long green candle confirms that the reversal is underway.


Chart patterns

Chart patterns present themselves over lots of trading sessions, so they tend to be longer than candlestick patterns.


Triangle

One of the easiest chart patterns to spot is the triangle.


There are three types of triangle to watch out for: ascending, descending and symmetrical.


Chart patterns showing ascending triangle and descending triangle formations with trendlines on a dark blue background


In an ascending triangle, the bottoms hit by a market get successively higher – indicating a rising trend line. However, the trend pauses as the market fails to hit new highs on the upside. Instead, it keeps bouncing off a strong resistance level.


Often occurring after significant uptrends, ascending triangles are continuation patterns. So if the market breaks through the resistance level, then a new rally may form.


However, if the market drops below the lower trend line then the pattern is voided.


Descending triangles, meanwhile, are the exact opposite. After a downtrend, a market hits a strong support level, but with ever-lower resistance. If the support is broken, a new bear run may appear.


Trading triangles

The simplest way to trade a triangle is to place an entry order just beyond the level of resistance (on an ascending triangle) or support (descending). Then, you can trade the result price action.


It’s often a good idea to place a stop just beyond the opposite trend line. Then, if the pattern fails, your position will close automatically.


Price chart showing descending triangle pattern with marked entry point and stop loss levels for breakout strategy


Symmetrical triangles, flags and wedges

These three patterns all look a little bit different but are similar in how they work. Symmetrical triangles, flags and wedges are all formed by two trend lines that indicate indecision in the market. Then, if either trend line is broken, they may lead to a new rally in that direction.


  • In a symmetrical triangle, two trend lines point towards each other. The first connects a series of lower peaks, while the second connects a series of higher troughs


Chart pattern showing symmetrical triangle formation with converging trendlines on a dark blue background
  • In a wedge, two trend lines point towards each other while sloping in the same general direction. In a rising wedge, the upper and lower trend lines both point up. In a falling wedge, they slope down


Chart patterns showing rising wedge and falling wedge formations with trendlines on a dark blue background


  • In a flag, two trend lines run in parallel while sloping either down (a bullish flag) or up (a bearish flag). Bullish flags appear after a significant move up, while bearish ones appear after a downtrend


Illustration of bullish and bearish flag chart patterns with labeled examples. The bullish flag shows EUR/CHF on a 30-minute chart with an upward breakout, while the bearish flag shows GBP/USD on a daily chart with a downward breakout.


In all of these patterns, the market is in a period of consolidation that is often accompanied by falling volatility and volume.

During the pattern, the market cannot decide whether to break up or down. Once either trend line is broken, there may be a substantial move in the direction of the break.


If the market breaks up, then it may start a rally. If it breaks down, it may signal a bear run.


You can trade any of them by entering a position once the market moves beyond either trend line. Again, it is often a good plan to set a stop just beyond the opposite line, in case the move fails.


Candlestick chart showing a symmetrical triangle pattern with converging trendlines and a red arrow indicating bearish breakout. Price action is contained within the triangle before breaking downward on a dark blue background.

Put your knowledge into practice

Ready to put what you’ve learned to the test? Sign up for a demo account to hone your strategies in a virtual environment with no risk to your capital.

It's your world. Trade it.