Dalal Street Blogs provides information for educational purposes only and does not constitute investment advice. Please consult a SEBI-registered investment adviser before making any investment decisions.
CAUTION: Dalal Street Blogs publishes market news and educational content only. We do not promote, recommend or endorse any stock, and nothing here is a solicitation to buy or sell securities. Please consult a SEBI-registered adviser before investing.
Technical Analysis

Gravestone Doji Pattern: What the Long Upper Wick Really Tells You

4009
By Dalal Street Blogs EditorialUpdated 9 min read

A gravestone doji pattern looks dramatic on a chart. Buyers push the price well above the open, the rally runs out of steam, and by the close the stock is back exactly where it started, sitting at the bottom of the day’s range. Plenty of traders treat it as a sell signal on sight. The tested numbers say that is too hasty, and this guide walks through why, how to identify the candle properly and how we would actually trade one.

In this article
  1. What a gravestone doji pattern looks like
  2. The story the candle tells
  3. What the testing actually shows
  4. Three filters that improve the odds
  5. How to trade a gravestone doji: wait for the breakout
  6. Worked example with hypothetical numbers
  7. Gravestone doji vs shooting star and other look-alikes
  8. Mistakes we see with this candle
  9. Quick recap

What a gravestone doji pattern looks like

A doji is any candle where the open and the close are equal or almost equal, so the body shrinks to a thin horizontal line. The gravestone is the version where that line sits at the low of the day and a long upper shadow sticks up above it. Put simply: open, low and close are bunched together at the bottom, and the high is far above them. Turn it upside down and you get its mirror image, the dragonfly doji, where open and close sit at the high with a long lower shadow, as the Wikipedia entry on doji candles describes.

Thomas Bulkowski, who has back-tested 103 candlestick patterns on historical price data, gives the identification rules on his gravestone doji page:

  • One candle. It is a single-line pattern.
  • A tall upper shadow and little or no lower shadow.
  • Open and close within pennies of each other. On Indian stocks, read that as within a few paise or a tiny fraction of the day’s range.
  • No prior trend is required for the pattern to count, though most traders only pay attention to it after a rise.

That last point matters. A gravestone in the middle of a sideways, choppy stretch is just noise. One that prints after a sharp run-up, near a level where sellers have shown up before, at least has a story behind it.

The story the candle tells

Think of the session in three parts. The stock opens. Buyers take charge and drive it up, maybe on news, maybe on momentum, maybe because shorts are covering. Then the buying dries up and sellers lean on the price for the rest of the day until it closes right back at the open, which is also the low.

So the day contains a rejected rally. Everyone who bought near the high is sitting on a loss at the close. That is the bearish reading, and it is why the candle got its grim name. The Wikipedia description puts it as a long upper shadow suggesting the trend may be nearing a major turning point.

The candle shows a rally that failed. It doesn’t show that a fall has started. Those are two different things, and the gap between them is where traders lose money.

Notice what the candle does not tell you. It doesn’t say sellers have taken control for the next week. It says that on this one day, higher prices were rejected. The next session can open higher and carry on as if nothing happened, and quite often it does.

What the testing actually shows

This is where the gravestone loses some of its reputation. Bulkowski’s results, from the same page, are blunt:

  • The gravestone doji acted as a bearish reversal only 51% of the time. He calls that random, and it is hard to argue with him. A coin toss would do about as well.
  • Its overall performance rank is 77 out of 103 candlestick patterns he tested, where rank 1 is the pattern followed by the strongest trend. In plain words, price usually doesn’t travel far after the breakout from a gravestone.
  • Its frequency rank is 42 out of 103, so it is neither rare nor one of the most common patterns.
  • He found the candle far more often in bull markets than bear markets, with bullish-market sightings outnumbering bearish ones by about 15 to 1.

Here is the twist. The best result in his table came from the opposite direction to what the name suggests. In a bear market, after an upward breakout, price met the measured target 79% of the time, and the average move over the following 10 days was 5.09%. Bulkowski measures an upward breakout from a close above the top of the candle, so that move starts from above the high of the long upper shadow, not from the low where the doji closed.

One caution before you lean on any of this. These statistics come from Bulkowski’s own test sample, not from Indian market data. Indian stocks have their own quirks: circuit limits, pre-open sessions, different liquidity in small caps. We would treat the numbers as a strong hint about the pattern’s character, not as a probability you can plug straight into a Nifty trade.

A pattern that reverses 51% of the time is not a signal. It is a reason to look closer.

Three filters that improve the odds

Bulkowski lists three tips from his candlestick encyclopedia that separate the better gravestones from the rest:

  1. Location within the yearly range. Gravestone doji candles that appear within a third of the yearly low performed best. That runs against intuition, because most people go looking for them near highs.
  2. Height. Gravestones taller than the median were followed by moves about 50% farther after the breakout than shorter ones. A tiny gravestone with a stubby upper shadow carries less information.
  3. Congestion. Ignore gravestones that form inside congestion areas, where price is already bouncing around in a tight range.

Put together, the gravestone worth your attention is tall, sits in a clean stretch of trend rather than a tangle of overlapping candles, and is judged by where the next breakout goes, not by its name.

How to trade a gravestone doji: wait for the breakout

