Hodrick-Prescott Filter

Here you can post and download custom indicators written in JavaScript.

Moderator: admin

Hodrick-Prescott Filter

Postby Alexander.Gettinger » Tue May 01, 2018 11:44 am

The Hodrick-Prescott filter is a mathematical tool used in macroeconomics, especially in real business cycle theory to separate the cyclical component of a time series from raw data.

It is used to obtain a smoothed non-linear representation of a time series, it is more sensitive to long-term than to short-term fluctuations.

HPF.PNG


Download:
HPF_JS.jsl
(2.74 KiB) Downloaded 442 times
Alexander.Gettinger
FXCodeBase: Confirmed User
 
Posts: 3785
Joined: Wed Mar 31, 2010 9:40 pm
Location: Russia, Omsk

Return to JavaScript Indicators and Strategies

Who is online

Users browsing this forum: No registered users and 34 guests