Use COM object in AFL.
Something like this:
AB = CreateStaticObject("Broker.Application";
stock = AB.Stocks("XYZ");
mkid = stock.MarketID;
--- In [email protected], "treliff" <[EMAIL PROTECTED]> wrote:
>
> This must have been asked before. Searched the msg. history,
probably
> just missing the correct search terms.
>
> Q: is there a way to grab a foreign symbol's MarketID? The wrong way
> of course is:
>
> Foreign( XYZ, MarketID() )
>
> Thanks!
>
> -treliff
>
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/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/amibroker/join
(Yahoo! ID required)
<*> To change settings via email:
mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/