PureBytes Links
Trading Reference Links
|
You must receive emails to get attachments. They are not saved in the web
version. I will email you direct this time only.
--
Terry
-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of brpnw1
Sent: Wednesday, January 10, 2007 08:41
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re: Help Request: matching Industry ID's across
watchlists
Hi Terry,
Sorry, the attachments never made it to my email inbox for some
reason. If you could send to siddha [at] gmail [dot] com that would
be great!
Really all I need is an example of how to match the IndustryID's of
ticker symbols in one watchlist with those of another watchlist.
Any ideas?
Here is what I have so far...
varSymbolWatchList = GetCategorySymbols( categoryWatchlist, 6 );
varSymbolMatch = StrFind(varSymbolWatchList,IndustryID(1)); //
returns 0 if not found
varTopSectorMatch = IIf(varSymbolMatch>0,1,0);
Thanks,
Bman
--- In amibroker@xxxxxxxxxxxxxxx, "Terry" <MagicTH@xxx> wrote:
>
> Maybe the attached 3 AFL files will get you going.
>
> One creates composites of each industry.
> One displays those composites.
> One is a custom backtest procedure to show the IndustryID as a
column in the
> backtest results. It also includes displaying the actual price
from the OI
> column which you will need to delete unless you have CSI Data.
> --
> Terry
> -----Original Message-----
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx]
On Behalf
> Of brpnw1
> Sent: Tuesday, January 09, 2007 00:40
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Help Request: matching Industry ID's across
watchlists
>
> I need help. If someone could post some example AFL code, that's
> probably all I will need.
>
> I am running an exploration that captures Industry Group Average
> ticker symbols (something that's proprietary to TC2007 data) that
> have generated a "buy" signal. It then puts the selected symbols
in
> their own "buy" watchlist. An example of an Industry Group Average
> ticker symbol is "MG412" -- the "412" is not associated in any way
> with the Industry ID for that Industry Group Average.
>
> I am then running an exploration that looks only at stocks
> associated with the same industry IDs of the Industry Group
Average
> ticker symbols that were previously placed in their own watchlist.
>
> If a stock's Industry ID matches any of the Industry ID's from the
> symbols in the Industry Group Average watchlist, the exploration
> will then check to see if the stock has generated a "buy" signal.
>
> Does anyone have an example of how to do this?
>
> Thanks in advance,
>
> Bman
>
>
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
>
> Yahoo! Groups Links
>
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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
http://www.amibroker.com/devlog/
For other support material please check also:
http://www.amibroker.com/support.html
Yahoo! Groups Links
Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.9/622 - Release Date: 1/10/2007 2:52 PM
|