Skip to content

Free MT5 indicator

Vortex Trend

Vortex indicator for MT5 with VI+ and VI- lines in a separate window and arrows and alerts on confirmed crossovers.

Trendv1.0MetaTrader 5 (MQL5) Compiles with 0 errors Non-repainting signals Alerts

What it does

Vortex Trend draws two lines, VI+ and VI−, that compare upward and downward movement over a set number of bars. When VI+ is on top, upward movement dominates; when VI− is on top, downward movement dominates. An arrow marks each closed bar where the lines cross.

It is a compact way to spot the start of a new trend and to judge which side currently has control.

How it works

For each bar:

  1. Positive vortex movement VM+ = |current high − previous low|.
  2. Negative vortex movement VM− = |current low − previous high|.
  3. True range TR = larger of current high and previous close, minus the smaller of current low and previous close.

Over the last 14 bars:

  • VI+ = sum of VM+ ÷ sum of TR.
  • VI− = sum of VM− ÷ sum of TR.

A bullish cross is a closed bar where VI+ − VI− becomes positive after being zero or negative on the previous bar. A bearish cross is the reverse. If you set a minimum spread, the difference on the cross bar must exceed it, which removes marginal crosses. A reference level is drawn at 1.0.

How to use it

  • Read the line on top as the dominant direction. Wide separation suggests a strong move; lines that converge suggest the move is fading.
  • Crosses are trend-start hints. They tend to work better after a period of consolidation than in the middle of a choppy range.
  • A small minimum spread, for example 0.02 to 0.05 depending on the instrument, can reduce whipsaws at the cost of later signals.
  • Combine crosses with a price-chart trend tool, such as a moving average or a trailing stop, to confirm direction before acting.
  • It works on any symbol and timeframe; H1 to D1 usually give cleaner readings.

Settings

InputDefaultWhat it changes
Vortex length14Longer values smooth the lines and reduce crosses
Minimum VI+/VI- spread0.0Filters marginal crosses when above zero
Pop-up alert / Push notificationfalse / falseOne alert per closed bar on a new cross

Limitations

  • VI+ and VI− cross frequently in sideways markets, and each cross is a potential false signal.
  • Single large bars can dominate the sums for the whole window and then drop out abruptly, causing sudden moves in the lines.
  • The indicator says nothing about where to place a stop or target.
  • Values on the live bar change with each tick; arrows and alerts wait for the bar to close.
  • Educational tool only; trading involves substantial risk of loss. Try it on a demo account first.

Key inputs

Key inputs of Vortex Trend
InputDefaultDescription
Vortex length14Bars summed for vortex movement and true range.
Minimum VI+/VI- spread after the cross0.0Require the lines to separate by at least this much on the cross bar (0 = off).
Pop-up alert on new crossfalseAlerts once when a closed bar confirms a cross.
Push notification on new crossfalseSends the same message to the MT5 mobile app.

Educational tools, not advice. Indicators and Expert Advisors describe price; they do not predict it, and past behaviour does not guarantee future results. Test everything on a demo account first and never risk money you cannot afford to lose. See our disclaimer.

Keep exploring

Related mt5 indicators