Vortex Indicator (VI)

Created by Etienne Botes and Douglas Siepman, the Vortex Indicator is a measure of price directional movement. It includes positive and negative indicators, and is often used to identify trends and reversals. [Discuss] 💬

chart for Vortex Indicator (VI)

// C# usage syntax
IEnumerable<VortexResult> results =
  quotes.GetVortex(lookbackPeriods);

Parameters

lookbackPeriods int - Number of periods (N) to consider. Must be greater than 1 and is usually between 14 and 30.

Historical quotes requirements

You must have at least N+1 periods of quotes to cover the warmup periods.

quotes is a collection of generic TQuote historical price quotes. It should have a consistent frequency (day, hour, minute, etc). See the Guide for more information.

Response

IEnumerable<VortexResult>

VortexResult

Date DateTime - Date from evaluated TQuote

Pvi double - Positive Vortex Indicator (VI+)

Nvi double - Negative Vortex Indicator (VI-)

Utilities

See Utilities and helpers for more information.

Chaining

This indicator is not chain-enabled and must be generated from quotes. It cannot be used for further processing by other chain-enabled indicators.