Skip to main content

Vortex Indicator for Amibroker (AFL)

kaiji over 16 years ago Amibroker (AFL)

  • Rating:
    5 / 5 (Votes 2)
  • Tags:
    oscillator, amibroker, trend

The vortex indicator was developed as a new directional movement indicator, drawing inspiration from J. Welles Wilder’s directional movement indicator, as well as another unrelated and improved directional indicator.

Screenshots

Indicator / Formula

Copy & Paste Friendly
// Vortex Indicator 
// S&C Traders Tips Jan 2010 
period = Param("Period", 14, 2 ); 

VMP = Sum( abs( H - Ref( L, -1 ) ), period ); 
VMM = Sum( abs( L - Ref( H, -1 ) ), period ); 
STR = Sum( ATR( 1 ), period ); 

VIP = VMP / STR; 
VIM = VMM / STR; 

Plot( VIP, "VI"+period+"+", colorBlue); 
Plot( VIM, "VI"+period+"-", colorRed ); 

0 comments

Leave Comment

Please login here to leave a comment.