if(LastValue(Filter))
CategoryAddSymbol( "", categoryWatchlist, WLN );




umrperumal wrote:
Mr Dingo, Thanks for your reply.
How to modify the last line?  Is it ok if I delete "HighVolStocks"?
Should I put the names of all the tickers in its place? Sorry if it is a silly question. Can u modify the code pl

Regards

perumal








--- In [email protected], "dingo" <[EMAIL PROTECTED]> wrote:
You're adding "HighVolStocks" which is not a ticker.

d
-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of umrperumal
Sent: Sunday, June 15, 2008 11:45 PM
To: [email protected]
Subject: [amibroker] How to save to WatchList from Analysis Exploration


Hi knowledgeable members,

I want to save the results of the following exploration to watch list. But when I run the exploration, I get the results
displayed
in the AA window, but it is not saved to the watch list.

Can any one say what is the mistake in the following code?

WLN = 10 ;     // Watch List number
        
AvgVolume = MA(V,50) ;
AvgValue  = (AvgVolume * C) / 10000000 ;

AddColumn(AvgValue, "AvgValue",1.2) ;
Filter = AvgValue > 250 ;

if(LastValue(Filter))
CategoryAddSymbol( "HighVolStocks", categoryWatchlist, WLN );

With advance thanks

perumal


------------------------------------

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



No virus found in this incoming message.
Checked by AVG. Version: 8.0.100 / Virus Database: 270.3.0/1503 - Release Date: 6/14/2008 6:02 PM




------------------------------------

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