The Vertical Horizontal Filter (VHF) attempts to identify starting and ending trends. Developed by Adam White.
Details
The VHF is calculated by subtracting the n-period lowest low from the
n-period highest high and dividing that result by the n-period
rolling sum of the close price changes.
Note
If Close prices are given, the function calculates the max/min using only those prices (the default). If HLC prices are given, the function calculates the max/min using the high/low prices (added for flexibility).
References
The following site(s) were used to code/document this
indicator:
https://www.metastock.com/Customer/Resources/TAAZ/?p=119