This is a trading item or a component that was created using QuantShare by one of our members.
This item can be downloaded and used by QuantShare Trading Software.
Trading items are of different types. There are data downloaders, trading indicators, trading systems, watchlists, composites/indices...
You can use this item and hundreds of others for free by downloading QuantShare.
Top Reasons Why You Should Use QuantShare:
Works with US and international markets (stock, forex, options, futures, ETF...)
Offers you the tools that will help you become a profitable trader
Allows you to implement any trading ideas
Exchange items and ideas with other QuantShare users
Our support team is very responsive and will answer any of your questions
We will implement any features you suggest
Very low price and much more features than the majority of other trading software
The Vortex Oscillator is a technical analysis indicator inspired from J. Welles Wilders directional movement indicator. The oscillator can be used to determine if a security is trending, it can be incorporated into a trend following system or can be used directly to generate buy and sell signals.
The Vortex Oscillator function is called "vortexOsc", it allows you to specify the number of period to use to sum the ATR (Average true range), the difference between the high and previous low and the difference between the low and previous high values. Besides those differences and the average true range, the vortex oscillator uses also the triple and the double exponential moving averages.
The next formula plots the vortex oscillator and uses a different color for each bar depending on the value of the indicator and how it compares to its previous value.
vort = vortexOsc(21);
color=iff(vort>0,iff(vort>Ref(vort, 1), 1, 2),iff(vort>Ref(vort, 1), 3, 4));
Plot(vort, "Vortex Oscillator", colorRed,ChartBar, StyleSymbolNone);
UpdateColor(color == 1, colorGreen);
UpdateColor(color == 2, colorYellow);
UpdateColor(color == 3, colorBlue);
UpdateColor(color == 4, colorRed);
The indicator's bar color is Green if the vortex oscillator is positive and higher than its previous value; Yellow if it is positive and lower than the previous value; Blue if it is negative and higher than the previous value and finally Red if it is negative and lower than the previous value.
>>>> More trading objects? click here to search for trading sytems, downloaders, screens, custom drawing tools, indicators... by country, market or style.