Pattern matching can let you identify price patterns, such as:
along with performing many types of calculations.