---
type: "Lesson"
title: "Doji candlestick"
description: "A doji is a candlestick whose open and close are equal or almost equal, so its body is a thin line with shadows above, below or both."
tags: ["doji","doji candle","dragonfly doji","gravestone doji","long legged doji","indecision candle"]
sources: [{"id":"s1","resource":"https://en.wikipedia.org/wiki/Doji"}]
generated: {"by":"process:eqdoc-okf-export","at":"2026-10-25"}
stale_after: "2027-04-25"
x-eqdoc-id: "ta-doji"
x-eqdoc-reviewed-at: "2026-10-25"
x-eqdoc-questions: ["What is a doji candlestick?","What does a doji mean on a chart?","Explain dragonfly and gravestone doji"]
x-eqdoc-licence-note: "Written by eqdoc in its own words; facts checked against the CC BY-SA page listed"
---

A doji is a candlestick whose open and close are equal or almost equal, so its body is a thin line with shadows above, below or both.

- **What it shows:** price moved during the period but ended where it started. Neither side won the session. It is conventionally read as indecision or balance.
- **How "almost equal" is judged:** there is no single rule. A common working test is a body no bigger than about 5% to 10% of the candle's full high-to-low range.
- **Main types:**
  - **Standard doji:** short shadows on both sides, a small cross.
  - **Long-legged doji:** long shadows both ways; price swung widely and came back to the open.
  - **Dragonfly doji:** open, close and high at or near the top, with a long lower shadow. Price fell during the period and recovered fully.
  - **Gravestone doji:** open, close and low at or near the bottom, with a long upper shadow. Price rose and gave it all back.
- **How analysts read it in context:** after a long run up, a doji is often read as the advance losing momentum; after a long fall, as the decline losing momentum. In a sideways market it usually carries little meaning because indecision is already the norm. Many analysts wait to see the next candle before reading anything into it.
- **What it does NOT tell you:** direction. A doji is not a reversal by itself; trends often continue straight through one. It says nothing about how far price might move.
- **Pitfalls:** on very short timeframes, or for thinly traded shares, dojis appear constantly and mean little. A stock with a small rupee price can print an exact doji simply because of the tick size.
- **Software note:** TA-Lib has pattern-recognition functions for it: CDLDOJI, plus CDLDRAGONFLYDOJI, CDLGRAVESTONEDOJI, CDLLONGLEGGEDDOJI and CDLDOJISTAR.
- **India note:** candles on NSE charts are built from the regular trading session, so a daily doji compares the auction-set opening price with the official close.
