+1 (307) 227-6611

Free risk tools

Vertical horizontal filter

Trending or ranging? How much of the closes' travel went one way, against what a random walk makes. From your closes.

Free, no sign-up On sale: Desk and Desk + Signals. See the plans

  • Free
  • No sign-up
  • Nothing you type is stored

The closes

Oldest first, separated by commas or spaces. With 28 bars, at least 30. The sample is gold.
White used 28 bars.

The vertical horizontal filter

The vertical horizontal filter over 28 bars is 0.55, above 0.53, the level a pure random walk stays under on 19 bars in 20: the closes have gone one way more than chance usually gives, a trending stretch.

The direction
It was 0.53 on the bar before, so it is rising. A rising VHF says the moves are lining up in one direction; a falling one says they are cancelling out.
The parts
Over the last 29 closes the highest minus the lowest is 184.30, and the bar-to-bar moves add up to 332.60 in size.
The last bars
In the last 20 readings compared, 1 was above 0.53 and 1 at or below 0.31. A pure random walk would put about 1 in 20 above the first line and about half at or below the second.
Read it with care
The two lines come from a simulated random walk with the same look-back, not from your market. The VHF says whether the closes have been trending or ranging, not which way they will go next.

The close, the highest minus the lowest close over the look-back, and the 28-bar VHF on the last bars. The last bar is marked.

BarClose priceRangeVHF
5 ago2,399.10139.800.45
4 ago2,412.50153.200.48
3 ago2,430.80171.500.52
2 ago2,427.40171.500.53
1 ago2,432.40173.100.53
Last2,443.60184.300.55

Education only, not investment advice. The answer comes from the numbers you typed in, not from your account or the market. Simulated results are hypothetical and have limits: real trading has slippage, gaps, changing results and emotions. Trading leveraged products can lose money quickly, including all of it. Risk warning

Want this check on every trade?

Educational only, not financial advice; trading involves risk.

Trending or ranging?

Adam White's vertical horizontal filter takes the highest close minus the lowest over the look-back and divides it by the sum of the sizes of every bar-to-bar move in between. If the closes went straight one way the two are equal and the VHF is 1; the more they went back and forth, the closer it falls to 0. White used it to choose between trend tools and range tools. Fixed lines are hard to set, since the usual reading depends on the look-back, so the page compares yours with a simulated random walk of the same length.

Ask the same question with the choppiness index, the ADX calculator and the random walk index.

Not advice. Arithmetic on the closes you type; past readings do not promise future ones.

Next tools

All free tools

Pricing

Three ways in. Pick yours.

Baroq never holds your money and never trades for you. Educational only, not financial advice; trading involves risk.

Test your trading idea free

No spam. Unsubscribe anytime.

Educational only, not financial advice; trading involves risk.

or join us on Telegram