Trend catching indicator binary segmentation

Please send me the binary segmentation indicator source code