Candlestick patterns › Doji
A doji is a candle whose open and close are almost the same price, so its body is a thin line between two wicks.
The body is the part that matters: it is so small that the candle looks like a cross or a plus sign. The wicks can be any length. A doji with two long wicks is often called long-legged; one with only a lower wick, a dragonfly; one with only an upper wick, a gravestone.
A doji can form on any chart: a five-minute candle, a day or a week.
A doji is traditionally read as indecision: during the period buyers and sellers moved the price, and it ended where it started. After a long run in one direction it is often read as a possible pause. On its own it is given no direction, which is why the app marks it as neutral.
That is the tradition. Whether a pattern says anything about what came next is a question for a test: our candlestick pattern studies show how we test one.
The app uses the definition of TA-Lib, an open-source technical analysis library, at its default settings. "Average" below means the average over the ten candles before the pattern.
The marubozu is the opposite shape: all body and almost no wick. Marubozu explained
Doji: 163,440 times in 1,170,078 stock-days (one stock on one trading day), about once every 7 trading days for a single stock. It appeared at least once on 499 of the 500 stocks.
Counted by the app's own detector on the daily bars of the 500 stocks in the S&P 500 on 30 September 2026, from October 2016 to September 2026; a company listed later counts from its first day, and companies that left the index before then are not in the sample. This counts the pattern only: what followed it is not measured here.
On Charts, the Candle patterns layer marks each doji the detector finds. In the strategy, alert and event builders the same pattern is a condition, which can be combined with others, such as a trend filter: the strategy builder shows how. Candle patterns are available on Premium and lifetime accounts. On our stock data the chart shows a closing-price line with the markers; with your own Tiingo key connected, the chart shows full candlesticks.
Hammer
Inverted hammer
Hanging man
Shooting star
All 14 patterns · Engulfing patterns, tested
See the patterns on a chart
On Premium and lifetime accounts, GU Analyser marks each of these patterns on a chart and uses it as a condition in a backtest or an event study. Charts, indicators and backtests are free on the S&P 500 ETF, no card.
Create a free account → Try the demo — no registration or start with the courses →