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

[amibroker] select a ticker



PureBytes Links

Trading Reference Links

Is there a way to use the Amibroker Object Model to select a ticker
as opposed to opening a ticker. I am using the following VBA code to
open a ticker and all this does is open a bunch of new windows in my 
AB 4.60.   VBA code:

Dim oAB As Broker.Application
Set oAB = New Broker.Application
Set oStocks = oAB.Stocks

StockQty = oAB.Stocks.Count

For i = 1 to StockQty
   oStock = oStocks(i).Ticker
   oAB.Documents.Open (oStock)          'Opens new window
   ' blah bla blah
Next i

I would to select a ticker to open rather than open all these new 
windows.




------------------------ Yahoo! Groups Sponsor --------------------~--> 
Try Online Currency Trading with GFT. Free 50K Demo. Trade 
24 Hours. Commission-Free. 
http://us.click.yahoo.com/DldnlA/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/