PureBytes Links
Trading Reference Links
|
Hi DIMITRIS,
My last response before I go out the door, or I'll never get up to
the top of the mountain today. ^_^
Thursday, September 23, 2004, 4:10:29 AM, you wrote:
DT> Yuki, As we have already discussed in the past, conditions are
DT> binary, equal to 1 [when true] and 0 [when false]. Cond1 =
DT> whatever; Cond2 = wherever; Cond3 = whomever; Cond4 = however;
DT> filter = Cond1+Cond2+Cond3+Cond4==3;
DT> is equivalent to your " *any* 3 of the 4 above to be true ".
DT> The sum will be
DT> 1+1+1+0 or
DT> 1+1+0+1 or
DT> 1+0+1+1 or
DT> 0+1+1+1, in other words always equal to 3.
This is the type of compactness I was looking for, but 4 true would
also be good of course, so I assume:
filter = Cond1+Cond2+Cond3+Cond4 >= 3;
is okay, too? (I should not want to filter out either 3 or 4.)
Yuki
------------------------ Yahoo! Groups Sponsor --------------------~-->
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/GHeqlB/TM
--------------------------------------------------------------------~->
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/amibroker/
<*> 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/
|