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

RE: [amibroker] Setting up favourites list



PureBytes Links

Trading Reference Links

Graham....

unreal, that was so simple.  I ended up running as below as the current beta
doesn't show watchlists in the pickdown menu over 255 (the data provider has
a lot more now).

Buy = InWatchList(1288);
CategoryAddSymbol("",categoryFavorite,0);
Thanks so much, that saved me reinstalling the last AB version.

Regards, Dave



-----Original Message-----
From: amibroker@xxxxxxxxxxxxxxx [mailto:amibroker@xxxxxxxxxxxxxxx] On Behalf
Of Graham
Sent: Saturday, 12 May 2007 3:04 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] Setting up favourites list


you could go simpler and run scan on the watchlist

buy =1;
CategoryAddSymbol("",categoryFavorite,0);



-- 
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 Smith <david.smith5@xxxxxxxxxxxxxxx> wrote:
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
 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/amibroker/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/amibroker/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:amibroker-digest@xxxxxxxxxxxxxxx 
    mailto:amibroker-fullfeatured@xxxxxxxxxxxxxxx

<*> To unsubscribe from this group, send an email to:
    amibroker-unsubscribe@xxxxxxxxxxxxxxx

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/