Overview
A pin bar is a chart candlestick, it is characterized by a very long tail that shows rejection and indicates that the market will move in the opposite direction.
The area between the open and close is called the real body, typically all pin bars have a very small real body and a long shadow.
A Bullish pin bar is known for its lower wicks, and the bearish one is characterized by long upper wicks, the color of the candlestick is not quite important, however, bullish candles with white real body are more powerful than candles with a real black body.
On the other hand, a bearish pin bars with black real bodies are more important than the ones with white real bodies.
See how pin bars look like below:

