Indicators

Vertical Horizontal Filter (VHF) Indicator Explained

How the VHF compares net range to path length to decide trend vs congestion, and how to automate it in Setup.Cash.

By Setup.Cash TeamLast updated 2026-07-031 min read193 words

Featured image placeholder

/og/setup-cash-og.svg

Adam White's Vertical Horizontal Filter (VHF) divides the window's vertical span (highest close − lowest close) by the horizontal path (sum of all close-to-close moves). Trending markets are 'vertical'; congested ones are 'horizontal' — the ratio says which you're in.

How It Works

  • (Highest close − lowest close) ÷ Σ|close changes| over the window.
  • Rising VHF: trend developing. Falling VHF: congestion deepening.
  • Levels are market-specific; the direction of VHF is the primary read.

How to Trade It

White's original intent: let VHF pick your weapon — trend-following indicators when VHF rises, oscillators when it falls. Automate exactly that: one strategy per regime, gated by VHF's slope or level.

Building It in Setup.Cash

Add Vertical Horizontal Filter (VHF) in the strategy builder — the length input controls its sensitivity — and use its value in any entry, exit, or filter condition. You can also combine it with other tools in the Indicators Lab or via the AI indicator generator. The Choppiness Index answers the same question on a bounded scale. For the full category overview, see the volatility & statistics library guide.

Volatility indicators qualify trades rather than generate them — backtest your system with and without this filter and compare the drawdowns.

Not financial advice. Trading involves risk. Use backtesting and paper trading before risking real capital.

Related Posts

View all

Indicators

Choppiness Index Indicator Explained

How the Choppiness Index scores trendiness from 0-100 so bots know when to trend-trade and when to fade, in Setup.Cash.

1 min read · 198 words

Indicators

Aberration Bands Indicator Explained

How the Aberration system wraps an ATR channel around a typical-price average for classic breakout trading, in Setup.Cash.

2 min read · 204 words

Start here

Build your trading bot workflow with structure

Use Setup.Cash to create, backtest, and paper trade rule-based strategies without relying on guesswork. Not financial advice. Trading involves risk.