You can do this in normal functions
condition = sum(L>ref(C,-1),20)>=5;
--
Cheers
Graham
AB-Write >< Professional AFL Writing Service
Yes, I write AFL code to your requirements
http://www.aflwriting.com
On 11/01/07, thecoolestdude1369 <[EMAIL PROTECTED]> wrote:
i've got the loop part to have ab look back the last 20 days but don't
know how to set-up a seperate filter to only find only those stocks
that have 5 or more low > ref(c,-1) in the last 20 days. how do i
keep a seperate count?
thx
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