Entered HLC · cross-bar movement normalized by true range

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.

Runs in your browserMovement and TR windows disclosedNo crossover or direction signal

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.

Entered

One completed bar per line. Close must lie inside the high-low range. Separate values with commas, semicolons or tabs.

Vortex boundary: The two normalized lines and their arithmetic difference are numeric outputs only. No trend, crossover, direction, entry or exit is classified.

Latest Vortex state

Entered Ultimate, Vortex and Mass Index 1.0.0.

Derived
No Vortex values calculated yetEnter at least period plus one ordered HLC bars, or load the audited example.

How the Vortex lines are calculated

Positive movement = |current high − previous low|
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

Reproduce it with “Load audited example”The 12-bar fixture uses period 5. Latest positive and negative movement sums are 27 and 19, while true range sums to 24. Vortex positive = 27 ÷ 24 × 100 = 112.500000, Vortex negative = 19 ÷ 24 × 100 = 79.166667, and their difference is 33.333333.

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

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.

XM

Review available instruments, chart history and account terms.

Check XM terms

FBS

Compare symbol specifications and chart-feed conventions for your region.

Check FBS terms

FXOpen

Confirm chart history and trading conditions for the entered symbol.

Check FXOpen terms

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.

Disclaimer: The results from this tool are estimates for educational and informational purposes only and may differ from your broker's figures. This is not financial or investment advice. Trading forex and CFDs carries a high level of risk and can result in the loss of all your capital. Always verify calculations with your broker and trade within your risk tolerance.