Ken:

No problem J

Sometimes we are simply blindly, this is human J

 

 

Best Regards

 

Thomas

www.tradingbasis.com

 


From: [email protected] [mailto:[email protected]] On Behalf Of Ken Close
Sent: Sunday, August 20, 2006 6:48 PM
To: [email protected]
Subject: RE: [amibroker] Question Abouty Industry Name

 

Thomas:  thanks for pointing out my stupid error.  Now if I could withdraw my original email with the dumb mistake on it, I would.

 

I appreciate you pointing out my mistake.

 

Thanks,

 

Ken

 


From: [EMAIL PROTECTED]ps.com [mailto:amibroker@yahoogroups.com] On Behalf Of Thomas Z.
Sent: Sunday, August 20, 2006 12:31 PM
To: [EMAIL PROTECTED]ps.com
Subject: RE: [amibroker] Question Abouty Industry Name

Hello Ken,

 

on a first view i see that you use sectorid for your indname, i assume you mean industryid()

IndName = CategoryGetName(categoryIndustry,SectorID());<<<<<<<<<Gets Industry Name 2nd way

 

 

Best Regards

 

Thomas

www.tradingbasis.com

 


From: [EMAIL PROTECTED]ps.com [mailto:[EMAIL PROTECTED]ps.com] On Behalf Of Ken Close
Sent: Sunday, August 20, 2006 6:24 PM
To: [EMAIL PROTECTED]ps.com
Subject: [amibroker] Question Abouty Industry Name

 

Can someone answer this question: I have an exploration in which I seek to list Industry Names.  I get two different answers depending on the command I use for getting the industry names.

 

I want to use this in an Exploration of All Symbols (TC2005 db).

 

This code produces two different names for IndustryName. 

 

Code:

AddTextColumn(FullName(),"FullName",1.0);
AddColumn(SectorID(),"SectorID",1.0);
AddTextColumn(SectorID(1),"SectorName1",1.0);  <<<<<<<<<<<<<< Gets Industry Name 1st Way
AddColumn(IndustryID(),"IndustryID",1.0);
AddTextColumn(IndustryID(1),"IndustryName1",1.0);
SecName = CategoryGetName(categorySector,SectorID());
IndName = CategoryGetName(categoryIndustry,SectorID());<<<<<<<<<Gets Industry Name 2nd way
AddTextColumn(SecName,"Sector Name2",1.2);
AddTextColumn(IndName,"IndustryName2",1.0);

 

Results in the AA window (once sorted) show different Industry Names via the "2nd" way.

 

Why?

 

Thanks for helping on this.

 

Ken

__._,_.___

Please note that this group is for discussion between users only.

To get support from AmiBroker please send an e-mail directly to
SUPPORT {at} amibroker.com

For other support material please check also:
http://www.amibroker.com/support.html






SPONSORED LINKS
Software support Small business finance Business finance online
Business finance training Business finance course


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to