These patterns show periods when the market is in a flat trend, or moving sideways whilst pausing for directional clues.
Rectangles/ranges are sort of a flat channel in appearance. It is similar to a double top or bottom which is why it is good to wait for the breakout. The price projection is generally the height of the pattern.
Triangles tend to trade in a shrinking range about a horizontal axis. You would expect a breakout around 2/3rds of the length. This gives timing clues. Sideways trading through the apex tends to leave prices flat.

