100 Vertical Horizontal Filter (vhf)

To identify trending and ranging markets. VHF measures the level of trend activity, similar to ADX in the Directional Movement System. Trend indicators can then be employed in trending markets and momentum indicators in ranging markets. Vertical Horizontal Filter does not, itself, generate trading signals, but determines whether signals are taken from trend or momentum indicators.

Rising values indicate a trend.

Falling values indicate a ranging market.

High values precede the end of a trend.

Low values precede a trend start.

Example: 1. Vertical Horizontal Filter rises, signaling the start of an up-trend; 2. VHF falls, indicating that the trend is near its’ end; 3. VHF rises, signaling the start of a sharp down-trend; 4. Falling VHF signals the end of the down-trend. This is premature as price continues to trend downwards over the next 3 months, albeit at a slower rate

Vertical Horizontal Filter

Figure 11.11: Vertical Horizontal Filter

Calculation: To calculate the Vertical Horizontal Filter:

Select the number of periods (n) to include in the indicator. This should be based on the length of the cycle that you are analyzing. The most popular is 28 days (for intermediate cycles).
Determine the highest closing price (HCP) in n periods.
Determine the lowest closing price (LCP) in n periods.
Calculate the range of closing prices in n periods:
           HCP - LCP
Next, calculate the movement in closing price for each period:
           Closing price [today] - Closing price [yesterday]
Add up all price movements for n periods, disregarding whether they are up or down:
           Sum of absolute values of ( Close [today] - Close [yesterday] ) for n periods
Divide Step 4 by Step 6:
           VHF = (HCP - LCP) / (Sum of absolute values for n periods)