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

RE: [amibroker] Re: Average: barssince, cum(1), sum ??



PureBytes Links

Trading Reference Links




There 
is 
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>totbar=sum(ppo>0.015,250);
<FONT face=Arial color=#0000ff 
size=2> 
<FONT face=Arial color=#0000ff 
size=2>ppo>0.015 will return either true (1) or false (0) summing that value 
over 250 days will tell you the number of true occurrences
<FONT face=Arial color=#0000ff 
size=2> 
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: lunarsoninc 
[mailto:lunarsoninc@xxxxxxxx]Sent: Saturday, December 06, 2003 9:22 
AMTo: amibroker@xxxxxxxxxxxxxxxSubject: [amibroker] Re: 
Average: barssince, cum(1), sum ??I'm getting an empty 
graph when I try your formula John.Me and Donna have been working on 
this the past few days,it'd be so much easier if there were a command that 
wouldgive the number of bars in the past X days that meet a certain 
condition... If you know what I mean. Something liketotbar = 
(250,ppo>0.15)Send 
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 
Your use of Yahoo! Groups is subject to the <A 
href="">Yahoo! Terms of Service. 







Yahoo! Groups Sponsor


  ADVERTISEMENT 









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