Expert Advisors • Indicators • Scripts • Libraries

MQL.RobotFX.org is the biggest collection of MetaTrader expert advisors (MT5 & MT4), indicators, scripts and libraries that can be used to improve trading results, minimize risks or simply automate trading tasks

MetaTrader 5 Indicator | Vortex_Difference

Oscillator VORTEX difference displays as a histogram the difference between +VI and -VI of indicator Vortex.

For it to operate correctly, the availability of indicator Vortex is not required - the indicator calculates it independently.

It has one input parameter:

  • Period - Vortex indicator calculation period.

Calculation:

Diff = +VI - (-VI)

where:

+VI = 100 * svip / satr,  -VI = 100 * svim / satr  

where:

svip = SMA(iVIP, Period)  svim = SMA(iVIM, Period)  satr = SMA(ATR, Period)  iVIP = Abs(High - PrevLow)  iVIM = Abs(Low - PrevHigh)  

MetaTrader Experts, Indicators, Scripts and Libraries

Fig 1. Indicator Vortex difference

MetaTrader Experts, Indicators, Scripts and Libraries

Fig. 2. Indicators Vortex Difference and Vortex

21116

Best MetaTrader Indicators + Profitable Expert Advisors