Indicators: Lyapunov_HP

 

Lyapunov_HP:

The oscillator indicator based on Lyapunov stability theory, with the Hodrick-Prescott filter.

The indicator has two input parameters:

  • Filter - filter calculation period
  • Applied price - price used for calculation

Due to the use of the HP filter, the indicator has the following feature: three bars including the current one are redrawn. This can be ignored however due to the relatively small lagging: the indicator is good at predicting possible changes in the price movement.

Author: Scriptor

 
The code redraws.....
 
Repaints like a turbo.
 
Thanks for the indicator, do you recommend any threshold?
Reason: