Extra indicators

Vertical Horizontal Filter (VHF)

Is the market trending or ranging? The straight-line move against the total distance travelled.

2 min read · Try it on a live chart ↗

The idea in plain words

In a trend the price covers much ground in one direction; in a range it travels a lot but ends where it started. VHF divides the range of closes by the sum of all close-to-close moves.

How it is calculated

(Highest close − lowest close) over the period ÷ the sum of |close − previous close| over the same candles.

VHF = (HCP − LCP) ÷ Σ|Cᵢ − Cᵢ₋₁|   (default period 28)

How to use it

  • A rising VHF: a trend is developing, trend tools work better.
  • A falling or low VHF: a range, oscillators work better.

Drawing conclusions

  • The level that separates trend and range depends on the market; compare with the ticker's own history (the dashed guides at 0.25 and 0.40 are a starting point).

Example

EURGBP H1: VHF climbs from 0.22 to 0.45 as the pair breaks out of a week-long range.

Prices in examples are illustrative.

Watch out for

  • It says nothing about direction: pair it with a trend indicator.

A little history

Developed by Adam White (Futures magazine, 1991).

Educational content only. No indicator or pattern predicts the future, and nothing here is investment advice.