PureBytes Links
Trading Reference Links
|
<FONT face=Arial color=#0000ff
size=2>Nick,
If
today's H is greater than the HHV then by design it becomes the NEW HHV. Since
the h cannot be higher than the HHV value you can instead look for
<FONT face=Arial color=#0000ff
size=2>
<FONT face=Arial color=#0000ff
size=2>h>ref(hhv(period),-1)
Regards,Jayson
<FONT face=Tahoma
size=2>-----Original Message-----From: nsundby
[mailto:nick@xxxxxxxxxxxxxxxxxxxx]Sent: Thursday, July 01, 2004
10:04 AMTo: amibroker@xxxxxxxxxxxxxxxSubject:
[amibroker] Newbie needs help with HHVHI,I
want to test if the current bar has a higher high than the highs of the
preceding n bars. However HHV includes the current bar, so testing if
H>HHV(H,period) doesn't work.How should I do it?Many
thanksNickCheck AmiBroker web page at:<A
href="">http://www.amibroker.com/Check
group FAQ at: <A
href="">http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Check AmiBroker web page at:
http://www.amibroker.com/
Check group FAQ at: http://groups.yahoo.com/group/amibroker/files/groupfaq.html
Yahoo! Groups Sponsor
ADVERTISEMENT
Yahoo! Groups Links
To visit your group on the web, go to:http://groups.yahoo.com/group/amibroker/
To unsubscribe from this group, send an email to:amibroker-unsubscribe@xxxxxxxxxxxxxxx
Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
|