[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[amibroker] Extracting MG Industry Group Closing Price



PureBytes Links

Trading Reference Links

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





------------------------ 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/