After specifying the condition that assigns the
symbol to the watch list (e.g., condition = cross(two moving averages)) use
something like if(lastvalue(condition), categoryaddsymbol(name(),
categorywatchlist, number) to place the symbol in the watchlist. You
probably also want to clear the watch list before entering new symbols which can
be done by looping through the watch list numbers and applying
categoryremovesymbol() to each watch list.
Bill
----- Original Message -----
Sent: Monday, May 05, 2008 6:24 PM
Subject: [amibroker] filtering based on
close price
Hi all,
Just setting up my watchlists. I would
like to set some up based on closing price bands, but am unsure how to do
so without manually entering in each code within a band.
Is there a
better way to do
this?
Cheers,
Museleading
------------------------------------
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/
--
No virus found in this incoming message. Checked by AVG. Version:
7.5.524 / Virus Database: 269.23.9/1418 - Release Date: 5/6/2008 5:17
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
__,_._,___
|