How to trade the doji candlestick pattern

Article By: ,  Former Senior Financial Writer

Doji might be simple candlestick patterns, but they can unlock some powerful strategies. Let’s examine how to trade the doji candlestick pattern.

What is the doji pattern?

The doji pattern is a single candlestick that appears on trading charts. It has little to no body, meaning that the market’s opening and closing prices for the period were roughly (or exactly) the same.

That might not sound like it provides much of a signal on where the market’s headed next. But depending on where the doji lands, and what type of doji you see, it can be a hugely useful pattern.

Learn more about candlestick patterns.

 

Types of doji candlestick pattern

There are four types of doji that you’ll generally encounter on trading charts: long-legged, dragonfly, gravestone and four-price. Let’s look at each one.

 

 

Long-legged doji

Long-legged doji have a long wick on both sides, indicating a lot of volatility within the session. Bulls sent the market up, bears sent it down – but by the end neither had the upper hand.

If you spot a long-legged doji with a slightly wider body, you have a spinning top.

 

Dragonfly doji

A dragonfly doji has a long upper wick and little to no lower wick. The market saw strong buying sentiment in the period, but by the end of the period it had been cancelled out. This can be a sign that an uptrend is coming to an end, or perhaps that a downtrend is set to continue. After all, it looks the sellers ended the session in control. 

Seen a dragonfly with a wider body? This could either be an inverted hammer or a shooting star.

 

Gravestone doji

Gravestone doji are the exact opposite of dragonflies. A long lower wick, signalling a bear run that reversed by the session’s end, and nothing (or close to nothing) on the other side. A gravestone doji on a downtrend can be a reversal signal, whereas it might point to a continuation of bullish price action. 

A gravestone doji with a wider body can either be a hammer or a hanging man.

 

Long-legged doji

Long-legged doji have a long wick on both sides, indicating a lot of volatility within the session. Bulls sent the market up, bears sent it down – but by the end neither had the upper hand.

If you spot a long-legged doji with a slightly wider body, you have a spinning top.

 

Four-price doji

A four-price doji, finally, is a candlestick with little to no body and little to no upper or lower wick. They’re extremely rare, but easy to spot because they almost look like a gap on the chart.

The market saw barely any volatility whatsoever, close to flatlining with the open, close, high and low prices all equal: hence the name. Essentially, it’s the exact opposite of a long-legged doji. 


Doji star patterns

Context is hugely important with doji. One key example of doji in context is the doji star pattern, which contains a doji as the second candlestick in a three-stick run. A doji star is seen as a strong signal for a reversal.

This pattern comes in two varieties: the bullish doji star (also called a morning star) and the bearish doji star (called an evening star).

Bullish doji star

In a bullish doji star, a long red candle appears at the end of a bear run, followed by a doji. Then, at the end of the pattern, a long green stick shows the beginning of a new upward move. Essentially, the doji shows the moment of indecision as the sellers start to lose out to buyers – but it’s the candles on either side that give context to the move.

You can also form a doji star with a spinning top in the middle, but the signal isn’t as strong.

Bearish doji star

The opposite of a morning star is an evening star pattern. Here, a long green candlestick appears on an uptrend, but the bull run pauses with a doji. Then, it reverses with a long red stick which kicks off a new downtrend.

Again, the doji is the key candlestick here, showing the moment that momentum began to turn.

Learn more about how to trade the morning star pattern.

Practise trading doji

You can try out trading doji risk free with a City Index demo account. It gives you virtual funds to hunt for doji across 1000s of live markets, including forex, indices, shares and more.

Open your City Index demo here.

 

What does a doji mean?

Whichever type of doji you encounter on the markets, it usually means that sentiment is split. Neither bulls nor bears had the upper hand by the end of the session, despite any price action that occurred within.

On a flat or rangebound chart, that might not provide much to go on. But if you spot a doji in a strongly trending market, it could be a sign that momentum could be waning, signalling a possible impending reversal.

Say, for example, that you find a dragonfly doji after a long bear run.

The long lower wick tells us that the market continued to fall at the beginning of the period. But by the end, buyers had intervened, and all the losses had been overcome. If that continues, then the downtrend might be over.

Doji don’t always mean a reversal is on the way, however. Say that we spotted a gravestone doji on our bear run instead. Here, buyers stepped in to try and take control early in the session – but were swiftly beaten back by sellers. If that price action continues, then the bear run will carry on, making it a continuation pattern.

What long-legged and four-price doji mean

So far, we’ve mostly focused on the dragonfly and gravestone doji. That’s because they appear more often and give a clearer prediction of possible future movement. Long-legged and four-price doji work a little bit differently.

Long-legged doji offer the clearest possible sign of indecision in a market, with wild price swings as bulls and bears vie for control. That doesn’t necessarily mean that a reversal or a continuation is on the cards. Instead, the market could break up or down depending on who comes out on top.

Four-price doji, on the other hand, may be a sign that liquidity is low. There’s not enough volume to drive any price action whatsoever. If this is the case, then you might be best off staying out of the market until trading picks up again.

How to trade doji

How you trade a doji depends on the signal your pattern is generating. The most common signal from a doji is a possible impending reversal – after all, they offer a sign of indecision, which tends to precede a change in direction.

Like any reversal pattern, you can trade a doji by opening a position that profits from the possible reversal. In our dragonfly example above, you’d buy the market in the hope that buyers can take control.

However, a doji on its own isn’t necessarily a strong signal, so you’ll want to make sure that you have a stop loss in place – and that you’ve confirmed any likely move.

Setting your stop loss with a doji

Unlike some other patterns, doji can’t typically tell you where to place your stop loss. Instead, the general rule of thumb is to find a nearby level of support (for a short trade) or resistance (for a long one) and put your stop loss just beyond it.

After all, if your chosen market is breaking through significant levels in the opposite direction to your predicted price action, chances are your trade has failed.

Confirming a doji trade

To help ensure that the trend you’re hoping for has actually kicked off, wait for a couple of periods before opening a position. If the next two candlesticks show strong movement in the right direction, it’s more likely that a new trend has formed.

However, on their own doji aren’t hugely strong signals. So, you may want to consider using them as part of a wider confirmation strategy.

Some traders, for example, might use technical analysis tools like the relative strength index (RSI) or stochastic oscillator to find opportunities first and foremost. Then, if their indicator points to an impending reversal, they’ll look for a doji as an extra sign that momentum is switching.

Start trading doji patterns

Follow these steps to start trading doji with City Index today:

  1. Open your City Index account. Open your City Index AU or City Index SG account here
  2. Search for your chosen markets on our advanced platforms for desktop or mobile
  3. Start looking for doji on advanced TradingView charts
  4. Open your position with seamless execution

Doji trading strategy example

Finally, let’s examine what a doji trading strategy might look like. For this example, we’re going to look at trading EUR/USD using a combination of doji and the Fibonacci retracement tool.

The Fibonacci retracement tool is a technical indicator that plots possible areas of reversal on a chart, after a market has made a significant move. As such, the first step in our doji trading strategy is to watch for EUR/USD to make a big move – for instance, from 0.9960 to 1.0180 – before a countertrend takes over.

Using the beginning and end of the original move, the Fibonacci retracement tool will predict some possible areas where the market might retrace once more and resume its original bullish run: at 23.6%, 38.2%, 50% or 61.8% of the original move.

These are possible areas of reversal, but we’ll want a signal that the market is going to retrace before we consider trading. One such signal could be a doji. If we spot a doji on one of the Fibonacci levels, then it’s a stronger sign that the countertrend may be over.

A doji at the 38.2% level, for example, means it could be time to trade.

Confirming our doji

We’ve aligned two signals two create this opportunity, but it’s still a good idea to wait for confirmation before we open the position. In this case, we could see if the next session takes the form of a green candlestick, which could be the resumption of the original bull trend.

