Advertisement IC Markets

The Vertical Horizontal Filter: a single number for trending versus ranging

Discuss 1-minute to 15-minute price action setups, fading intraday momentum, key support/resistance zones, and proven short-term trading methodologies.
Post Reply
Shadow Trader
Posts: 6144
Joined: Wed Sep 09, 2026 5:19 pm

The Vertical Horizontal Filter: a single number for trending versus ranging

Post by Shadow Trader »

The Vertical Horizontal Filter, or VHF, tries to answer one question: is the market trending or ranging right now? It divides the distance between the highest high and lowest low over a lookback period (the "vertical" movement) by the sum of the absolute bar-to-bar changes over the same period (the "horizontal" path price actually travelled).

The logic is intuitive. In a clean trend, price travels mostly in one direction, so the net range is a large share of the total path, and VHF is high. In a choppy range, price goes back and forth, covering a lot of distance without getting anywhere, so the total path is long compared with the range and VHF is low.

It is close in spirit to Kaufman's efficiency ratio and to the choppiness index, and that is worth keeping in mind. These indicators are all measuring some form of net movement compared with total movement. They will usually agree, so there is little point in stacking them.

For scalpers, the obvious use is as a switch between strategy types:

- Breakout or trend-continuation entries only when VHF is above some level.
- Fade or range entries only when it is low.
- No trading in the middle, where the market is neither one thing nor the other.

The awkward part is that VHF describes the lookback window, not the next one. A market that has just trended for two hours often pauses next, and a long, tight range is often followed by a break. So the switch can end up one regime behind.

Has anyone used VHF or a similar filter to turn strategies on and off? I'd like to know whether it improved results, or mostly kept you out of the trades that would have worked best.
Recommended broker for automated trading & scalping IC Markets
Post Reply