EdgeProof

Strategies / Price action

Pin bar / hammer rejection

A long wick that makes a new 20-candle extreme and gets pushed back: trade away from the wick, when the location earns it.

beginner15m · 1h · 4h · 1dTestableTested in published research

Overview

A pin bar is a candle with one long wick and a small body at the other end. During the candle, price pushed hard in one direction and was pushed back before the close. Traders read that as a rejection: the market tried a new price and refused it. A bullish pin (often called a hammer) has a long lower wick. A bearish pin (a shooting star) has a long upper wick.

On this platform a pin bar only counts when its wick makes a new 20-candle extreme. A bullish pin must reach a low at or below the lowest low of the previous 20 candles. A bearish pin must reach a high at or above the highest high of the previous 20. This ties the pattern to a place where a rejection can mean something, instead of firing in the middle of a range.

Be honest about the evidence. Marshall, Young & Rose (2006) tested candlestick patterns on Dow stocks from 1992 to 2002 and found no value in the patterns on their own. Practitioners such as Nison (1991) and Brooks (2012) use them only with context: a level, a trend, a stretched move. So treat the pin as a trigger, and spend your effort judging the context around it. That judgment is what a test on this platform measures.

The exact rules we test

These are the rules the platform runs over market history to find setups. Every setup you'll see in practice and tests matched them on a closed candle.

  1. Wick at least the chosen share of the candle's range
  2. Candle at an extreme of the last 20 candles
  3. Long after a bullish pin (long lower wick), short after a bearish one
SettingDefaultWhat it does
Wick share0.66Minimum wick length as a share of the candle. Higher = cleaner, rarer pins.
Minimum size0.8 × ATRIgnore tiny candles.

Default exits: Stop beyond the wick, target 2R

What forms the setup

The long wick

The rejection. The wick is measured from the edge of the body to the tip, and it must be at least 66% (about two thirds) of the candle's full range. The body's colour does not matter.

Body and nose

The body plus the short wick on the other side take up at most a third of the candle. A close right at the far end from the wick shows the cleanest rejection.

New 20-candle extreme

The wick must reach beyond every low (bullish) or every high (bearish) of the previous 20 candles. The pin is testing the edge of recent trading, which is where stops and fresh orders tend to sit.

Size filter

The candle's high-to-low range must be at least 0.8 times the 14-candle ATR. Tiny pins in a quiet market are ignored because a small wick says little.

How to read the chart, step by step

  1. Wait for the candle to close. A pin only exists once the candle has closed. Halfway through the candle a long wick can still turn into a big body. The platform decides on closed candles only, and so should you.
  2. Check the size. Measure the candle from high to low. It must be at least 0.8 ATR. If it is smaller, there is no setup.
  3. Measure the wick. For a bullish pin, take the lower of the open and close, subtract the low, and divide by the range: it must be at least 0.66. For a bearish pin, do the same with the upper wick.
  4. Confirm the 20-candle extreme. A bullish pin's low must be at or below the lowest low of the 20 candles before it. A bearish pin's high must be at or above the highest high of those 20. If not, the rules do not flag it.
  5. Name the level. Now judge quality. Did the wick probe something you can name: an older swing low, a round number, the edge of a trading range? A wick into a real level is a stronger rejection than a wick into empty space.
  6. Read the trend and the stop. Check the higher-timeframe trend: a bullish pin on a pullback in an uptrend is very different from the fifth new low in a falling market. Then look at the stop distance. A huge pin means a wide stop and a far target.

Entry

You enter at the close of the pin candle itself: long after a bullish pin, short after a bearish pin. You do not wait for a break of the pin's high or a retrace into the wick. The decision uses only candles that have already closed.

Stop

The stop sits 0.1 ATR beyond the tip of the wick: below the low for a long, above the high for a short. Because the wick is at least two thirds of the candle, your risk is at least that much of the candle's range plus the small buffer. The platform falls back to a 1.5 ATR stop only when a structural stop is on the wrong side or closer than 0.1 ATR, which a valid pin never triggers, so the stop is always the wick.

Target