Since the candle on its own is close to a coin toss, the practical approach is to let the market choose a direction first. Here is how we would set it up on a daily chart.

  1. Mark the high and the low of the gravestone. The high is the top of the upper shadow. The low is roughly where open and close sit.
  2. Bearish case. A daily close below the gravestone’s low is the downside breakout. A short or an exit from longs can be triggered there, with a stop above the gravestone’s high.
  3. Bullish case. A daily close above the gravestone’s high means buyers have reclaimed the whole rejected rally. That is Bulkowski’s upward breakout, and it is the version that tested best in bear markets.
  4. Size the target from the candle. A simple measured target is the height of the candle (high minus low) projected from the breakout point in the breakout direction. This is the method Bulkowski uses for the 79% figure.
  5. Check the context. Is the candle tall? Is it outside a congestion zone? Is there an obvious support or resistance level nearby? If the answers are no, skip it.

Worked example with hypothetical numbers

Let’s run through a made-up case. The stock and the prices below are hypothetical and exist only to show the arithmetic.

Stock X has climbed for six sessions. On day seven it opens at Rs 820, rallies to Rs 856 by midday, and then slides all afternoon to close at Rs 820.40. The day’s low is Rs 819.80.

  • Body: close minus open is Rs 0.40, which is tiny next to the day’s range.
  • Range: high minus low is Rs 856 minus Rs 819.80, or Rs 36.20.
  • Upper shadow: high minus the higher of open and close is Rs 856 minus Rs 820.40, or Rs 35.60. That is about 98% of the whole range.
  • Lower shadow: the lower of open and close minus the low is Rs 820 minus Rs 819.80, or Rs 0.20.

Open and close are within paise of each other, both at the bottom of the range, with a tall upper shadow and almost no lower one. That qualifies as a gravestone doji.

Scenario A, downside breakout. On day eight, Stock X closes at Rs 812, below the gravestone’s low of Rs 819.80. A trader shorting at Rs 812 with a stop just above the high at Rs 857 is risking Rs 45 per share. The measured target is the candle height of Rs 36.20 projected down from the breakout level of Rs 819.80, which gives Rs 783.60. From an entry at Rs 812, that is a potential gain of Rs 28.40 against Rs 45 of risk. The reward is smaller than the risk, so on these numbers we would pass. That happens a lot with tall gravestones, because the stop has to sit above a long shadow.

Scenario B, upside breakout. Instead, day eight rallies and closes at Rs 860, above the gravestone’s high of Rs 856. The rejected rally has been fully taken back. Projecting the candle height of Rs 36.20 up from Rs 856 gives a target of Rs 892.20. A stop below the gravestone’s low at Rs 819 would risk Rs 41 from an entry at Rs 860, against a potential Rs 32.20. Again the ratio is thin, so a trader might use a tighter stop under the breakout day’s own low instead and accept a higher chance of being stopped out.

The example shows the practical problem with this candle. Because its range is mostly shadow, the natural stop is far away, and that makes the risk-reward awkward unless the follow-through is strong.

Gravestone doji vs shooting star and other look-alikes

The gravestone is easy to confuse with a few cousins.

  • Shooting star: also a long upper shadow, but with a small real body rather than the flat line of a doji. Our shooting star candlestick guide covers its confirmation and stop-loss rules. Bulkowski also points readers to the two-candle shooting star as a related pattern.
  • Long-legged doji: long shadows on both sides of the doji line, which Wikipedia describes as reflecting a great amount of indecision about direction.
  • Dragonfly doji: the inverted version, with open and close at the high and a long lower shadow showing a rejected fall.
  • Northern and southern doji: two more doji variants that Bulkowski cross-references, noting that either one could also be a gravestone.

If you are new to single-candle patterns, our primer on single candlestick patterns like the hammer, doji and spinning top is a good place to get the basics straight, and the broader technical analysis guide for Indian stocks shows where candles fit next to indicators and support and resistance.

Mistakes we see with this candle

  • Selling on the candle alone. With a tested reversal rate of 51%, acting before a breakout is close to guessing.
  • Ignoring the opposite breakout. A close above the high can be a better trade than the bearish one people expect.
  • Counting small candles. A short upper shadow on a quiet day isn’t the same signal as a tall rejection after a run-up.
  • Reading it in congestion. Inside a tight range the candle tells you almost nothing.
  • Forgetting the stop distance. The long shadow makes the logical stop far away, so position size has to shrink to keep the rupee risk the same.

Quick recap

A gravestone doji has open, close and low together at the bottom of the candle and a tall upper shadow. It records a rally that was rejected within the day. In Bulkowski’s testing it reversed a trend downward only 51% of the time and ranked 77 out of 103 for performance, while its best showing came from upward breakouts in bear markets. Tall gravestones, ones near the yearly low and ones outside congestion did better. Treat the candle as a prompt to watch for the breakout, then let that close decide the trade.

Disclaimer: This article is for educational purposes only and is not investment advice. The stock and prices in the worked example are hypothetical. Pattern statistics cited are from third-party research and may not hold for Indian markets. Trading involves risk of loss; consult a SEBI-registered investment adviser before making trading decisions.

Leave a Reply

Join the conversation

Commenting is open to registered readers. Sign up with just your email — no password needed, and it takes under a minute.

Sign up to comment Log in