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

Re: [amibroker] programming 101A



PureBytes Links

Trading Reference Links

At 09:08 PM 5/17/2003 -0400, you wrote:

Are you trying to count a condition within a specific date range....?

As it is... the formula is counting the number of times that the condition
has occured in the entire
Data history....

-------Original Message-------

From: amibroker@xxxxxxxxxxxxxxx
Date: Saturday, May 17, 2003 8:57:35 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: Re: [amibroker] programming 101A

At 08:34 PM 5/17/2003 -0400, you wrote:

>Sid,
>
>x=Cross(C,MA(C,28));//simple condition
>Counter=Cum(x);
>Filter=1;
>AddColumn(Counter,"",1);
>
>Is this a start...Does it help
>
>Anthony


counter = cum(x)  was one of the first things I tried.  On the very first
line of the debug exploration I was getting counter values of 117 with my
logic, which made no sense to me at all as it should have been counter = 1
about 6 lines down in the exploration output.


???
Sid

Yahoo! Groups Sponsor



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/)>http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: 
<http://groups.yahoo.com/group/amibroker/files/groupfaq>http://groups.yahoo.com/group/amibroker/files/groupfaq
html

Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



Yahoo! Groups Sponsor
ADVERTISEMENT
<http://rd.yahoo.com/M=249234.3060939.4604672.1261774/D=egroupweb/S=1705632198:HM/A=1588299/R=0/*http://entk.net/a/4749/b/66/c/303/d/1/e/897?lineid=3060939>4f8619d.jpg
4f86249.jpg

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/)>http://groups.yahoo.com/group/amiquote/messages/)
--------------------------------------------
Check group FAQ at: 
<http://groups.yahoo.com/group/amibroker/files/groupfaq.html>http://groups.yahoo.com/group/amibroker/files/groupfaq.html 


Your use of Yahoo! Groups is subject to the 
<http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
---
Incoming mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003





---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).

Attachment: Description: ""

Attachment: Description: "Version: 6.0.481 / Virus Database: 277 - Release Date: 5/13/2003"