Thanks Dingo. I still do not understand why this should not work in AFL :

GetSym   = ParamTrigger("Get SP500 ","GET"); 
if (GetSym) 
{ 
   AB.createobject("Broker.Application"); 
   AB.Documents.Open("^GSPC"); 
} 

Regards, Ton. 

  ----- Original Message ----- 
  From: dingo 
  To: [email protected] 
  Sent: Friday, May 01, 2009 5:10 PM
  Subject: Re: [amibroker] Erasing All List






  oAB.Documents.Open(CStr(Ticker))   is the way to do it in vbscript.  The Cstr 
is needed in vb.

  d


  On Fri, May 1, 2009 at 3:25 AM, Ton Sieverding <[email protected]> 
wrote:




    Hi Dingo,

    I know how to remove, add and even how to get a tickerlist using the Stocks 
object in the AmiBroker object model ...

    oStocks.Remove( Ticker );
    oStocks.Add( Ticker );

    But I do not know how to select a Ticker in the database. Should be 
something like ...

    oStocks.Select( Ticker );

    ... wrong. Method does not exist. Any idea ?

    Regards, Ton.


      ----- Original Message ----- 
      From: dingo 
      To: [email protected] 
      Sent: Thursday, April 30, 2009 5:44 PM
      Subject: Re: [amibroker] Erasing All List


      
http://www.amibroker.org/userkb/2008/01/05/deleting-tickers-and-composites/

      d


      On Thu, Apr 30, 2009 at 11:33 AM, burlap58 <[email protected]> wrote:

        Is there a way to erase or delete symbols from the All list other than 
one at a time. I erased the same symbols from the watchlist,but they are still 
in the All list. Thanks for any help, Lloyd



        ------------------------------------

        **** IMPORTANT PLEASE READ ****
        This group is for the discussion between users only.
        This is *NOT* technical support channel.

        TO GET TECHNICAL SUPPORT send an e-mail directly to
        SUPPORT {at} amibroker.com

        TO SUBMIT SUGGESTIONS please use FEEDBACK CENTER at
        http://www.amibroker.com/feedback/
        (submissions sent via other channels won't be considered)

        For NEW RELEASE ANNOUNCEMENTS and other news always check DEVLOG:
        http://www.amibroker.com/devlog/

        Yahoo! Groups Links















  

Reply via email to