Click here to Login








Average Stock Performance for each U.S Exchange

by QuantShare, 4724 days ago
Share |






The current pivot table returns the average 10-Bar stock performance for each U.S. Exchange (NYSE, NASD, NYSE and OTC). It also returns, in another column, the number of stocks in each one of the previous exchanges. The 10-Bar return calculation is performed using the "perf" trading indicator and it is based on the last global date.

As I said, the table contains two columns. The "10D Return" uses the "Average" calculation method, while the "Number of stocks" column uses the "Sum" method. Stocks are grouped using the "market()" function, a function that returns the market/exchange where the stock is listed.
As you may have guessed, this pivot table can work with any market. All you have to do is make sure that the market field of each stock is properly set, then you should update the limits field values of the pivot table.
Here is how to update the limits field:
- Right click on the pivot table
- Click on "Update Rows/Columns/Values"
- Select "Formula" under the "Rows" list
- Select "Indicator Limits" tab
- Under "Limits" pane, change "AMEX;NASD;NYSE;OTC" with your own list of exchanges

It is also possible to calculate the average performance or return for each sector, industry or index, by setting "industry()", "sector()" or "index()" formula instead of "market()". You also need to set the different sectors, industries or indices (or at least few ones) in the "Limits" field.

Here is how the pivot table looks like. This example uses only a subset of U.S. stocks:



Share This ->
Share |


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




Type: Pivot Table

Object ID: 965


Country:
United States

Market: Stock Market

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

Charting & Scripts - Manage stock charts using the global script

Trading System: Buy Stocks based on their Sharpe Ratio Rank

Creating and managing notes for your stocks

How to Quickly Create Fundamental Scans

Download Trading Data using the Post-Script

Download Trading Data using the Pre-Script

Download Trading Data using the URL-Script

Trading Items: Data Download using .Net Scripts

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.