I have read a significant amount of the posts on peak and trough analysis in this forum, but still haven't identified a solution for my particular needs. I have a series of data where I would like to identify the newest high and relevant low reached between the new highs. I would then like to calculate the change in value between these successive peaks and troughs (this part seems simple enough). Here is an example of data:
15 - First Peak
16 - New Peak (A)
14
12 - Trough (the lowest value between A and B)
13
17 - Next New Peak (B)
14
15
17
12 - Trough (the lowest value between B and C)
18 - Next New Peak (C)
14
13
13 - Trough (the lowest value between (C) and (D)
17
18
17
16
21 - Next New Peak (D)
I hope this simple example clarifies my inquiry. Thank you for any ideas.
15 - First Peak
16 - New Peak (A)
14
12 - Trough (the lowest value between A and B)
13
17 - Next New Peak (B)
14
15
17
12 - Trough (the lowest value between B and C)
18 - Next New Peak (C)
14
13
13 - Trough (the lowest value between (C) and (D)
17
18
17
16
21 - Next New Peak (D)
I hope this simple example clarifies my inquiry. Thank you for any ideas.