In a flag formation, the resistance and support lines are nearly parallel and horizontal. The expectation is that the price
will break out of the channel in the same direction as it entered the channel.
The bullish flag pattern has a sharp increase
followed by the horizontal or nearly horizontal lines. The bearish flag pattern has a sharp decline followed by the flag.
The sharp increase or decrease acts as the 'flagpole' of the flag.