| 
 PureBytes Links 
Trading Reference Links 
 | 
See coments below:
At 11:57 PM 7/2/03 +0000, you wrote:
>i am still new to this and trying to figure out the AFL. could 
>somebody help with a formula that would give me:
>-stocks with 3-25 price range, daily vol min 500000
>-new close high for the last 20 days
>
>the one I use(and not working) is;
>
>X = 20; // number of days 
>
>NewHigh = HHV( Close, X ) == Close ; // today's close is a new 
>closing high for the preceding number of days
reset this to:
NewHigh = HHV(Close,X);// Identify new high
>
>F2 = Close > 3;
>F3 = Close < 25;
>F4 = Volume > 500000; 
>Filter = NewHigh AND F2 AND F3 AND F4; //filter for all 4 conditions
Filter = C > ref(NewHigh,-1) and F2 and F3 and F4;// Compare today's close
with the highest high yesterday.  Your formula assigned NewHigh to today's
close in ALL situations.
>
>AddColumn( Close, "Close" ); 
>
>AddColumn( Volume, "Volume" );
>
>
>
>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/ 
> 
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Get A Free Psychic Reading! Your Online Answer To Life's Important Questions.
http://us.click.yahoo.com/Lj3uPC/Me7FAA/ySSFAA/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/ 
 
 |