거래 로봇을 무료로 다운로드 하는 법을 시청해보세요
당사를 Facebook에서 찾아주십시오!
당사 팬 페이지에 가입하십시오
스크립트가 흥미로우신가요?
그렇다면 링크 to it -
하셔서 다른 이들이 평가할 수 있도록 해보세요
스크립트가 마음에 드시나요? MetaTrader 5 터미널에서 시도해보십시오
지표

The Hodrick-Prescott Filter - MetaTrader 5용 지표

게시자:
Vladimir
조회수:
14988
평가:
(29)
게시됨:
2010.07.19 10:38
업데이트됨:
2016.11.22 07:32
MQL5 프리랜스 이 코드를 기반으로 한 로봇이나 지표가 필요하신가요? 프리랜스로 주문하세요 프리랜스로 이동

The Hodrick-Prescott filter is used in macroeconomics, especially in real business cycle theory to separate the cyclical component of a time series from raw data. It has a zero lag. There is a common disadvantage of such zero lag filters - the recent values are recalculated.

I have tried to apply this filter for the different purposes: for price channels, to use it as the trend changes indicator, etc, but I have found that it hasn't any significant advantages compared with EMA, LWMA or AMA.

Also I have found that values of the prices, smoothed by this filter are close to the principal component of the Principal Component Analysis (PCA). It seems that there is a mathematical relashionship between the Hodrick-Prescott filter and PCA. It might be useful, so I publish it here. I don't use it, but it would be great if you propose its possible applications.

The Hodrick-Prescott Filter

MetaQuotes Ltd에서 러시아어로 번역함.
원본 코드: https://www.mql5.com/ru/code/143

The Moving Average Indicator, based on the Quasi-Digital Filter The Moving Average Indicator, based on the Quasi-Digital Filter

The Moving Average indicator, based on the Quasi-Digital Filter. The MACD indicator as example of its use is presented.

iS7N_TREND.mq5 iS7N_TREND.mq5

Now it's two-color (or two-mode) trend indicator, the number of calculated bars can be specified.

An Expert Advisor, based on the "Puria method" Forex Strategy An Expert Advisor, based on the "Puria method" Forex Strategy

An Expert Advisor, based on the "Puria method" Forex Strategy.

iHeikenAshiSm iHeikenAshiSm

The Heiken Ashi indicator with smoothing.