Thanks Graham. Using the help on the fuction, I was thinking of something like this:
function CreateFavouritefromWatchList( listnum ) { // retrive comma-separated list of symbols in watch list list = CategoryGetSymbols( categoryWatchlist, listnum ); Average = 0; // just in case there are no watch list members for( i = 0; ( sym = StrExtract( list, i ) ) != ""; i++ ) { CategoryAddSymbol(sym,categoryFavorite,0); } } But now for a dumb question ( I am not a good programmer), how do I acutally run this code? I tried exploring or dropping as an indicator but it doesn't do anything. What do I do to run such code. Dave -----Original Message----- From: amibroker@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Graham Sent: Saturday, 12 May 2007 12:27 PM To: amibroker@yahoogroups.com Subject: Re: [amibroker] Setting up favourites list you could try running categoryaddsymbol in analysis -- Cheers Graham AB-Write >< Professional AFL Writing Service Yes, I write AFL code to your requirements http://www.aflwriting.com On 12/05/07, David <[EMAIL PROTECTED]> wrote: > Hi, does anyone know if is there a way to import one of the watchlists > to the favorites folder? > > Cheers, Dave > > > > 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 > > > >