The rules give no natural target. In tests you set the reward as a multiple of the stop distance, from 1R to 4R, and the same multiple applies to every setup; the library card suggests 2R. Before you take a pin, look at what sits between your entry and that target. A recent swing or level in the way makes the target harder to reach. A trade that hits neither stop nor target within the test window is closed at the last candle's close.

Real examples and what happened

Three setups from the practice pool, with the 2R outcome after costs. Faded candles are what came next; the ring marks the exit.

Entry 1.35805Stop 1.359622R 1.35491
GBP/USD 1h short · 2025-08-14 · +1.92R
Entry 1.07824Stop 1.079702R 1.07533
EUR/USD 1h short · 2023-06-13 · -1.07R
Entry 1.07088Stop 1.069012R 1.07462
EUR/USD 1h long · 2023-02-10 · -1.05R

When it works, and when it doesn't

Helps

  • The wick probes a level you can name: an older swing point, a round number, the edge of a range or the session's high or low.
  • The move into the pin was stretched: several candles in one direction and price far from its recent average.
  • The higher-timeframe trend agrees with the pin, for example a bullish pin at the end of a pullback in an uptrend.
  • The pin forms in an active session (London, New York or their overlap), so the rejection had real participation behind it.
  • At meaningful levels with context.

Hurts

  • A strong, clean trend against the pin, where each new 20-candle low is just the next step of the move.
  • A wick made by a news spike, where the range is mostly noise rather than a considered rejection.
  • No level anywhere near the wick: price simply made a new short-term extreme in open space.
  • A very large pin of several ATR: the stop is wide, so even 2R needs an unusually big follow-through.
  • On their own, without a level.

How its setups did on this platform

From 1,803 practice-pool setups at a 2R target after costs: 31% reached a profit, average -0.18R per setup. This is the rules alone, taking every setup. Your job in a test is to beat that by choosing.

ConditionSetupsWonAverage
Session: Asia33135%-0.07R
Session: London56629%-0.24R
Session: New York38728%-0.28R
Session: London/NY overlap40934%-0.08R
Session: Off-hours11029%-0.21R
High-volatility regime35335%-0.04R
Weekend gap12234%-0.08R
Strong trend87833%-0.11R
Month / quarter end10332%-0.12R
Tight Asian range107531%-0.18R
Low-volatility squeeze23429%-0.21R
Range day (so far)15429%-0.22R
Gold fix windows40129%-0.23R
New York reversal19729%-0.24R
Trend day (so far)31427%-0.30R
London open window26526%-0.33R
Holiday-thin trading16026%-0.34R

Past results on historical data; small groups are noisy. Use it to ask better questions, not as a promise.

Common mistakes

  • Calling every long-wick candle a pin. The rules need a two-thirds wick, a 0.8 ATR range and a new 20-candle extreme.
  • Entering before the candle has closed, when the wick can still disappear.
  • Fading strong trends at every new low or high because a pin appeared.
  • Tucking the stop inside the wick to improve the reward. The wick tip is the level the pattern says should hold.
  • Judging by body colour. A red-bodied hammer is still a bullish pin if the wick and location are right.

Pre-trade checklist

  • ☐Is the wick at least two thirds of the candle?
  • ☐Is the candle at least 0.8 ATR tall?
  • ☐Does the wick make a new 20-candle high or low?
  • ☐Can you name the level the wick tested?
  • ☐Is the higher-timeframe trend not strongly against the trade?
  • ☐Is the stop distance sensible for the target you chose?
  • ☐Is the path to the target free of a nearby level?

Practising it

  • In the Practice Center, write one short note on the level the wick tested before you decide. The reveal is instant, so after 30 to 50 pins compare the ones where you named a level with the ones where you could not.
  • Use skip tags consistently, for example trend against, no level, stop too wide. Patterns in your skip reasons show which filters actually help.
  • In a test, every pin you see already meets the rules. Your score compares your picks with random picks from those same pins, so the only way to beat it is better context judgment, not better pattern spotting.

Evidence

Tested in published research. Candlestick patterns alone showed no value on Dow stocks 1992–2002 (Marshall, Young & Rose). Practitioners (Nison, Brooks) use them only with context; test with a level or trend filter.