Brian,
It doesn’t erase the contents at
once. It removes each symbol in the Watchlist. I’ve been using this for
months.
In your case, it would be CategoryRemoveSymbol("",
categoryWatchlist, 63);
Regards,
Dan.
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Brian
Sent: Tuesday, March 14, 2006 9:56
PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Re:
Automating AA results handling (w/o Batman)
Dan -- Thanks, though I tried
this earlier today actually and I am
running into the same issue... the
CategoryRemoveSymbol (added to
the top of a few hundred lines of code) does not
erase the contents
of the watchlist. CategoryAddSymbol then appends
the new ticker
symbols to the existing watchlist (#63) ticker
symbols.
I remember having a small _javascript_ a couple of
years ago that did
all of this without much problem, but I lost the
thing -- that was
two PCs ago.
Thanks,
Brian
--- In amibroker@xxxxxxxxxxxxxxx,
"Dan Clark" <dan_public@xxx> wrote:
>
> Brian,
>
>
>
> Add this at the top:
>
>
>
> CategoryRemoveSymbol("",
categoryWatchlist, 1); //Watchlist = 1
>
> .
>
>
>
> //Some criteria code
>
>
>
> .
>
>
>
> //Add Symbols to Watchlist 1
>
> if (bCriteriaIsMet)
>
>
CategoryAddSymbol( "" , categoryWatchlist, 1); //Watchlist = 1
>
>
>
>
>
>
>
>
>
> _____
>
> From: amibroker@xxxxxxxxxxxxxxx
[mailto:amibroker@xxxxxxxxxxxxxxx]
On Behalf
> Of Brian
> Sent: Tuesday, March 14, 2006 8:17 PM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] Automating AA results
handling (w/o Batman)
>
>
>
> I used to have a small script that would
automatically take
> exploration results and put them in a
specific watchlist. I have
> looked at Batman but I think that might be
overkill for what I
need.
> Only other functionality that would be nice
is such a script would
be
> to automatically delete the contents of the
watchlist prior to
> repopulating it.
>
> Anyone got this script handy? Mine got lost
in the shuffle awhile
back.
>
> Thanks in advance!
>
> Brian
>
>
>
>
>
> 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
>
>
>
>
>
>
> SPONSORED LINKS
>
>
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+management+software&w1=Inves
>
tment+management+software&w2=Real+estate+investment+software&w3=Inves
tment+p
>
roperty+software&w4=Software+support&w5=Real+estate+investment+analys
is+soft
>
ware&w6=Investment+software&c=6&s=200&.sig=_XXUzbE9l5lGlZNcMu4KNQ>
> management software
>
> Real
> <http://groups.yahoo.com/gads?
t=ms&k=Real+estate+investment+software&w1=Inve
>
stment+management+software&w2=Real+estate+investment+software&w3=Inve
stment+
>
property+software&w4=Software+support&w5=Real+estate+investment+analy
sis+sof
>
tware&w6=Investment+software&c=6&s=200&.sig=5_sgDczz3ArKGMtJ9tFSJA>
estate
> investment software
>
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+property+software&w1=Investm
>
ent+management+software&w2=Real+estate+investment+software&w3=Investm
ent+pro
>
perty+software&w4=Software+support&w5=Real+estate+investment+analysis
+softwa
>
re&w6=Investment+software&c=6&s=200&.sig=_N6zcwefgp4eg5n6oX5WZw>
property
> software
>
>
> Software
> <http://groups.yahoo.com/gads?
t=ms&k=Software+support&w1=Investment+manageme
>
nt+software&w2=Real+estate+investment+software&w3=Investment+property
+softwa
>
re&w4=Software+support&w5=Real+estate+investment+analysis+software&w6
=Invest
>
ment+software&c=6&s=200&.sig=MJ2jP31F3n64RDZkDadU8w>
support
>
> Real
> <http://groups.yahoo.com/gads?
t=ms&k=Real+estate+investment+analysis+softwar
>
e&w1=Investment+management+software&w2=Real+estate+investment+softwar
e&w3=In
>
vestment+property+software&w4=Software+support&w5=Real+estate+investm
ent+ana
>
lysis+software&w6=Investment+software&c=6&s=200&.sig=GmF8PlAJASx0wrSa
X5-Zlw>
> estate investment analysis software
>
> Investment
> <http://groups.yahoo.com/gads?
t=ms&k=Investment+software&w1=Investment+manag
>
ement+software&w2=Real+estate+investment+software&w3=Investment+prope
rty+sof
>
tware&w4=Software+support&w5=Real+estate+investment+analysis+software
&w6=Inv
>
estment+software&c=6&s=200&.sig=aMgGsKT4w29dMAYUzQUKzg>
software
>
>
>
> _____
>
> YAHOO! GROUPS LINKS
>
>
>
> * Visit your
group "amibroker
> <http://groups.yahoo.com/group/amibroker>
" on the web.
>
> * To
unsubscribe from this group, send an email to:
> amibroker-unsubscribe@xxxxxxxxxxxxxxx
>
<mailto:amibroker-unsubscribe@xxxxxxxxxxxxxxx?subject=Unsubscribe>
>
> * Your use of
Yahoo! Groups is subject to the Yahoo!
> <http://docs.yahoo.com/info/terms/>
Terms of Service.
>
>
>
> _____
>
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
SPONSORED LINKS
YAHOO! GROUPS LINKS