You can't get to the AFL functions via OLE.  Check the help file for the
things you CAN do.

d 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of murthysuresh
> Sent: Friday, July 13, 2007 7:36 PM
> To: [email protected]
> Subject: [amibroker] query from Vb.net
> 
> Hello
> I am trying to access ami from vb.net. Can i access AFL 
> functions. I am 
> tryign to get the 9 ema price and 20 DMA of volume. Here is 
> my starter 
> code
>         Try
>             ab = CreateObject("Broker.Application")
>             activedoc = ab.activedocument
>             txtSymbol.Text = activedoc.Name
>             '' need to figure out how to get the 9 ema price 
> and 20 dma 
> volume.
>         Catch ex As Exception
>             txtmessages.Text = ex.ToString()
>         End Try
> 
> Regards
> Seede
> 
> 
> 
> 
> 
> 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
> 
> 
> 
> 

Reply via email to