# Vortex Indicator (VI)

> Vortex Indicator (VI) identifies new trend starts, continuations, and reversals by comparing upward and downward price movement strength in Veles bots.

**Vortex Indicator (VI)** is a technical analysis tool that identifies the start of new trends, their continuation, or reversal by comparing the strength of upward and downward movements.  
The indicator was developed by Etienne Botes and Douglas Siepman and first introduced in the journal *Technical Analysis of Stocks & Commodities* in 2010.  
It draws inspiration from J. Welles Wilder’s concepts (creator of ADX and Directional Movement) and natural vortex flows, where price “spirals” in the direction of the dominant impulse.

## How the Vortex Indicator Works

The indicator measures **directional movement** by comparing the extremes of adjacent candles:

- **VI+** (positive line) — reflects the strength of upward momentum. It rises when the current high is significantly above the previous low (buyers aggressively push the price higher).  
- **VI−** (negative line) — reflects the strength of downward momentum. It rises when the current low is significantly below the previous high (sellers dominate).

The greater the difference between the lines, the stronger the current trend. A crossover of one line over the other signals a change in dominant direction.

Vortex performs well in trending crypto markets with strong and sustained impulses, but may produce false signals (whipsaws) in flat or low-volatility conditions.

## Vortex Signals

- Blue line (VI+) crosses red line (VI−) **from below → long signal** (upward movement becomes stronger than downward).
- Blue line (VI+) crosses red line (VI−) **from above → short signal** (downward movement takes control).

The [“Reverse signal”](https://help.veles.finance/en/filters/general/#reverse-signal) option inverts the signals.

It is recommended to use with calculation type “At bar closing”.
Calculation [“Once per minute”](https://help.veles.finance/en/filters/general/#2-once-per-minute) may generate many false signals.

On the Veles platform, the standard Vortex indicator from the TradingView library is used. The indicator period is fixed at 14.

## Using in Veles Bots (Flexible Indicator)

Two variants are available: **Vortex (+)** (VI+) and **Vortex (−)** (VI−).

Available settings:

- Period - the number of candles for calculation. Range: 7–100, default 14.
- Interval - the candle timeframe.
- Method - the calculation type. By bar close (only on the selected interval) or by minute (once per minute for any interval).
- Shift - shifts the requested indicator value back by the specified number of candles.

## Limitations

- Vortex generates frequent false signals (whipsaws) in flat or low-volatility markets.
- The fixed 14-period setting may not suit all assets or timeframes.
- Crossover signals can lag slightly behind real trend changes.

## Summary

The Vortex Indicator offers clean crossover-based trend signals with minimal parameters, making it one of the easiest indicators to implement in Veles bots. For best results, combine it with ATR% to skip flat periods and RSI or Stochastic to confirm entry timing.

**Before using the indicator, it is recommended to test its settings in backtests and ensure the strategy fits your personal trading style.**
