SV

Street Verdict

Analyst Scorecard

Candles & patterns

Inverted hammer

Bullish1 candle

Small body at the bottom, long upper wick, after a fall.

Try it

The rules, live

Bend the candles and watch each rule pass or fail. The verdict comes from the same code that counted the stats below.

₹100₹102.5₹105₹107.5the days beforeThe candleHLOC

Drag the handles (H high, L low, O open, C close), or Tab to one and use the arrow keys.

This is an inverted hammer: all 4 rules pass.

  1. BeforeComes after a fall: the day before, the stock closed lower than 5 trading days earlier and below its 10-day average.
  2. CandleThe candle has a small body: open and close are no more than a third of the day's range apart.
  3. CandleLong upper wick: at least 2 times the body. Buyers pushed the price well up during the day.
  4. CandleLittle or no lower wick: at most 10% of the day's range.

These are the exact rules the stats below were counted with, and the ones ta.candlePattern uses in a script. Textbooks differ in the details; every threshold here is fixed and public.

Why traders watch it

What it says about buyers and sellers

After a fall, buyers managed to push the price well up during the day, even though sellers brought it back down by the close. It is read as a first attempt by buyers, and traders wait for the next day to confirm it.

It only counts after a fall: the same shape elsewhere means something else, or nothing.

Honest numbers

What it actually did next on NSE stocks

Every case our rules found in the data, compared with buying on any day.

Verdict · No better than any day

After an inverted hammer, stocks rose 5 trading days later 45.9% of the time, against 46.6% on any day. On these numbers it did no better than picking a day at random. It went its way more often than any day in 2 of 12 years.

Higher 5 days later

45.9%

Any day: 46.6%

Average move

+0.05%

Any day: +0.09%

Typical move (median)

−0.41%

Any day: −0.35%

Cases

30,524

1 Jan 2015 to 25 Sept 2026

Measured from the next day's open (you only know a pattern at the close) to the close 5 trading days after the pattern. The median is the middle case: half did better, half worse. It is below the average because a few big gains pull the average up.

The edge against the cost of trading it

Extra average move up, vs any day
none
Cost of a round trip
0.30%

Over 5 days the pattern added nothing over any day, so there is nothing to pay the costs with.

Year by year: how often higher 5 days later

Inverted hammerAny dayBeat any day in 2 of 12 years
35%40%45%50%55%201520162017201820192020202120222023202420252026

Point at a year for its numbers. Faded years had fewer than 30 cases and don't count.

How these numbers were made
  • Daily candles of 2,032 NSE stocks from 1 Jan 2015 to 25 Sept 2026 (companies with filed financials, so no ETFs or index funds). The rules are the ones shown above, exactly.
  • A day counts only if the stock closed at ₹20 or more and its median daily traded value over the last 20 sessions was at least ₹1 crore, so you could actually have traded it. "Any day" uses the same days, and is weighted to the same years as the pattern.
  • Corporate actions: these prices are adjusted for splits and bonuses. Evidence: RELIANCE's 1:1 bonus (ex-date 28 Oct 2024) shows no overnight halving in this data: ₹1,327.85 close on 25 Oct, ₹1,337 open on 28 Oct. Its 2017 bonus (ex-date 7 Sep 2017) is the same: ₹392.10 close, ₹392.25 open. As a safety net, any stretch with a jump of more than 35% from one close to the next open or close, or a gap of more than 15 days between sessions, was left out (2,634 days).
  • "100 most traded" are the 100 stocks with the highest median daily traded value over their last 250 sessions: mostly large, well-known companies.
  • Only stocks listed today are included. Companies that were delisted or went bust are missing, which flatters every number a little (survivorship bias). Results on the same day across many stocks move together, so the real uncertainty is larger than the case counts suggest; that is why the year-by-year view matters.
  • Costs: a ₹1,00,000 delivery round trip costs about ₹119 to buy and ₹119 to sell (taxes, exchange and depository charges, no brokerage), plus 3 basis points of slippage each way (₹60): ₹298, or 0.30%. Rates are indicative.
  • Built 27 Oct 2026. This is history, not a forecast.

Real charts

Real examples

Look at the pattern first, decide what you expect, then reveal what came next.

DIXON: inverted hammer completed on 1 Nov 2018.

₹400₹450₹5003 Oct 201812 Oct 201824 Oct 20182 Nov 201815 Nov 201827 Nov 2018

These 6 examples come from the 100 most traded stocks and were picked because the shape is clear, not because of what happened next. Prices are adjusted for later splits and bonuses, so they can differ from what was quoted on the day.

Scripting

Use it in a script

In a strategy script, ta.candlePattern(bars, "inverted-hammer") gives one true or false per candle: true on the day the pattern completes, by exactly the rules above.

function run(bars, ta, helpers) {
  // Buy after a inverted hammer, sell 5 trading days later.
  // The signal goes on the day the pattern completes; the backtest
  // fills it at the next day's open.
  const hit = ta.candlePattern(bars, "inverted-hammer");
  const signals = [];
  let sellOn = -1;
  for (let i = 0; i < bars.length; i++) {
    if (sellOn === -1 && hit[i]) {
      signals.push(helpers.buy(i, "inverted hammer"));
      sellOn = i + 5;
    } else if (i === sellOn) {
      signals.push(helpers.sell(i, "5 days later"));
      sellOn = -1;
    }
  }
  return signals;
}
New to scripts? Start with the Writing strategies track

Check yourself

Spot the inverted hammer

  1. 1. Is the last candle an inverted hammer?

  2. 2. Is the last candle an inverted hammer?

  3. 3. Is the last candle an inverted hammer?

Get all 3 right to tick this pattern off.