Thanks Experts!
For example, in this curve, the slope of the line is calculated with the right-most stage high point followed by the stage high point on its left. When the difference between these slopes is within a certain range,
If necessary, the one with the highest slope can be ignored