PureBytes Links
Trading Reference Links
|
assuming you have set the index symbols for the industries in Symbol-Category
On 10/9/05, Dan Clark <dan_public@xxxxxxxxxxx> wrote:
>
>
> HI,
>
>
>
> Try:
>
>
>
> IndustrySymbol = GetBaseIndex() ;
>
>
>
> Then you can use Foreign, SetForeign, PlotForeign, etc.
>
>
>
> From here it's pretty easy to get the Sector Symbol also. In TC2005, the
> Sector Symbol can be generated by replacing the last digit of an Industry
> Symbol with a zero ("0"). So, the Sector Symbol for MG747 is MG740.
>
>
>
> Regards,
>
>
>
> Dan.
>
>
> ________________________________
>
>
> From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
> Of quirinus
> Sent: Saturday, October 08, 2005 9:19 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Extracting MG Industry Group Closing Price
>
>
>
> Hi,
>
> I use TC2000 for end of day data. Basically what I would like to do
> is to be able to pull up the closing price of a stock's Industry
> Group Average.
>
> For example - American Eagle Outfitter (AEOS) is part of the
> Specialty Retail - Apparel Stores Industry Group (MG747).
>
> I'm trying to implement a simple Industry Group Relative Strength
> graph while looking at a stock - so that as I go through stocks the
> graph will automatically pick up the appropriate MG Industry Group
> and plot the stock's Relative Strength.
>
> So, if I'm looking at AEOS, my formula will pick up MG747 close and
> graph the Relative Strength of AEOS vs MG747.
>
> When I move on to another stock, the formula should pick up the
> appropriate MG Group close automatically.
>
> I just need to pick up the closing price of the MG Industry Group
> based on the stock I'm looking at.
>
> I've tried using
>
> MG_Close = Foreign(IndustryID(1),"Close");
>
> but that doesn't seem to work.
>
> Would someone be please kind enough to help me figure this out.
>
> Thanks
>
>
>
>
>
>
> 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
>
> Visit your group "amibroker" on the web.
>
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> To unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
> ________________________________
>
>
>
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://e-wire.net.au/~eb_kavan/ab_write.htm
------------------------ 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/
|