PureBytes Links
Trading Reference Links
|
Yes, you could write it this way. This looks n bars into the future and
counts back from that bar to the next bar for the HHV/LLV value.
NextHigh = ref( HHV( H, n-1), n);
NextLow = ref( HHV( L, n-1), n);
Just remember that you are referencing future bars and this can lead to
erroneous backtesting results.
Cheers,
Graham
http://e-wire.net.au/~eb_kavan/
-----Original Message-----
From: jaykwok425 [mailto:jaykwok@xxxxxxxxxxx]
Sent: Wednesday, May 19, 2004 2:42 PM
To: amibroker@xxxxxxxxxxxxxxx
Subject: [amibroker] Help with Highest/Lowest Exploration
Hi,
I'm trying to write an exploration to return the highest high or
lowest low for the next "n" bars (the opposite of HHV/LLV). Is
there a function to do this?
Thanks.
j
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
Yahoo! Groups Links
------------------------ Yahoo! Groups Sponsor ---------------------~-->
Yahoo! Domains - Claim yours for only $14.70
http://us.click.yahoo.com/Z1wmxD/DREIAA/yQLSAA/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
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:
http://docs.yahoo.com/info/terms/
|