how to identify turning points in stock price data

前端 未结 4 951
眼角桃花
眼角桃花 2021-01-31 23:19

This question is a continuation of this one.

My goal is to find the turning points in stock price data.

So far I:

Tried differentiating the smoothed pri

4条回答
  •  遥遥无期
    2021-01-31 23:57

    Another approach based on some of the ideas here. For each point in the series, look at n points before and after (the window). If the value of the current point is the highest in the window, make it a peak turning point (if it lowest, make it a trough). Exclude the first and final n points in the series.

    Experimented with monthly data and got the following with n=6.

提交回复
热议问题