Back to website
The Ultimate Oscillator: Understanding and Using It for Trading Understanding the Relative Volatility Index (RVI)
3 mins read

Introduction to Vertical Horizontal Filter

The Vertical Horizontal Filter (VHF) is a technical analysis tool developed by Adam White to help traders and investors identify trending and ranging market conditions. It measures the level of trend activity in a financial market by comparing the price range over a specific period to the cumulative price movement within that period.

Vertical Horizontal Filter

The Purpose of VHF

The primary objective of the VHF is to determine whether a financial market is experiencing a trending phase or a sideways, range-bound phase. This distinction is essential for traders and investors because different trading strategies and techniques are more effective in different market conditions. For instance, a trending market might be better suited for trend-following strategies, while a ranging market might benefit from mean-reversion approaches.

VHF Calculation

The VHF calculation is a simple, three-step process that involves determining the price range, calculating the cumulative price movement, and dividing the price range by the cumulative price movement.

Step-by-step Calculation Process

  1. Price Range: Calculate the difference between the highest and lowest prices over a specific period (usually 28 days).
  2. Cumulative Price Movement: Sum the absolute value of the price changes for each day within the same period.
  3. VHF: Divide the price range by the cumulative price movement.

Interpreting VHF Results

The VHF value can provide insights into the current market conditions, helping traders and investors identify whether the market is trending or ranging.

A higher VHF value indicates a stronger trend, suggesting that the market is experiencing a trending phase. Conversely, a lower VHF value implies that the price movement is more random, and the market is likely in a range-bound condition.

VHF Thresholds

While there are no universally accepted VHF thresholds to determine whether a market is trending or ranging, some traders use the following guidelines:

  • VHF values below 0.15 indicate a ranging market.
  • VHF values between 0.15 and 0.30 signal a moderately trending market.
  • VHF values above 0.30 suggest a strongly trending market.

It’s important to note that these thresholds may vary depending on the specific market and the trader’s preferences.

Advantages and Limitations

Advantages of VHF

  1. Simplicity: The VHF calculation is easy to implement, making it accessible to traders and investors of all skill levels.
  2. Versatility: The VHF can be applied to various financial markets, including stocks, currencies, commodities, and indices.
  3. Adaptability: The VHF can be used with other technical indicators and tools to create more comprehensive trading systems.

Limitations of VHF

  1. Lagging Indicator: Like most technical analysis tools, the VHF is a lagging indicator, meaning it is based on past price data and may not always accurately predict future market conditions.
  2. Subjectivity: The interpretation of VHF values and the selection of thresholds are subjective and may vary among traders, potentially leading to inconsistent results.
  3. Limited Scope: The VHF only provides information about the presence or absence of a trend, but it does not offer any insight into its direction or potential strength.

Example scanners and strategies that use VHF

The Vertical Horizontal Filter can be used in both Scanning the market and Testing Strategies. To see how exactly it can be used in these ways, we provide the following samples. The scanner searches the market for stocks using this indicator, and the strategy tests buying and selling rules built around this indicator.

"VHF > 0.3 #strongtrend" scanner by TrendSpider
charts.trendspider.com
“VHF > 0.3 #strongtrend” scanner by TrendSpider
"VHF Strong Trend Long Strategy" strategy by TrendSpider
charts.trendspider.com
“VHF Strong Trend Long Strategy” strategy by TrendSpider

The Bottom Line

The Vertical Horizontal Filter (VHF) is a useful technical analysis tool for identifying trending and ranging market conditions. It measures the level of trend activity by comparing the price range to the cumulative price movement over a specific period. The VHF can be a valuable addition to a trader’s toolbox with its simplicity and versatility. However, it is essential to consider the limitations of the VHF and use it in conjunction with other technical indicators and tools to develop a comprehensive trading strategy that accounts for the various aspects of financial market analysis.

Related:

  • Moving Averages

    Introduction to Moving Averages 

    Moving averages are one of the financial industry’s most widely used technical analysis tools. Essentially, a moving average is a calculation used to analyze the average price of an asset over a given period. This calculation is based on a certain number of past prices that are averaged to provide an indication of the direction …
    Introduction to Moving Averages
  • Technical Indicators

    Demystifying Technical Indicators: Understanding the Role of Technical Indicators in Trading 

    Introduction to Technical Indicators Purpose of Technical Indicators in Trading Technical indicators are essential tools for traders to help them better understand price movements, trends, and potential trading opportunities. They are mathematical calculations based on historical price data, volume, and/or other factors that are used to forecast future price movements. The Development of Technical Indicators …
    Demystifying Technical Indicators: Understanding the Role of Technical Indicators in Trading
The Ultimate Oscillator: Understanding and Using It for Trading Understanding the Relative Volatility Index (RVI)