PureBytes Links
Trading Reference Links
|
Anthony,
If you run that in exploration, x is the sector id of
the current symbol, not that of msft. Do you see
the sector id of msft when you run it (when msft itself
is not selected)?
If my currently selected symbol is say !SPX, I need to
get to other tickers' industry or sector id's to calculate
some statistics, through whichever means. I was thinking
that either one of the following two would be good
solutions -
indId = Foreign("MSFT", "IndustryID");
or
SetForeign("MSFT");
indId = IndustryID();
RestorePriceArrays();
Thanks.
Jitu
--- In amibroker@xxxxxxxxxxxxxxx, "Anthony Faragasso" <ajf1111@xxxx>
wrote:
> Jitu
>
> Do you mean something like this:
>
> x=ValueWhen(Foreign("msft","c"),SectorID(0));
>
> Anthony
>
> ----- Original Message -----
> From: "jtelang" <jtelang@xxxx>
> To: <amibroker@xxxxxxxxxxxxxxx>
> Sent: Thursday, November 06, 2003 1:29 PM
> Subject: [amibroker] IndustryID of Foreign...
>
>
> > Tomasz,
> >
> > From what I know, currently there's no way to get ind/sector
> > id's of a foreign symbol, is that right? If not too difficult,
> > would you please consider adding access to it in future, either
> > via Foreign() or SetForeign()?
> >
> > Thanks.
> >
> > Jitu
> >
> >
> >
> >
> > Send BUG REPORTS to bugs@xxxx
> > Send SUGGESTIONS to suggest@xxxx
> > -----------------------------------------
> > Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
> > (Web page: http://groups.yahoo.com/group/amiquote/messages/)
> > --------------------------------------------
> > Check group FAQ at:
> http://groups.yahoo.com/group/amibroker/files/groupfaq.html
> >
> > Your use of Yahoo! Groups is subject to
http://docs.yahoo.com/info/terms/
> >
> >
>
>
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.536 / Virus Database: 331 - Release Date: 11/3/2003
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/GHeqlB/TM
---------------------------------------------------------------------~->
Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
|