The stock should be in Uptrend. That is, the share price should be increasing. After that, the Shooting Star candlestick pattern was formed. Whereas in the Inverted Hammer candlestick pattern, the stock price should have been falling and the stock should have been in a downtrend.