It's a counter supplied by AB for the set of tickers you are reading. The
first one will = 0 and so on.

It's a way for you to identify the very first ticker and therefore be able
to do some one-time stuff at the beginning of the run and do it only once.

d 

> -----Original Message-----
> From: [email protected] 
> [mailto:[EMAIL PROTECTED] On Behalf Of murthysuresh
> Sent: Tuesday, September 04, 2007 2:27 PM
> To: [email protected]
> Subject: [amibroker] Re: pl clarify what stocknum == 0
> 
> What symbol is stocknum with status = 0. Is is a default symbol that 
> is never used by my scan except first time?
> 
> 
> --- In [email protected], "dingo" <[EMAIL PROTECTED]> wrote:
> >
> > What guarantees it? The definition of Status("Stocknum").
> > 
> > d 
> > 
> > > -----Original Message-----
> > > From: [email protected] 
> > > [mailto:[EMAIL PROTECTED] On Behalf Of murthysuresh
> > > Sent: Tuesday, September 04, 2007 9:19 AM
> > > To: [email protected]
> > > Subject: [amibroker] pl clarify what stocknum == 0
> > > 
> > > I am trying to understand the logic behind this watchlist cleanup 
> > > routine. what is this symbol that has Status("stocknum") == 0
> > > 
> > > what guarantees that it will be true only for the first time 
> > > during the 
> > > exploration?
> > >  
> > > 
> > > // clean up watchlists before starting
> > > if( s = Status("stocknum") == 0 )
> > > {
> > > wlnumber = CategoryFind("wlUsualSuspectsLongFilter", 
> > > categoryWatchlist ); 
> > > List = CategoryGetSymbols (categoryWatchlist, wlnumber);
> > >   for(i = 0; (Symbol = StrExtract(List, i)) != ""; i++)
> > >           {
> > >                   CategoryRemoveSymbol (Symbol, 
> > > categoryWatchlist, wlnumber);
> > >   }
> > > }
> > > 
> > > 
> > > 
> > > 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
> > > 
> > > 
> > > 
> > >
> >
> 
> 
> 
> 
> 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