Systemicbeta

Vortex

systemic:core-viIndicators

Inputs

NameTypeDescription
WindowWhole numberThe number of bars over which the Vortex Movements and the True Range are summed.
Price HighNumber seriesThe highest price of each bar, used to calculate the **Positive Vortex Movement** ($VM^+$).
Price LowNumber seriesThe lowest price of each bar, used to calculate the **Negative Vortex Movement** ($VM^-$).
Price CloseNumber seriesThe closing price of each bar, used to calculate the **True Range** (TR).

Outputs

NameTypeDescription
+VINumber seriesThe Positive Vortex Indicator at each bar: the strength of upward price movement over the window.
-VINumber seriesThe Negative Vortex Indicator at each bar: the strength of downward price movement over the window.
DifferenceNumber seriesThe +VI value minus the -VI value at each bar, a single line that shows trend direction and strength.

Cost

19
credits per run
1,000
bars

0.217 + 0.0185·n credits for n bars, rounded up. The marks are each plan's limit of bars.

The Vortex Indicator detects the start of new trends and the continuation of existing ones. Etienne Botes and Douglas Siepman developed it (published January 2010 in Technical Analysis of Stocks & Commodities). They were inspired by the spiraling motion of water described by the Austrian naturalist Viktor Schauberger: water forms vortex patterns around obstacles, and prices move in a similar back-and-forth between buyers and sellers.

Two lines, VI+VI^+ (positive vortex) and VI−VI^- (negative vortex), measure upward and downward pressure:

VI+=∑i=1nVMi+∑i=1nTRiVI−=∑i=1nVMi−∑i=1nTRiVI^+ = \frac{\sum_{i=1}^{n} VM^+_i}{\sum_{i=1}^{n} TR_i} \qquad VI^- = \frac{\sum_{i=1}^{n} VM^-_i}{\sum_{i=1}^{n} TR_i}

Where nn is the Window (commonly 14 bars).


The Mathematics: Why It Works

To see why the Vortex Indicator captures trend direction, look at each component:

Step 1: Vortex Movement (VM)

The vortex movement measures directional thrust. It connects the price extremes of two consecutive bars:

VM+=∣Hightoday−Lowyesterday∣VM^+ = |High_{today} - Low_{yesterday}| VM−=∣Lowtoday−Highyesterday∣VM^- = |Low_{today} - High_{yesterday}|

Why absolute values? — Only the size of the move matters, not its sign. A large VM+VM^+ shows strong upward thrust even if the price did not close higher.

The visual pattern: If you connect each bar's low to the next bar's high (and the reverse), you trace a spiral that looks like a vortex. This gives the indicator its name.

Step 2: True Range (TR)

True Range scales the vortex movement by overall volatility:

TR=max⁡(High−Low,  ∣High−Closeprev∣,  ∣Low−Closeprev∣)TR = \max\left(High - Low, \; |High - Close_{prev}|, \; |Low - Close_{prev}|\right)

Why divide by TR? — Raw VMVM values cannot be compared across price levels. A $5 move means more for a $50 stock than for a $500 stock. Dividing by TR makes VI comparable across assets and over time.

Step 3: Summation and Ratio

Summing over nn bars smooths noise:

VI+=∑VM+∑TRVI−=∑VM−∑TRVI^+ = \frac{\sum VM^+}{\sum TR} \qquad VI^- = \frac{\sum VM^-}{\sum TR}

Both lines oscillate around 1.0, with values typically between 0.7 and 1.3. Each ratio compares one directional movement with the total range.


Calculation Pipeline

