Click here to Login








Vortex Oscillator

by Brian Brown, 5104 days ago
Share |






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.



Share This ->
Share |


You have to log in to bookmark this object
What is this?
Additional Information




Type: Trading Indicator

Object ID: 457


Country:
All

Market: All

Style:
Technical Analysis

Reviews
You must log in first

Join now
and get instant access for free to the trading software, the Sharing server and the Social network website.
Click here


Related objects

Empty

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object

Technical Analysis


Fundamental Analysis



Random Blog Posts

Backtesting Process

Trading software new features

Money Management: Optimize a trading system

Optimization of a trading system

How to create custom databases in your trading software

Technical Analysis Using Multiple Timeframes - Second Part

New features in QuantShare - Trading Software

Technical Analysis Using Multiple Timeframes

Show All

Number of reviews
Click to add a review
Average rate
Click to rate this item
Number of times this object was downloaded
Number of rates the current object received
Report an object
if you can't run it for example or if it contains errors
Click to report this object






QuantShare
Product
QuantShare
Features
Create an account
Affiliate Program
Support
Contact Us
Trading Forum
How-to Lessons
Manual
Company
About Us
Privacy
Terms of Use

Copyright © 2024 QuantShare.com
Social Media
Follow us on Facebook
Twitter Follow us on Twitter
Google+
Follow us on Google+
RSS Trading Items



Trading financial instruments, including foreign exchange on margin, carries a high level of risk and is not suitable for all investors. The high degree of leverage can work against you as well as for you. Before deciding to invest in financial instruments or foreign exchange you should carefully consider your investment objectives, level of experience, and risk appetite. The possibility exists that you could sustain a loss of some or all of your initial investment and therefore you should not invest money that you cannot afford to lose. You should be aware of all the risks associated with trading and seek advice from an independent financial advisor if you have any doubts.