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

[amibroker] Fw: sar atr



PureBytes Links

Trading Reference Links




 
Hello,
 
Just use SUM()
 

condition1= CCI() > 100;
condition2= CCI() < 100 and SUM(cci() 
>100,10) >=1;
Best regards,Tomasz 
Janeczkoamibroker.com
<BLOCKQUOTE 
>
  ----- Original Message ----- 
  <DIV 
  >From: 
  Padhu 
  To: <A 
  title=amibroker-afl@xxxxxxxxxxxxxxx 
  href="">amibroker-afl@xxxxxxxxxxxxxxx 
  
  Cc: <A title=amibroker@xxxxxxxxxxxxxxx 
  href="">amibroker@xxxxxxxxxxxxxxx 
  Sent: Wednesday, March 24, 2004 7:01 
  AM
  Subject: [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 <A 
  href="">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 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.