Vortex Indicator Calculator
Calculate positive and negative Vortex lines from ordered entered bars with both cross-bar movements, true range and every rolling denominator visible.
Enter one period and ordered HLC bars
Use completed bars from one symbol, timeframe and broker feed. The first row establishes the previous-bar boundary.
One completed bar per line. Close must lie inside the high-low range. Separate values with commas, semicolons or tabs.
Latest Vortex state
Entered Ultimate, Vortex and Mass Index 1.0.0.
| Label | Index | High | Low | Close | Prior high | Prior low | Prior close | + movement | − movement | True range | Rolling + sum | Rolling − sum | Rolling TR | +VI | −VI | Difference | State |
|---|
How the Vortex lines are calculated
Negative movement = |current low − previous high|
True range = max(high, previous close) − min(low, previous close)
±VI = 100 × N-row movement sum ÷ N-row true-range sum
The published formula expresses each line as the ratio of period simple averages. Because the same period divides numerator and denominator, version 1.0.0 uses the equivalent ratio of their rolling sums.
The first reportable value is zero-based index N. Every displayed window contains N derived movements and true ranges.
Assumptions and limits
- Period must be a whole number from 2 to 200.
- At least period plus one ordered HLC bars are required.
- A reportable rolling true-range sum of zero is undefined and is rejected.
- Rows must use one symbol, timeframe and broker feed.
- Trend, direction, crossing, strength, confirmation, entry and exit interpretations are withheld.
Worked example from the audited fixture
How to interpret the result
Both lines normalize cross-bar movement by the same rolling true-range sum. Their difference is shown for arithmetic comparison only. A positive spread between the lines is not treated as a direction, crossover or entry signal.
Frequently asked questions
- Enter one period and at least period plus one ordered high-low-close bars from one symbol, timeframe and feed.
- It is the absolute difference between current high and previous low.
- It is the absolute difference between current low and previous high.
- It is maximum of current high and previous close minus minimum of current low and previous close.
- Each period movement sum is divided by the same rolling true-range sum and multiplied by 100.
- The numerator and denominator use the same-period simple average, so their common one-over-period factors cancel exactly.
- The first positive and negative Vortex values appear at zero-based index equal to the period.
- No. Trend, direction, crossing, strength, confirmation, entry and exit interpretations are withheld.
Sources and methodology
- MetaQuotes Code Base — Vortex — Published positive and negative cross-bar movement and true-range normalization formulas.
Continue entered movement analysis
Compare the chart feed and trading terms
Use one broker feed, symbol and timeframe for every entered observation, and compare the source history with your terminal before relying on a platform match.
Risk and affiliate disclosure: Leveraged forex and CFD trading can result in substantial losses. These are affiliate links, so ForexMT4Indicators.com may receive compensation if you register or trade through them, at no additional cost to you. Availability and terms vary by jurisdiction and broker entity.