flowchart TD
    subgraph Input["Price Inputs"]
        H["High"]
        L["Low"]
        C["Close"]
    end
    
    subgraph VM["Vortex Movement"]
        VMP["VM+ = |High - Prior Low|"]
        VMM["VM- = |Low - Prior High|"]
    end
    
    subgraph TR["True Range"]
        TRC["TR = max(H-L, |H-PC|, |L-PC|)"]
    end
    
    subgraph Sum["Sum over n bars"]
        SVP["Σ VM+"]
        SVM["Σ VM-"]
        STR["Σ TR"]
    end
    
    subgraph Output["Final Indicators"]
        VIP["VI+ = Σ VM+ / Σ TR"]
        VIM["VI- = Σ VM- / Σ TR"]
        DIFF["Difference = VI+ - VI-"]
    end
    
    H --> VMP & TRC
    L --> VMM & TRC
    C --> TRC
    H --> VMM
    L --> VMP
    VMP --> SVP
    VMM --> SVM
    TRC --> STR
    SVP --> VIP
    SVM --> VIM
    STR --> VIP & VIM
    VIP --> DIFF
    VIM --> DIFF

Inputs with Different Periods

The Vortex Indicator needs three price series that cover the same bars: Price High, Price Low and Price Close. When these inputs have different periods or start dates, Systemic aligns them before the calculation.

How Alignment Works

ScenarioWhat Happens
Different periods (e.g., 1h High, 15m Low)The slower series repeats its last value until its next bar
Different start datesThe result starts where all three inputs have data
Empty barsStay empty and are skipped (see Missing Data)

Impact on VI Calculations

Repeated values: When the three inputs have different periods, VM+VM^+ and VM−VM^- can look artificially stable while one series is repeated. This can:

  • Delay crossover signals
  • Understate volatility in the True Range
  • Create false consolidation patterns

Best practice: Take Price High, Price Low and Price Close from the same data source and period whenever possible.


Missing Data

VI uses a bar only when it has a High, a Low and a Close. A bar that misses any of them (data gap, weekend, holiday) is empty on all three outputs (+VI, -VI, Difference). It is never filled. The Window counts only bars that have all three prices: across a market-closed gap, the sums go straight from the last bar before the gap to the first bar after it. The first window such bars are empty, because every Vortex Movement needs the bar before it. In a flat window (High, Low and Close all constant) the True Range and both Vortex Movements are zero, so the ratio is 0 ÷ 0 and the outputs are empty.


Interpreting the Vortex Indicator

Crossover Signals

flowchart LR
    subgraph Bullish["Bullish Signal"]
        B1["VI+ crosses above VI-"]
        B2["Uptrend beginning"]
    end
    
    subgraph Bearish["Bearish Signal"]
        R1["VI- crosses above VI+"]
        R2["Downtrend beginning"]
    end
    
    B1 --> B2
    R1 --> R2
EventInterpretationAction
VI+ crosses above VI-Bullish momentum dominatesConsider long positions
VI- crosses above VI+Bearish momentum dominatesConsider short positions or exiting longs
Lines divergingTrend strengtheningHold the current position
Lines convergingTrend weakeningPrepare for a possible reversal

Trend Strength via Spread

The Difference output (VI+ minus VI-) measures how strong the trend is:

Spread (VI+ − VI-)Interpretation
> +0.10Strong bullish trend
+0.05 to +0.10Moderate bullish trend
-0.05 to +0.05Neutral / consolidation
-0.10 to -0.05Moderate bearish trend
< -0.10Strong bearish trend

Parameter Selection

WindowBehaviorBest For
7-10Sensitive, more signals, more noiseShort-term / day trading
14 (standard)Balanced sensitivity and reliabilitySwing trading
21-34Smoother, fewer false signalsPosition trading, macro trends
55+Very smooth, only major trend changesLong-term investing

The original authors recommend longer windows (21+) on shorter periods to filter noise. For example, a 34-bar VI on 5-minute bars.


Real-World Applications

1. Cryptocurrency Trend Regime Detection

Cryptocurrency markets trend strongly and reverse sharply. The Vortex Indicator works well in these conditions because:

  • High volatility produces clear VI+/VI- separation during trends
  • Momentum-driven moves create sustained crossovers (unlike mean-reverting assets)
  • 24/7 trading means trends develop without overnight gaps distorting signals

