Vertical Horizontal Filter (VHF)
    • Dark

    Vertical Horizontal Filter (VHF)

    • Dark

    Article Summary

    DXcharts powers DXtrade, DXfina, and FinCharts.
    Check our website to find more information about DXcharts library.

    The Vertical Horizontal Filter (VHF) indicator determines whether prices are trending (VHF rises) or are stabilizing around a specific range (VHF falls). VHF values are calculated as the difference between the highest close and the lowest close for a specified period. The difference is then divided by the sum of an absolute value of daily close changes over the same period.

    VHF = (HCPn - LCPn) / (Sum of absolute values for n periods)

    HCP – highest closing price
    LCP – lowest closing price
    n – number of periods

    Stoller Average Range Channel BandsVertical Horizontal Filter


    LengthThe number of bars used to calculate VHF


    The plot renders the data you are working with on the chart. You can show/hide a plot by clicking the corresponding item in the settings. Every plot has a set of basic settings that you can change: color, weight, and type.

    VHFThe Vertical Horizontal Filter plot

    Click the color rectangle under the plot's name to open the palette. Use the slider at the bottom to set the opacity of the color.


    To create a custom color:

    1. Clickto open the color picker
    2. By using the slider at the bottom, adjust the main color
    3. Then, set a shade for the main color on the palette

    The custom-created colors are added to your palette. To remove a custom color, drag it out of the palette.

    Change the value (in px) to adjust the thickness of the plot.
    The following plot types are available:
    • Linear. The plot is displayed as a line.
    • Column. The plot is displayed as a histogram.
    • DifferenceThe plot is displayed as a line which represents the difference between High and Low prices of the bar.
    • PointsThe plot is displayed as points.
    • Text above candleThe plot is displayed as the price labels above candles on the chart.
    • Text below candleThe plot is displayed as the price labels below candles on the chart.
    • Triangle above candleThe plot is displayed as triangles above candles on the chart.
    • Color candle. The candles on candle-type charts are highlighted with specified colors.


    Check Overlaying to display the indicator on the chart. Otherwise, the indicator is shown in a study pane down below.

    Note: To reset the settings, click Restore to Default next to the SETTINGS: INDICATOR'S TITLE