PureBytes Links
Trading Reference Links
|
Hi,
If by industry group you mean the MGxxx industry index, this requires
one-time setup:
Go to Symbols > Categories > Industries, and under "Base Index for Relative
Strength", type in the MGxxx number for each industry in the list ( or pull
it off the drop-down list ).
Once this is done, you can:
1. Get the industry index via GetBaseIndex()
2. Get the sector index via StrLeft( GetBaseIndex(), 4) + "0"
Each ticker can only have one base indaex - AB's order of precedence is
Group > Industry > Market, so if you want to use Industry, make sure Base
Index on the Categories > Groups tab is blank.
Steve
----- Original Message -----
From: "polomorabe" <paul.moore@xxxxxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, September 28, 2005 7:53 AM
Subject: [amibroker] Questions about using GetBaseIndex()
> Hello,
>
> I'm trying to find a way to get a stock's industry group with TC2005.
> I've looked at Symbol->Categories. I can specify the base index on the
> Markets tab, but I have to specify a specific index. There appears to
> be no option to specify the generic Industry Group as the base index,
> so that GetBaseIndex() always returns the correct group for a selected
> stock.
>
> Can anyone help?
>
> Thanks,
> Paul
>
>
>
>
>
>
>
> 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
>
>
> Yahoo! Groups Links
>
>
>
>
>
>
>
------------------------ Yahoo! Groups Sponsor --------------------~-->
Try Online Currency Trading with GFT. Free 50K Demo. Trade
24 Hours. Commission-Free.
http://us.click.yahoo.com/RvFikB/9M2KAA/U1CZAA/GHeqlB/TM
--------------------------------------------------------------------~->
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
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> To unsubscribe from this group, send an email to:
amibroker-unsubscribe@xxxxxxxxxxxxxxx
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|