PureBytes Links
Trading Reference Links
|
Try using:
HighValue = Ref(HHV(High,10),-5);
This will return the highst value in the 10 bar range starting 5 bars ago
----- Original Message -----
From: "ixeta" <ghaponek@xxxxxxx>
To: <amibroker@xxxxxxxxxxxxxxx>
Sent: Wednesday, March 03, 2004 9:25 PM
Subject: [amibroker] HHV and LLV
> Can these functions be used to return the highest or lowest values
> of a lagged range that does not begin with the current bar? For
> example, can the highest or lowest value beginning with the lag 5
> and ending with the lag 15 range be returned, rather than the
> current value through lag 15?
>
> Also, I would like to assign the value of a price at a specific bar
> to a variable, at the time or bar that a condition is met. Actually
> I would like this value to be a constant as I want to use it as a
> reference at successive bars to validate the condition. In other
> words I need it to become a constant and not take on any new values
> until the test for the condition fails, or the position is changed.
> From my limited exposure so far with AFL it looks as though merely
> assigning the value to a variable will result in the value changing
> with time. Can some one advise if this is the case?
>
> Thanks for your help in advance.
> Glen
>
>
>
>
> 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 ---------------------~-->
Buy Ink Cartridges or Refill Kits for your HP, Epson, Canon or Lexmark
Printer at MyInks.com. Free s/h on orders $50 or more to the US & Canada.
http://www.c1tracking.com/l.asp?cid=5511
http://us.click.yahoo.com/mOAaAA/3exGAA/qnsNAA/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/
|