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

[amibroker] HHV OF an indicator



PureBytes Links

Trading Reference Links




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      






Yahoo! Groups Sponsor


ADVERTISEMENT
<img
src="" width=300 height=250 border=0>










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.