Click here to Login





                                                   Automatically charting sector with stock

  0

0
dare2
2012-11-10 19:00:33


Is there any way I can include an indicator in a layout that will automatically graph the sector in the background for any stock chart I am viewing?

Thanks,
Darrell



QuantShare
2012-11-12 09:21:51

  0

You can do this by getting data for each sector then associating sectors with stocks.
Later you can use "GetSeries" function to plot the sector data.
a = GetSeries(sector(), close);
plot(a, "");



allan nathan
2012-11-13 03:33:09

  0

I would really appreciate some more info on this.Sector/industry/stock analysis would be a nice feature.

thanks,

Allam



QuantShare
2012-11-13 10:31:18

  0

We will do a blog post about this.


dare2
2012-11-13 12:54:22

  0

How do I associate sectors with stocks?

Darrell



QuantShare
2012-11-13 14:08:05

  0

Associate an industry with a stock then a sector with an industry (Symbol -> Update Symbol)


allan nathan
2012-11-17 13:53:32

  0

A blog or video would be great.

Are you suggesting we do this manually for 600 stocks?

Allan



QuantShare
2012-11-17 14:11:48

  0

You can associate industries to stocks using "Symbol -> Auto Symbols". Select exchanges you are interested in and make sure you check "Force update of symbol information".


Seeker
2014-02-12 17:38:30

  0

Instead of the manual association of industry to sector, can it be done through the global script?


QuantShare
2014-02-12 20:37:26

  0

Industry to sector association is done automatically using "(Symbol -> Update Symbol)"



Seeker
2014-02-13 09:28:59

  0

I guess u meant "Symbol-->Auto-Manage Symbols". If my understanding is correct, this is in case I am managing my database through yahoo or other sources which are mapped by you there?
If my database is my own or a paid 3rd party database and I manage the symbol info myself, then I guess we need to do the manual industry assignment to sectors under "Symbol-->Categories-->Industry".
I am thinking if we can have something similar to Symbols.AddSector or Symbols.AddIndustry. Something like Symbols.IndustrytoSector("Metals & Mining","Materials").





QuantShare
2014-02-13 12:01:33

  0

You are correct.

But this function already exists:
Symbols.AddIndustry("Industry", "Sector");

It adds an industry and associates it with the sector.



Seeker
2014-02-13 14:45:35

  0

wow. i thought Symbols.AddIndustry is ony for adding the industry. So, useful.


No more messages
0




Reply:

No html code. URLs turn into links automatically.

Type in the trading objects you want to include: - Add Objects
To add a trading object in your message, type in the object name, select it and then click on "Add Objects"










QuantShare

Trading Items
Update the Stock Exchange Associated With U.S. Stocks - Market Fi...
Industry and Sector Information for the US Stock Market
Stock Correlation with its Industry - Change over time
Advance Stocks & Volume - Stock that advanced with a volume incre...
Predict financial and stock markets with textual analysis

How-to Lessons
How to automatically draw Fibonacci Retracement for each new stoc...
How to drag & drop a stock to a static watchlist
How to associate an index with a list of stocks
How to display the bar index of a stock on a chart
How to screen for stocks having a high correlation with the Dow J...

Related Forum Threads
Can I update the sector and industry information in the stock dat...
charting issue with new version 2.91
Futures data - overwrites stock symbols, issues with point value
SCRIPT: Stock Price Autodownloader v1.0
Copying Symbols with Data

Blog Posts
How to Backtest an Intraday Stock Trading System with EOD Ranking
Display several stock market charts with one click
Charting & Scripts - Manage stock charts using the global script
Stock Market Prediction with QuantShare
How to Switch On/Off Trading Rules in Your Stock Trading System









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.