Join our fan page
- Views:
- 4345
- Rating:
- Published:
- 2018.10.16 14:47
- Updated:
- 2019.01.29 15:06
-
Need a robot or indicator based on this code? Order it on Freelance Go to Freelance
Theory:
The Hilbert Transform itself, is an all-pass filter used in digital signal processing. By using present and prior price differences, and some feedback, price values are split into their complex number components of real (inPhase) and imaginary (quadrature) parts. It was originally proposed for TA by John Ehlers, but he never got to a phase where he could use it as a sort of cumulative indicator.
This version:
It is using the Hilbert transform in a phase accumulation mode in order to calculate how many bars are needed to accumulate enough one bar "inPhases" to reach the desired cycle. That way it adjusts / adapts to the market conditions.
Usage:
Apart from being adaptive, the indicator is having the properties of all the "classical" averages. It changes the colors based on slope change, and you can use those color changes as signals.
![Normalized smoothed MACD](https://c.mql5.com/i/code/indicator.png)
Normalized smoothed MACD
![Dōteki Heikin Ashi (Dynamic Average Foot/Bar)](https://c.mql5.com/i/code/indicator.png)
A dynamic version of the standard Heikin Ashi indicator (code compatible with both MQL4 or MQL5).
![Phase accumulation adaptive RSX](https://c.mql5.com/i/code/indicator.png)
Hilbert transform phase accumulation adaptive RSX
![Leader EMA](https://c.mql5.com/i/code/indicator.png)
Leader EMA