Dragonfly doji vs hammer is a comparison traders often mix up because both candles show a long lower wick and a close near the high after a decline. The difference is the body. A dragonfly doji opens and closes at almost the same price, right at the high of the bar: a true doji with a long lower shadow. A hammer also has a long lower wick and a close near the high, but it is allowed a small real body. After a drop, both are long ideas once a later candle confirms. In a rally the same shapes mean something else: a hammer-like bar at the highs is closer to a hanging man. This guide puts the two side by side, walks through an illustrative gold entry and points to the real charts below. For the wider doji family see types of doji.
Dragonfly doji vs hammer: the short answer
- Same story, tighter definition. Both reject lower prices. The dragonfly is the strict doji version; the hammer allows a small body near the high.
- Location first. After a decline, near support, both can start a long idea. In the middle of a range they are just long lower wicks.
- Confirmation still matters. Wait for a later close above the pattern high before treating either as a trigger.
- The stop sits below the wick. A few dollars under the low of the dragonfly or the hammer, not inside the shadow.
How to identify each candle
Start with the lower wick. It should be clearly longer than the body, often two or more times as long. For a dragonfly, the open and close sit at or within a tick or two of the high; there is almost no upper wick and almost no body. For a hammer, a small body is allowed near the high and a short upper wick is acceptable. If the open and close are far apart, it is not a dragonfly. If the body sits in the middle of the range, it is not a hammer.
How to trade them
- Dragonfly entry. Buy at the close of a later candle above the dragonfly high.
- Hammer entry. The same rule: buy at the close of a later candle above the hammer high. We use this confirmation close in the example and in the real-data scan.
- Cancel. A close back below the low of the pattern voids the idea.
- Targets. 1R then 2R, or the next clear structure level if it comes first. On gold, 0.01 lot changes by about 1 dollar for each 1 dollar move.

Worked example: an illustrative dragonfly and hammer on gold
Illustrative example only. The prices below were constructed for teaching. They are not taken from a live or historical chart, they are not a past result, and they are not a signal to buy or sell gold, forex or any other market.
Dragonfly doji (long), XAUUSD H1. Gold falls from about 3,810 into a short-term support area. The next candle opens at 3,744, trades down to 3,710 and closes at 3,746, almost at the high: a dragonfly doji. The following candle closes at 3,772, above the dragonfly high of 3,746.
- Illustrative entry: 3,772 (buy at the confirmation close).
- Illustrative stop loss: 3,704, 6 dollars below the low of 3,710. Risk: 68 dollars per ounce.
- Illustrative take profit 1 (1R): 3,840. Take profit 2 (2R): 3,908.
Hammer (long), XAUUSD H1. In a similar decline, the next candle opens at 3,740, makes a low at 3,712 and closes at 3,758. That is a small body near the high, not a doji: a hammer. The following candle closes at 3,780, above the hammer high.
- Illustrative entry: 3,780 (buy at the confirmation close).
- Illustrative stop loss: 3,706, 6 dollars below the low of 3,712. Risk: 74 dollars per ounce.
- Illustrative take profit 1 (1R): 3,854. Take profit 2 (2R): 3,928.
The dollar risk on these H1 wicks is large. Size the lot so the cash risk matches your usual plan; do not copy a 0.01-lot size from a tighter 15-minute example.

Real gold examples: dragonfly doji and hammer on XAUUSD
The charts below use real XAUUSD candles (Dukascopy Bank public data, spot gold, Bid price; times in UTC+7). Nothing on them is edited or invented. We scanned gold’s H1 and M30 history from January 2012 to 30 November 2026 with the rules of our dragonfly doji and hammer guides: entry on the first close above the candle high, stop a small buffer below the long lower shadow, take profit at 2R. 26.6% of 143 dragonfly trades and 33.6% of 639 hammer trades reached 2R before the stop. These are selected winning examples, not typical results.
Example 1: Dragonfly doji, XAUUSD H1, 29 Aug 2023

