A very small portion of price action is spent trending. Mostly, prices consolidate in a range, and the ranging can form various patterns. The specific characteristics of the pattern can identify in which direction the consolidation will breakout, and how far prices will travel from it.
Following are examples of patterns that are consolidating. Each is linked to more examples of the pattern: