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

RE: [amibroker] Setting up favourites list



PureBytes Links

Trading Reference Links

Title: Message

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@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf Of Graham
Sent: Saturday, 12 May 2007 12:27 PM
To: amibroker@xxxxxxxxxxxxxxx
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 <david.smith5@xxxxxxxxxxxxxxx> 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
>
>
>
>

__._,_.___

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





SPONSORED LINKS
Investment management software Investment property software Investment software
Investment tracking software Return on investment software

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___