This indicator really is the KST indicator presented by Martin Pring. the KST indicator is a weighted summed rate of change oscillator that is designed to identify meaningful turns. Various smoothed rate of change indicators can be combined to form different measurements of cycles.
You can change long to short in the Input Settings WARNING: - For purpose educate only - This script to change bars colors.