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

Re: [amibroker] programming 101A



PureBytes Links

Trading Reference Links

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/)
--------------------------------------------
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. 
 
 

------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/uetFAA/GHeqlB/TM
---------------------------------------------------------------------~->

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 http://docs.yahoo.com/info/terms/