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

RE: [amibroker] HHV function



PureBytes Links

Trading Reference Links










How are you calculating the Prior_Peaks and  Peak_bars



<font size=3 color=teal
face="Times New Roman">Cheers,
Graham

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/ASXShareTrading

<font size=2
color="#339966" face="Times New Roman"><font
color="#339966">http://groups.msn.com/FMSAustralia



<span
>-----Original Message-----
From: Ara Kaloustian
[mailto:ara1@xxxxxxxxxx] 
Sent: Saturday, 3 May 2003 10:37
AM
To: Amibroker
Subject: [amibroker] HHV function

<font size=2
face="Times New Roman"> 



<span
>I am trying to locate the high value
of a range of bars with





<font size=2
face="Times New Roman"> 





<span
>Price_PriorPeak1 = <span
>HHV(Ref(<span
>High,-Peak1_Bars+<span
>2),<font size=3
color=fuchsia face="Courier New">1<span
>);

<span
>Price_PriorPeak2 = <span
>HHV(Ref(<span
>High,-Peak1_Bars+<span
>2),<span
>5);

<span
>The first line seems to work ok, when I specify a
range of one day,

<span
>but the second line has a range of 5 days and retuns
incorrect results!!!

<span
> 

Anyone see a problem?

Thanks

Ara



<font size=2
face="Times New Roman">



Send
BUG REPORTS to bugs@xxxxxxxxxxxxx<span
>
Send 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












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.