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
Created by Dr. Rene Koch, the variance ratio indicator measures the degree of mean reversion or trendiness in a time series. It is an easy and fast way to detect whether a security or price series is trending, mean reverting or following a random walk.
The variance ratio interpretation is as follow:
Above 1: The series is showing a tendency to form trends. This means that the series is likely to move in the same direction (compared to previous direction).
Below 1: The series is showing some degree of mean reversion. This means that series is likely to move in the opposite direction.
Equal to 1: This series is following a random walk. This means that it is impossible to predict the direction of the underlying security.
The trading indicator gets three parameters, which are a price series, a lookback period (to calculate return) and another period to use when calculating standard deviations.
Example:
test1 = VarianceRatio(close, 40, 200) > 1;
Check whether the security shows a tendency to form trends or not.
test2 = VarianceRatio(close, 40, 200) > 0.95 and VarianceRatio(close, 40, 200) < 1.05;
Check whether the security is following a random walk or not. We can include this rule in a trading system to ignore these unpredictable types of price series.