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

[amibroker] Re: With style, please...



PureBytes Links

Trading Reference Links

gillesdeprez,

Use Sum() method...

Filter = CondA AND Sum(CondB, 5) > 0;

Jitu

--- In amibroker@xxxxxxxxxxxxxxx, "gillesdeprez" <gillesdeprez@xxxx> 
wrote:
> Hi group!
> I'm trying to refine my AFL skills...
> How could I write this:
> I want a filter as:
> Cond A must occur today
> Cond B must have occured ,or today, or in any of the five previous 
> days.
> I'm trying to avoid the ref-1...-5, it's definitely heavy!
> Any thoughts? 
> TIA,
> Gilles


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Rent DVDs from home.
Over 14,500 titles. Free Shipping
& No Late Fees. Try Netflix for FREE!
http://us.click.yahoo.com/I3w.vC/hP.FAA/3jkFAA/GHeqlB/TM
---------------------------------------------------------------------~->

Send BUG REPORTS to bugs@xxxxxxxxxxxxx
Send SUGGESTIONS to suggest@xxxxxxxxxxxxx
-----------------------------------------
Post AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx 
(Web page: http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html 

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