Real XAUUSD H1 chart (Dukascopy data, UTC+7). Entry $1,920.89, stop $1,914.06, target $1,934.55: +$13.66 per 0.01 lot.
- Pattern: completed on the H1 candle that opened at 29 Aug 2023 19:00 (UTC+7).
- Entry: Buy at $1,920.89, at the close of the confirmation candle, the first close above $1,917.14.
- Stop loss: $1,914.06, a small buffer below the pattern’s stop level at $1,914.36. Risk: $6.83 per ounce (1R).
- Take profit: $1,934.55 (2R). Price passed TP1 at $1,927.72 (1R) and reached TP2 after 1 H1 candles, at 29 Aug 2023 21:00 (UTC+7).
- Result: +$13.66 per 0.01 lot (1 ounce), or +137 pips (1 pip = $0.10).
Example 2: Hammer, XAUUSD M30, 17 Dec 2025

Real XAUUSD M30 chart (Dukascopy data, UTC+7). Entry $4,321.06, stop $4,305.47, target $4,352.24: +$31.18 per 0.01 lot.
- Pattern: completed on the M30 candle that opened at 17 Dec 2025 17:30 (UTC+7).
- Entry: Buy at $4,321.06, at the close of the confirmation candle, the first close above $4,319.86.
- Stop loss: $4,305.47, a small buffer below the pattern’s stop level at $4,306.31. Risk: $15.59 per ounce (1R).
- Take profit: $4,352.24 (2R). Price passed TP1 at $4,336.65 (1R) and reached TP2 after 54 M30 candles, at 18 Dec 2025 23:00 (UTC+7).
- Result: +$31.18 per 0.01 lot (1 ounce), or +312 pips (1 pip = $0.10).
Past results do not guarantee future results. Broker prices, spreads and slippage differ slightly from these data. Trading gold with leverage carries a high risk of loss.
Common mistakes when telling them apart

- Calling every long lower wick a dragonfly, even when the body is clearly not a doji.
- Trading either candle in the middle of a range, or at the highs, without checking the prior trend.
- Entering before a close above the pattern high.
- Putting the stop inside the lower wick, where the same rejection can print again.
FAQ
Is a dragonfly just a hammer with no body?
In practice, yes: it is the doji end of the same rejection. Keep the names honest so a scan or a journal stays consistent.
Which one is more reliable?
The stricter dragonfly appears less often. Reliability still depends on location and the confirmation close, not on the name alone. The real-data scan below reports the 2R hit rate for each on gold.
Can a hanging man look like a hammer?
Yes. The candle shape can be almost identical. After a rally, treat it as a hanging-man idea, not as a hammer long. See hanging man.
Do I need an extra confirmation candle?
We do in this guide and in the scan. Some plans enter at the close of the hammer or dragonfly itself if the bar is strong and the location is clear. The trade-off is a closer stop and more false starts.
Risk note: Trading gold, forex and CFDs with leverage carries a high risk of loss, including the loss of your entire deposit. This article is for information and education only and is not investment advice, not a personal recommendation and not a signal. The worked prices are illustrative. Past patterns do not guarantee future results. Use only risk capital, set a stop loss before you enter, and never size a trade so that one loss can damage your finances.
Related: Dragonfly doji candlestick: how to identify it and an example entry · Hammer candlestick pattern: how to identify it and an example entry · Doji types compared: standard, long-legged, dragonfly and gravestone · Hanging man candlestick pattern: how to identify it and an example entry · Doji candlestick pattern: how to read it and an example entry
Sources: Thomas Bulkowski, The Pattern Site — Dragonfly doji · Thomas Bulkowski, The Pattern Site — Hammer
A note from TopFundTrading
Trading gold, forex and CFDs with leverage carries a high risk of loss, including the loss of your entire deposit. This article is for information and education only and is not investment advice.
If you want to trade larger capital without risking your own savings, you can consider a funded-trader challenge. WeMasterTrade is listed #1 (9.7/10) in TopFundTrading’s own prop-firm ranking – our editorial listing, not an independent rating.
Sign up for a WeMasterTrade account now
Referral link: topfundtrading.com may earn a commission if you sign up through this link.


Français
简体中文
繁體中文
한국어
Русский