Stop losses and take profits

We can use the Fibonacci tool for our maximum loss and target profit here, too. If the market continues down to the next Fibonacci level, then our trade has likely failed, so this makes a good area for our stop loss.

Conservative traders can choose the next level up for their profit target, or if you believe a stronger trend will take over then you can look to the 50% or 61.8% areas. 

This report is intended for general circulation only. It should not be construed as a recommendation, or an offer (or solicitation of an offer) to buy or sell any financial products. The information provided does not take into account your specific investment objectives, financial situation or particular needs. Before you act on any recommendation that may be contained in this report, independent advice ought to be sought from a financial adviser regarding the suitability of the investment product, taking into account your specific investment objectives, financial situation or particular needs.

StoneX Financial Pte. Ltd., may distribute reports produced by its respective foreign entities or affiliates within the StoneX group of companies or third parties pursuant to an arrangement under Regulation 32C of the Financial Advisers Regulations. Where the report is distributed to a person in Singapore who is not an accredited investor, expert investor or an institutional investor (as defined in the Securities Futures Act), StoneX Financial Pte. Ltd. accepts legal responsibility to such persons for the contents of the report only to the extent required by law. Singapore recipients should contact StoneX Financial Pte. Ltd. at 6826 9988 for matters arising from, or in connection with the report.

In the case of all other recipients of this report, to the extent permitted by applicable laws and regulations neither StoneX Financial Pte. Ltd. nor its associated companies will be responsible or liable for any loss or damage incurred arising out of, or in connection with, any use of the information contained in this report and all such liability is hereby expressly disclaimed. No representation or warranty is made, express or implied, that the content of this report is complete or accurate.

StoneX Financial Pte. Ltd. is not under any obligation to update this report.

Trading CFDs and FX on margin carries a high level of risk that may not be suitable for some investors. Consider your investment objectives, level of experience, financial resources, risk appetite and other relevant circumstances carefully. The possibility exists that you could lose some or all of your investments, including your initial deposits. If in doubt, please seek independent expert advice. Visit www.cityindex.com/en-sg/terms-and-policies for the complete Risk Disclosure Statement.

ALL TRADING INVOLVES RISKS. LOSSES CAN EXCEED DEPOSITS.

City Index is a trading name of StoneX Financial Pte. Ltd. (“SFP”) for the offering of dealing services in Contracts for Differences (“CFD”). SFP holds a Capital Markets Services Licence issued by the Monetary Authority of Singapore for Dealing in Exchange-Traded Derivatives Contracts, Over-the-Counter Derivatives Contracts, and Spot Foreign Exchange Contracts for the Purposes of Leveraged Foreign Exchange Trading. SFP is also both Derivatives Trading and Clearing member of the Singapore Exchange (“SGX”). SFP is a wholly-owned subsidiary of StoneX Group Inc.

The information provided herein is intended for general circulation. It does not take into account the specific investment objectives, financial situation or particular needs of any particular person. You should take into account your specific investment objectives, financial situation or particular needs before making a commitment to invest, including seeking advice from an independent financial adviser regarding the suitability of the investment, under a separate engagement, as you deem fit. No representation or warranty is given as to the accuracy or completeness of this information. Consequently, any person acting on it does so entirely at their own risk.

The information does not represent an offer of, or solicitation for, a transaction in any investment product. Any views and opinions expressed may be changed without an update. To understand the risks and costs involved, please visit the section captioned “Important Information” and the “Risk Disclosure Statement”.

The information herein is not directed to, or intended for distribution to or use by, any person or entity who is a citizen or resident of or located in any locality, state, country or other jurisdiction where such distribution, publication, availability or use would be contrary to law or regulation.

StoneX Financial Pte. Ltd. 1 Raffles Place, #18-61, One Raffles Place Tower 2, Singapore 048616. Tel: 6309 1000. Co. Reg. No.: 201130598R.

This advertisement has not been reviewed by the Monetary Authority of Singapore.

© City Index 2024