Application: Use VI crossovers to find shifts between trending and consolidating phases. When |VI+ − VI-| > 0.15, the asset is likely in a strong trend. When the spread falls below 0.05, expect range-bound behavior.

Research opportunity: Compare VI crossover performance across different crypto market cap tiers. Do large-caps (BTC, ETH) produce cleaner signals than small-caps?

2. Sector Rotation Timing

Sector ETFs (Technology, Healthcare, Energy, Financials and others) move in and out of favor with economic cycles. The Vortex Indicator can help time these rotations:

Strategy concept:

  1. Monitor VI+ and VI- on major sector ETFs (e.g., XLK, XLV, XLE, XLF)
  2. When a sector's VI+ crosses above VI- while others show VI- dominance, capital may be rotating into that sector
  3. Confirm with relative strength against the broad market (SPY)

Why this works: Sector rotation is about trend changes: money flows from one sector to another. VI is built to find this turning point.

Caution: Sector moves can be slow (weeks to months). Use longer VI windows (21-34 bars) on daily bars to filter noise.


VI vs. Alternative Trend Indicators

AspectVortex IndicatorADX/DMIMACD
Lines2 (VI+, VI-)3 (ADX, DI+, DI-)3 (MACD, Signal, Histogram)
Crossover signalsDirect from VI+/VI-Requires DI+/DI- crossoverMACD/Signal crossover
Trend strengthImplied by spreadExplicit ADX value (0-100)Histogram height
InspirationNatural vortex motionDirectional movementPrice momentum
ComplexityLowMediumMedium
Best forTrend identificationTrend strength filteringMomentum divergences

When to prefer VI: You want a simple two-line system with clear crossover signals.

When to prefer ADX: You need an explicit trend strength threshold (e.g., "only trade when ADX > 25").

When to prefer MACD: You look for momentum divergences or confirmation that a trend is ending.


When VI Works Well

  • Trending markets — VI crossovers capture directional moves well
  • High-volatility assets — Clear separation between VI+ and VI-
  • Breakout identification — Crossover often occurs near breakout points
  • Multi-asset screening — Normalized values allow comparison across assets

When VI Struggles

  • Sideways/choppy markets — Frequent crossovers create whipsaws
  • Low-volatility environments — VI+ and VI- cluster together, signals unclear
  • Fast reversals — VI lags, so signals come late
  • News-driven moves — Sudden gaps can cause erratic readings

Advantages

  • Dual perspective — Tracks bullish and bearish pressure at the same time
  • Clear signals — Crossovers are easy to read
  • Works widely — Stocks, forex, crypto, commodities
  • Grounded — Based on observable price ranges, not arbitrary smoothing

Limitations

  • Lagging indicator — Signals confirm trends rather than predict them
  • Whipsaw prone — False crossovers in consolidating markets
  • No price targets — Indicates direction but not magnitude
  • Window sensitive — Different windows give different results, so the window needs tuning

Further Reading


Indicator Assessment

%%{init: {'theme': 'base', 'themeVariables': { 'cScale0': '#2563eb', 'cScale1': '#7c3aed'}}}%%
quadrantChart
    title Vortex Indicator Assessment
    x-axis Low Complexity --> High Complexity
    y-axis Low Reliability --> High Reliability
    quadrant-1 Complex & Reliable
    quadrant-2 Simple & Reliable
    quadrant-3 Simple & Unreliable
    quadrant-4 Complex & Unreliable
    Stocks: [0.45, 0.70]
    Crypto: [0.45, 0.65]
DimensionStocksCryptoNotes
Popularity5/106/10Moderately known; less popular than ADX/DMI but gaining awareness
Reliability7/106/10Strong in trending markets; prone to whipsaws during consolidation
Complexity4/104/10Simple calculation; crossovers are easy to read
Versatility7/107/10Works across periods and asset classes; values are comparable across assets
Recent Interest6/107/10Growing interest in crypto trading communities; sector rotation applications emerging
Rendering diagrams...
© 2026 WanoLabs. All rights reservedBeta v0.1.5