OPEN-SOURCE SCRIPT

Hodrick-Prescott (HP) filter

已更新
This indicator is an implamentation of Hodrick-Prescott (HP) filter
This filter is a mathematical model the can remove cyclical components from the price signal to get the trend components.
  • "Lambda" is the smoothing factor and can have a value between 1 and infinity.
  • "Length" is the number of previous prices that are included in the filter.

The default values of lambda and length work well for almost all time frames.

快照
發布通知
Converted to v5
hodrickprescottHPMoving Averages

開源腳本

在真正的TradingView精神中,這個腳本的作者以開源的方式發佈,這樣交易員可以理解和驗證它。請向作者致敬!您可以免費使用它,但在出版物中再次使用這段程式碼將受到網站規則的約束。 您可以收藏它以在圖表上使用。

想在圖表上使用此腳本?

免責聲明