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

[amibroker] AmiQuote and Canadian mutual funds



PureBytes Links

Trading Reference Links




<FONT face=Arial color=#0000ff 
size=2>Padhu,
Since 
cond1 returns either a 1(true) or 0(false) you could use sum to find if  
sum(cond1,10)  equals the number of days you seek.
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: Padhu 
[mailto:ccie8340@xxxxxxxxx]Sent: Wednesday, March 24, 2004 1:02 
AMTo: amibroker-afl@xxxxxxxxxxxxxxxCc: 
amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] AFL for count 
check
Hello Folks,
 
I just reviwed the AFL function reference library 
and unable to see which one would help me with the below 
requirement.
 
condition1= CCI > 100;
condition2= CCI < 100 and countof(cci 
>100,10) >=1.
 
In other words I would like to findout if CCI was 
above 100 ATLEAST once in the past 10 bars AND now CCI < 100.
 
Appreciate any ideas.
 
Thanks.
 
Cheers,PadhuSend BUG 
REPORTS to bugs@xxxxxxxxxxxxxSend SUGGESTIONS to 
suggest@xxxxxxxxxxxxx-----------------------------------------Post 
AmiQuote-related messages ONLY to: amiquote@xxxxxxxxxxxxxxx (Web page: <A 
href="">http://groups.yahoo.com/group/amiquote/messages/)--------------------------------------------Check 
group FAQ at: <A 
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html 



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








Yahoo! Groups Sponsor


  ADVERTISEMENT 












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 the Yahoo! Terms of Service.