Indicators: Hodrick-Prescott Channel

 

Hodrick-Prescott Channel:

The indicator plots a price channel using the Hodrick-Prescott Filter.

The first step is to calculate the smoothed values of Close prices. After that it smoothed again with higher smoothing period. As a result we will have HP and HPSlow. On the next step we calculate the standard deviation HP relative to HPSlow and construct the channel.

The indicator prints the ratio of a full channel width to HPSlow[0], presented in percents. This text can be easily moved at any place on the chart - just drag it with double mouse click and move.

Author: victorg

Hodrick-Prescott Channel

 
it seems you have posted vacc_01_en, not this Hodrick-Prescot-Channel as seen on the snapshot above

 
Fixed. Thank you.

 

Thanks

look very usefull, could we have an audio alert when prices goes outside the channel ?


 
It repaints, however, that is the nature of a hodrick-prescott based indicator. Just be aware that you cannot 'backward' test on a chart. You can only forward-test.
 
Automated-Trading:

Hodrick-Prescott Channel:

Author: victorg

How would you use this indicator?