CustomTradingPlatform .com
Log in Get started free
Home / Technical Analysis / Candlestick patterns / Dragonfly Doji

Candlestick formation · Bullish

Dragonfly Doji

What is it, in one line

A doji whose open and close sit at the top of the range.

Bullish · 1 candle · verdict: rule and thresholds below

Bullish 1 candle Traditional claim
Dragonfly Doji — 11 price bars ending on the bar where the Dragonfly Doji completes. The final bar is the formation, shaded; the bars before it are the prior context the rule requires.
Verified example · fires the Dragonfly Doji rule · not a schematic

What has to be true

A doji whose open and close sit at the top of the range. The engine checks the formation as an executable condition over open, high, low and close, with a trend filter applied before the count is kept.

candles = 1 candle
direction = Bullish
trend filter = prior decline
forward window = 10 bars

Method

What the engine tests

A candle with a negligible real body positioned at the very top of its range, leaving a long lower wick and almost no upper one. It is the limiting case of a hammer: the same silhouette with the body shrunk to nothing.

Family
Candlestick
Bars
Single bar
Direction
Bullish
Class
Reversal
Prior context
None required
TA-Lib
CDLDRAGONFLYDOJI

The traditional claim

Traditionally read as a bullish reversal signal, and usually said to carry more weight than an ordinary doji because of where the body sits.

How this detection is wrong

Overlaps with hammer by construction — a hammer with a small enough body satisfies both, and both detections are reported rather than arbitrated. The range floor exists because a near-flat illiquid bar also satisfies the body test.

The thresholds the detector uses

Published so the count can be reproduced. Every figure below is a parameter of the rule, not a preference: change one and the occurrence count changes with it.

Detection parameters for the Dragonfly Doji
ParameterMeaningDefault
maxBodyPctbody, at most, as a share of the range0.05
minLowerPctlower wick, at least, as a share of the range0.6
maxUpperPctupper wick, at most, as a share of the range0.1
minRangeAtrbar range, at least, in ATR0.1
atrPeriodbars of ATR used to size everything below14
strict
Tighter thresholds. Fewer detections, each a cleaner example.
maxBodyPct 0.02 · minLowerPct 0.75
loose
Wider thresholds. More detections, more marginal ones.
maxBodyPct 0.1 · minLowerPct 0.5
no-liquidity-filter
minRangeAtr 0

Easily mistaken for

These share enough geometry that a detector can return more than one of them on the same bar. The engine reports every match rather than picking a winner.

Every pair on the site that can be mistaken for another, and what separates each: the look-alikes index.

Common questions

What is a Dragonfly Doji candlestick pattern?

A candle with a negligible real body positioned at the very top of its range, leaving a long lower wick and almost no upper one. It is the limiting case of a hammer: the same silhouette with the body shrunk to nothing.

Is the Dragonfly Doji bullish or bearish?

It is read as bullish. Traditionally read as a bullish reversal signal, and usually said to carry more weight than an ordinary doji because of where the body sits.

When is a Dragonfly Doji not a Dragonfly Doji?

Overlaps with hammer by construction — a hammer with a small enough body satisfies both, and both detections are reported rather than arbitrated. The range floor exists because a near-flat illiquid bar also satisfies the body test.

How is a Dragonfly Doji detected?

As an executable rule over open, high, low and close, with 5 named parameters — including body, at most, as a share of the range 0.05, lower wick, at least, as a share of the range 0.6, upper wick, at most, as a share of the range 0.1 — all published on this page so the count can be reproduced. Strict and loose variants are defined as well, so the sensitivity of the count to those thresholds is visible rather than assumed.

Measurement pending re-run

No hit rate is published here yet. The run that would supply one was computed on engine ca6d9e36c81c; the engine is now cfb08765de7c. Its candlestick rows included the still-forming bar, and it predates the chart formations entirely, so those figures have been withdrawn rather than published with a caveat. The definition above is unaffected: it is what the detector tests, and no re-run changes it.

This formation has a mirror

Gravestone Doji

Its mirror is the same construction inverted, read in the opposite direction. Everything the two rules test is the same except the sign, so the thresholds on this page apply equally to both — and a result measured for one says nothing about the other until the other is measured too.

Gravestone Doji: A doji whose open and close sit at the bottom of the range, with a long upper wick.

How this was measured →

Other single-candle formations

All 107 →
Gravestone Doji A doji whose open and close sit at the bottom of the range.
Long-Legged Doji A doji with long wicks on both sides of the body.
Rickshaw Man A long-legged doji whose body sits near the middle of the range.
Spinning Top Small body, wicks both sides. The most common formation in the set.

Size a trade on this setup before you take it.