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

[amibroker] Re: AFL question



PureBytes Links

Trading Reference Links

William,
epi asks the HHV(C,4)"preceeding his condition"
You obviously calculate something conditionless.
DT

--- In amibroker@xxxxxxxxxxxxxxx, "William Peters" 
<williampeters@xxxx> wrote:
> 
> Is this what your after.
> 
> 
> /* Created using PowerScan, date: 13 Jun 2003
> The Close Price is the highest it has been for the previous 4 bars 
*/
> 
> Filter = LastValue( Ref( HHV( Close, 4 ), -1 ) ) < Close;
> AddColumn( Close, "Close  " );
> AddColumn( Open, "Open  " );
> AddColumn( High, "High  " );
> AddColumn( Low, "Low  " );
> AddColumn( Volume, "Volume      " );
> 
> 
> Regards,
> William Peters
> 
> PowerScan: www.amitools.com
> 
> 
> 
> 
> -----Original Message-----
> From: epintoem [mailto:epintoem@x...]
> Sent: Friday June 13, 2003 6:35 AM
> To: amibroker@xxxxxxxxxxxxxxx
> Subject: [amibroker] AFL question
> 
> 
> Condh=mycondition;
> how can I get the highest close of the 4 days preceeding my 
condition?
> 
> TIA
> 
> 
> 
> Send BUG REPORTS to bugs@xxxx
> Send SUGGESTIONS to suggest@xxxx
> -----------------------------------------
> 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/