This script picks up two types of pullbacks using the SLSMA line. The pb1 signal picks up a fast first pullback as price action breaks the SLSMA line. The pb2 signal detects a stronger pivot with the trend. There is an option to filter pb1 signals with trend in the settings. Lower highs and Higher lows are displayed as labels along the SLMSA line. This tool can be overlaid on your chart or over an indicator using it as its external source.