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.
- Wick at least the chosen share of the candle's range
- Candle at an extreme of the last 20 candles
- Long after a bullish pin (long lower wick), short after a bearish one
| Setting | Default | What it does |
|---|---|---|
| Wick share | 0.66 | Minimum wick length as a share of the candle. Higher = cleaner, rarer pins. |
| Minimum size | 0.8 × ATR | Ignore tiny candles. |
Default exits: Stop beyond the wick, target 2R
Free with an account
Read the full Pin bar / hammer rejection guide
Create a free account to keep reading. It takes a minute, and you can practise and test this strategy straight after.
- ✓ What forms the setup, with pattern diagrams
- ✓ How to read the chart, step by step
- ✓ Exactly where to enter, stop and take profit
- ✓ Real examples and what happened next
- ✓ When it works, and when it doesn't
- ✓ How its setups did on this platform
- ✓ Common mistakes and a pre-trade checklist
- ✓ The evidence and references