Trading is a game of probabilityt. No one can exactly predict the price movement. With given data, by analysing people predict the probability of the price direction. Human being are habitual being. That's why price also have some habits. That's why different chart patterns are formed. And price follows the patterns.