Join Now or Login or connect with

Trading Software Trading objects Features Blog Search

This is a trading object shared by a member. You can use this object as well as hundreds of others with QuantShare - Trading Software.
Click on the Like button or on one of the share buttons to share this object and spread the word about QuantShare.
QuantShare is an advanced trading software for stock, forex, futures, ETF and options markets. It is the best and the most complete EOD trading software software and it is FREE (beta version).

Average Correlation Index - S&P 500

by Tom Huggens, 155 days ago
Share |

This composite index calculates for each stock, its close price correlation with the close price of an index. It then averages the results and creates the Average Correlation Index, whose symbol name is "Correl_10bars".

For each trading bar and for each stock (only stocks whose close prices are above two are selected), the correlation between this stock and the index is calculated for the preceding 10 bars. The index involved in the correlation is the "^GSPC" or the S&P 500.

You can update both, the correlation period and the index symbol name. You can also modify the list of symbols used by this composite.
In order to change the correlation period, you will have to update the composite item and change its formula. The first line "period = 10;" defines the period.
In order to change the index, which is currently set to S&P 500, replace "^GSPC" and type in the index symbol name you want to use. As an example, if you want to calculate the average correlation between stocks listed on the Bombay Stock Exchange and this exchange main index, type in "^BSESN" as the index symbol name (Use BSE Sensex to download historical end-of-day for the Bombay Stock Exchange Sensitive Index). For the National Stock Exchange, you should use "^S&P_CNX_Nifty" instead of "^GSPC" (NSE Nifty - S&P CNX Nifty).

A high value for the Average Correlation Index may indicate that many stocks are correlated with the S&P 500. And a low value for this composite indicates that there is a low correlation between individual stocks and the S&P 500 index.

From 2001 to 2009, a simple strategy that buys the S&P 500 when its 10-bar rate-of-return is negative and the Average Correlation Index is higher than 0.5 (50%) and exits the position after 5 bars, generated 35 trades and produced an average gain of 0.356% per bar.
A simple strategy that shorts the S&P 500 when its 10-bar rate-of-return is positive and the Average Correlation Index is higher than 0.5 and exits the position after 5 bars, generated 23 trades and produced an average gain of 0.245% per bar.


Share This ->
Share |


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





Related Trading Objects



Country
Page 1
BAA Corporate Bond Yield Forecast
by Patrick Fonce, uploaded several months ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 Notes Report an item
Covered Call Strategy Indices - Dow DJI..
by Tom Huggens, uploaded several months ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 Notes Report an item
Options Market - Trading volume data pe..
by Patrick Fonce, uploaded several months ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 Notes Report an item
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






Market
Page 1
Fibonacci Trading Indicator - Support a..
by QuantShare, uploaded today
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Fibonacci Trading with the Retracement ..
by QuantShare, uploaded yesterday
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Williams AD - Accumulation Distribution..
by QuantShare, uploaded one week ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 Notes Report an item
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






Style
Page 1
Fibonacci Trading Indicator - Support a..
by QuantShare, uploaded today
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Fibonacci Trading with the Retracement ..
by QuantShare, uploaded yesterday
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 0 Notes Report an item
Williams AD - Accumulation Distribution..
by QuantShare, uploaded one week ago
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 1 Notes Report an item
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






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
Show All
Yahoo EOD historical quotes (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 417 Notes Report an item
Canada Stock Market Symbols (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 37 Notes Report an item
Argentina Stock Market Symbols (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 6 Notes Report an item
Austria Stock Market Symbols (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 7 Notes Report an item
US delisted symbols (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 49 Notes Report an item
ETF Symbols (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 47 Notes Report an item
Historical Quotes for Delisted US Stocks (by QuantShare, uploaded several months ago)
No notes

Rate an item Rate an item Rate an item Rate an item Rate an item Number of downloads 45 Notes Report an item
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


Trading Objects

  4 0 0 - BSE Sensex
 16 0 0 - NSE Nifty - S&P CNX Nifty
  1 0 0 - Zweig Breadth Thrust
  1 0 0 - Mexican Stock Exchange - Bolsa Mexicana de Valores
  6 0 0 - Darvas Box Indicator
  1 0 0 - Z-Score (Standard Score)
  1 0 0 - Mean and Standard deviation - Z-Score
  1 0 0 - Damping index
 22 0 5 - Mahesh Moving Average
  2 0 0 - Collar Option Strategy
More trading objects...


Recent Posts

Pivot Tables in QuantShare Trading Software
Posted 9 days ago

How to create market indicators using the composite function - Part 1
Posted 17 days ago

Optimize a trading strategy using the Sharpe ratio
Posted 24 days ago

How to create a trading indicator that uses stock news
Posted 31 days ago

How to create your own technical analysis indicators
Posted 38 days ago

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


contactus
About | Privacy | Terms of Use | Manual
Copyright © 2010 QUANTSHARE.COM