--- RR <[EMAIL PROTECTED]> wrote: > John, > > Thanks for the excellent workaround using the brute force approach; a > methodology I had not considered. This is a very useful approach to using > the TC2000 data source without having to build ATC securities and then > trying to duplicate the index values of the Hemscott industry group data. > You can probably thank dingo - his posting triggered the idea and it probably took about 10 minutes to produce the mapping and code it.
> I was able to get the function to work flawlessly on my development machine > with the beta Amibroker 4.9XX. It does not work on the production > AmiBroker 4.90 as the function uses the switch, case, and break statements > new in the recent beta just in case anyone else is attempting to use the > code. > Sorry about that. I didn't remember that it was beta. I was just thinking it was easy to expand the X, Y mapping to "Case X: ...Y; break;" which you can do a few seconds and then filling the rest of the code. Anyways I changed the cases to varsets etc ... see attach afl file. > Thanks, > > RR > > -----Original Message----- > From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf > Of John CW > Sent: Sunday, July 15, 2007 1:17 PM > To: [email protected] > Subject: Re: [amibroker] Categories Relative Strength > > I just hacked up a temporary solution. See the attached file MG.afl, it > contains an afl function that has a snapshot mapping of the ab industry to > tc > subindustry. > > --- RR <[EMAIL PROTECTED]> wrote: > > > Given a ticker symbol it is relatively easy to get the industry group. > How > > does one reference the value of the Base Indexes for Relative Strength > from > > AFL? > > > > > > > > > > > > In other words, I want to find out which if any group a particular ticker > > was assigned to by Worden for use in Relative Strength calculations. I > > believe you have to add these by hand at least I did and it was not > obvious > > to me how to reference this field programmatically. > > > > > > > > Thanks. > > > > > > > ____________________________________________________________________________________ Building a website is a piece of cake. Yahoo! Small Business gives you all the tools to get online. http://smallbusiness.yahoo.com/webhosting
MG_var.afl
Description: 3759696284-MG_var.afl
