The doji candlestick occurs when the open and closing price are equal.
An open and close in the middle of the candlestick signal indecision. Long-legged dojis, when they occur after small candlesticks, indicate a surge in volatility and warn of a potential trend change. 4 Price dojis, where the high and low are equal, are normally only seen on thinly traded stocks.
The Doji is a powerful Candlestick formation, signifying indecision between bulls and bears. A Doji is quite often found at the bottom and top of trends and thus is considered as a sign of possible reversal of price direction, but the Doji can be viewed as a continuation pattern as well.
The creation of the Doji pattern illustrates why the Doji represents such indecision. After the open, bulls push prices higher only for prices to be rejected and pushed lower by the bears. However, bears are unable to keep prices lower, and bulls then push prices back to the opening price.
Of course, a Doji could be formed by prices moving lower first and then higher second, nevertheless, either way, the market closes back where the day started.
The chart below of General Electric (GE) stock shows two examples of Doji's:
In a Doji pattern, the market explores its options both upward and downward, but cannot commit either way.
After a long uptrend, this indecision manifest by the Doji could be viewed as a time to exit one's position, or at least scale back. Similarly, after a long downtrend, like the one shown above of General Electric stock, reducing one's position size or exiting completely could be an intelligent move.
It is important to emphasize that the Doji pattern does not mean reversal, it means indecision. Doji's are often found during periods of resting after a significant move higher or lower; the market, after resting, then continues on its way. Nevertheless, a Doji pattern is a great sign that a prior trend is losing its strength, and taking some profits might be well advised.