Click here to Login




How to plot the relative performance of several stocks/indices

Updated on 2012-01-05





The relative performance is calculated to show how a stock is performing relative to its index, industry, sector or another stock. It can also be calculated to compare several assets (Stocks, ETFs, Forex pairs, commodities, futures...)


Steps:

- Go to the following page Relative Performance/Return Chart - Compare Several Assets/Stocks
- Click on "Download" to get this trading item (trading indicator)
- Double click on the downloaded file to open it in QuantShare then follow the instructions to install it
- In a chart, click on the first icon to add a new indicator
- Select "All Indicators" tab then type "CompareAssets"
- In "Param" grid, type the stocks or indices you want to compare (separated by a semi-colon)
Example: GOOG;AAPL;MSFT;^GSPC
- Next to "Date" parameter, specify the reference or base date (The relative performance calculation will start on that date)
- Click on "OK" to add the relative performance indicator




Here is how to measure the relative performance of other assets:

- In the same chart, click on the third icon then select "CompareAssets"
- Update the "assets" and/or "date" fields


How to display the indicator formula:

- Select "Tools" then "Create Functions"
- Select "CompareAssets" to display the indicator formula (Implemented in CSharp)








no comments (Log in)

Back







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.