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

RE: [amibroker] HHV OF an indicator



PureBytes Links

Trading Reference Links




<SPAN 
class=406330713-26072003>Ron,
when 
you run your scan choose to look only at the last day (n=1) of data. This will 
return only those stocks meeting your criteria as of the last bar...... So 
filter=hhv(h,4) when run on an exploration range of n=1 will return only stocks 
who meet the criteria of being the highest high value of high for the last 4 
days on your last bar
 
Regards, 
Jayson 
<FONT face=Tahoma 
size=2>-----Original Message-----From: mrdavis9 
[mailto:mrdavis9@xxxxxxxxxx]Sent: Saturday, July 26, 2003 1:13 
AMTo: dave cogburn; amibrokeryahoogroupsCc: jeff 
davisSubject: [amibroker] HHV OF an indicator
epintom 
said>><FONT face=Arial 
size=3>Condh=mycondition;                           
 how can I get the highest close of the 4 days preceeding 
my                              condition
 
 
William Peters 
said>> Is this what your after. 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
 
 
DT 
said>>William,         
epi asks the HHV(C,4)"preceeding his 
condition"         You obviously 
calculate something 
conditionless.          
DT
I want to create a scan that finds only those 
stocks where  the highest value of an indicator that  has 
occurred within in the past 60 days is actually occurring on the very day that I 
am running the scan.  This is my first attempt at using HHV in a 
scan.  I also want to run LLV scans in the same way.  I studied 
 a lot of these posts regarding HHV and LLV, but was not able 
to make such a scan.  
I learn new things best by having a 
working scan that does what I want.  Then by fine tuning it, I 
grow to understand it better.  
All responses will be appreciated.  Ron 
D      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.