A doji is a candle whose open and close are equal or sufficiently close under a stated tolerance, leaving a small real body. Conventional variants include long-legged, gravestone and dragonfly doji. The shape is often interpreted as indecision, but OHLC prices alone do not prove balanced supply and demand or a future reversal. A doji on M1–M5 is not automatically worthless, and one on a longer timeframe is not automatically superior. Its use requires a precisely defined context and trading rule, including execution costs.
Example. In an illustrative USD/JPY H4 scenario after a rise, a gravestone-like doji forms near a 150.00 reference area: open and close are near 149.80, while the upper wick reaches 150.40. The bar shows that higher quoted prices occurred within the interval and the close returned near the open. It does not prove that supply and demand balanced or that the trend must reverse. A candidate rule might require the next candle to close below the doji body and specify the relevant resistance context. That condition is a hypothesis to test. A similar M1 candle is not automatically worthless, just as the H4 candle is not automatically a reliable directional signal.
Open–Close tolerance
A possible definition requires |C−O| ≤ 5% × (H−L) and a nonzero range. With a 20-pip range, a body up to one pip passes. This is an explicit convention, not every platform’s standard. Zero range and small price increments need separate criteria.
Wicks and variants
Define relative lengths of both wicks and body location. Gravestone and dragonfly variants can need tolerance for a short opposite wick. Without it, “no wick” can mean exactly zero or a small value, producing different labels across readers or software.
Signal after completion
A doji can lose that shape before its bar closes. If entry requires a subsequent close in a particular direction, the signal is available later and can also expire. Preserve every qualifying doji in the sample, not only those preceding attractive reversals.
FAQ
Does a doji mean that the trend will reverse?
No. It means the selected open and close are equal or close under a stated tolerance. It is often interpreted as indecision, but OHLC prices alone do not prove balanced supply and demand. A trend, level and subsequent-bar condition can define a rule to test, not a guaranteed reversal.
What are the main types of doji?
A conventional doji has wicks on both sides of a small body. A long-legged doji has long wicks; a gravestone has a long upper wick and little lower wick; a dragonfly has a long lower wick and little upper wick. Their shape and location describe different price paths, but do not rank future reliability by themselves.
Is a doji on a short timeframe meaningless?
On a short interval, a small body can reflect a small move relative to the price increment and the feed’s aggregation. Spread does not automatically create a doji in candles built solely from bid prices, although it affects the strategy’s execution and outcome. M1–M5 is not inherently worthless, just as H4 or daily bars do not guarantee better signals. Specify the OHLC source, timezone and rules and evaluate the result after costs.
How can a doji be used in a trading rule?
Specify the tolerance between open and close, wick requirements, surrounding structure and any confirmation condition before testing. For example, the next bar’s close in a chosen direction may be required. The doji itself is a price description rather than a complete entry, risk and exit plan.
Editor-in-chief, ForexMechanics.com • Macro & FX analyst
Independent analyst and practitioner with over 20 years of experience in financial markets. Actively involved in Forex since 2007, with a focus on fundamental analysis, OTC market structure, and disciplined capital risk management.
Creator and editor-in-chief of MyBank.pl, providing reliable financial education since 2004.
Author of hundreds of in-depth market commentaries, structural analyses, and educational materials for traders and investors.
Advocate for market transparency, promoting education grounded in hard data and institutional reports (BIS, ESMA, CFTC).
All content is educational and informational only – it does not constitute investment advice or a recommendation. Remember: leveraged trading (Forex/CFD) carries a high risk of rapid capital loss.