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

[amibroker] HHV function



PureBytes Links

Trading Reference Links




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

Price_PriorPeak1 = HHV(<FONT 
color=#0000ff>Ref(High,-Peak1_Bars+<FONT 
color=#ff00ff>2),<FONT face="Courier New" 
color=#ff00ff>1);
Price_PriorPeak2 = HHV(<FONT 
color=#0000ff>Ref(High,-Peak1_Bars+<FONT 
color=#ff00ff>2),5);
The first line seems to work ok, when I specify a range of one 
day,
but the second line has a range of 5 days and retuns incorrect 
results!!!
 
Anyone see a problem?
Thanks
Ara<FONT 
size=1>






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.