You can do this using OLE interface
stk = AB.Stocks("MSFT");
stk.Quotations.Count
But what for? BarIndex is the same for foreign symbol because
foreign function synchronizes data:
http://www.amibroker.com/f?foreign
Best regards,
Tomasz Janeczko
amibroker.com
----- Original Message -----
From: "nyctastudent" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, April 15, 2008 2:27 PM
Subject: [amibroker] How do you get the BarIndex() for a Foreign symbol?
> How do you retrieve the last value of barindex for 2 foreign tickers?
>
> Thanks in advance,
>
> JB
>
>
>
>
> ------------------------------------
>
> 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 NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
> http://www.amibroker.com/devlog/
>
> For other support material please check also:
> http://www.amibroker.com/support.html
> Yahoo! Groups Links
>
>
>