|
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.
|
|
|
|