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

Re: [amibroker] loop



PureBytes Links

Trading Reference Links

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 <thecoolestdude1369@xxxxxxxxx> 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
>
>
>
>

Content-Description: "AVG certification"
No virus found in this incoming message.
Checked by AVG Free Edition.
Version: 7.5.432 / Virus Database: 268.16.9/622 - Release Date: 1/10/2007 2:52 PM