Inspiration for this study is from FT71. He does an excellent video describing what Harmonic Rotations (HR) are, how they are calculated and how to interpret them. The video is well worth the watch and the following will make much more sense once you have seen it.
See here: https://vimeo.com/145456969
The study uses zigzags to find all the rotations on the chart. Study will plot the zigzag lines on the chart and calculate some statistics based on the leg sizes
Use these statistics to plan your stop placement.