Diver Hurst
- Indicators
- Oleksandr Medviediev
- Version: 5.56
- Updated: 16 December 2021
- Activations: 20
Divergence Formation Hurst (hereinafter "Diver") is based on Hurst exponent used as a measurement of long term memory of time series.
Classic (regular) and Reversal (hidden) Divergences - at your choice.
- Adjustable sizes and all parameters
- Flexible settings including VOID levels (alert function in place, arrows to show in which direction to trade)
- No re-paint / No re-draw (must set CalcOnOpenBar=false)
- "SetIndexBuffer" available for all variables (can be used in EA)
- Auto-detect 4- and 5-digit price function
- Light (does not overload MT4)
In order for Regular Classic Hurst Divergence to exist, Price should form one of the following:
- BEARISH Diver: Higher high than the previous high (but the oscillator is a lower high)
- BULLISH Diver: Lower low than the previous low (but the oscillator is a higher low)
As a rule, the occurrence of divergence means the completion of the movement (the weakening strength of the trend) and the possibility of strong correction or complete turn of the market. The higher the chart timeframe, the stronger the signal.
Second type of Hurst Divergence is Reversal ("hidden"). It indicates continuation of the trend and can be detected when Price forms one of the following:
- BEARISH Diver: Lower high than the previous high (but the oscillator is a higher high)
- BULLISH Diver: Higher low than the previous low (but the oscillator is a lower low)
It should be noted that Reversal (or Hidden) Hurst divergence is relatively rare, but reliability of the signal is quite good.
Parameters
- CalcOnOpenBar - if true: include open bar for detecting Diver
- DrawStandardDiv - if true: enable regular Divers
- DrawReversalDiv - if true: enable hidden Divers
- Hurst_Period - parameter of Hurst exponent
- Hurst_ma_period - parameter of Hurst exponent
- Hurst_ma_method - parameter of Hurst exponent
- BullishDiv_ResetAbove - cancel Bullish Diver if the indicator crosses this level
- BearishDiv_ResetBelow - cancel Bearish Diver if the indicator crosses this level
Diver parameters:
- MaxBars - number of bars to draw Divers on the chart (reduces MT4 load)
- DivWidth_MinBars - minimum horizontal distance between 2 extremums
- DivWidth_MaxBars - maximum horizontal distance between 2 extremums
- DivHeight_MinPips - minimum vertical distance between 2 extremums
- DivHeight_MaxPips - maximum vertical distance between 2 extremums
Diver extremums:
- Chart_LeftTop_BarsL - number of bars to form price left extremum (left side of price fractal)
- Chart_LeftTop_BarsR - number of bars to form price left extremum (right side of price fractal)
- Chart_RightTop_BarsL - number of bars to form price right extremum (left side of price fractal)
- Chart_RightTop_BarsR - number of bars to form price right extremum (right side of price fractal)
- Ind_LeftTop_BarsL - number of bars to form indicator left extremum (left side of indicator fractal)
- Ind_LeftTop_BarsR - number of bars to form indicator left extremum (right side of indicator fractal)
- Ind_RightTop_BarsL - number of bars to form indicator right extremum (left side of indicator fractal)
- Ind_RightTop_BarsR - number of bars to form indicator right extremum (right side of indicator fractal)
- LeftTops_MaxBarsDiff - additional space (in bars) for price and indicator to form left extremum
- RightTops_MaxBarsDiff - additional space (in bars) for price and indicator to form right extremum