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

[amibroker] Re: HHV OF an indicator



PureBytes Links

Trading Reference Links

for simplicity sake I am taking your indicator to be rsi
x=rsi(14)==hhv(rsi(14),60);

see if that works


--- In amibroker@xxxxxxxxxxxxxxx, "Jayson" <jcasavant@xxxx> wrote:
> 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
> -----Original Message-----
> From: mrdavis9 [mailto:mrdavis9@x...]
> Sent: Saturday, July 26, 2003 1:13 AM
> To: dave cogburn; amibrokeryahoogroups
> Cc: jeff davis
> Subject: [amibroker] HHV OF an indicator
> 
> 
> epintom said>>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
> 
> 
> 
> 
> 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 the Yahoo! Terms of Service.


------------------------ Yahoo! Groups Sponsor ---------------------~-->
Free shipping on all inkjet cartridge & refill kit orders to US & Canada. Low prices up to 80% off. We have your brand: HP, Epson, Lexmark & more.
http://www.c1tracking.com/l.asp?cid=5510
http://us.click.yahoo.com/GHXcIA/n.WGAA/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/